Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ea9e9231
authored
Feb 08, 2013
by
Dányi Bence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
webui: group list improved
parent
b2a6bcfe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
77 additions
and
46 deletions
+77
-46
one/templates/box-grouplist.html
+77
-46
No files found.
one/templates/box-grouplist.html
View file @
ea9e9231
{% load i18n %}
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
{% get_current_language as LANGUAGE_CODE %}
<div
class=
"boxes"
id=
"groups"
>
<div
class=
"boxes"
id=
"groups"
>
<div
class=
"contentblock"
>
<div
class=
"contentblock"
>
<h2>
<h2>
{% trans "My Groups" %}
{% trans "My Groups" %}
</h2>
</h2>
<div
class=
"content"
>
<div
class=
"content"
>
<ul
class=
"wm-list"
>
<ul
class=
"wm-list"
>
{% if groups %}
{% if groups %}
{% for group in groups %}
{% for group in groups %}
<li
class=
"wm"
>
<li
class=
"wm"
>
<div
class=
"summary"
>
<div
class=
"summary"
>
<div
class=
"name"
>
{{ group.name }}
</div>
<div
class=
"name"
>
{{ group.name }}
</div>
<div
class=
"clear"
></div>
<div
class=
"clear"
></div>
</div>
</div>
<div
class=
"details"
>
<div
class=
"details"
>
<ul>
<ul>
<li>
asd
</li>
<li>
</ul>
{% trans "Course" %}:
</div>
<span
class=
"value"
>
</li>
{% if group.course %}
{% endfor %}
{{group.course.name}}
{% else %}
{% else %}
<div
id=
"new-wm-tooltip"
>
{% trans "Not assigned" %}
<div
id=
"new-wm-tooltip-container"
>
{% endif %}
<p>
</span>
{% trans "You have no groups" %}
</li>
</p>
<li>
<p>
{% trans "Semester" %}:
{% trans "Create a new one, and add your students to the new group" %}
<span
class=
"value"
>
{{group.semester.name}}
</span>
</p>
</li>
<div
id=
"new-wm-tooltip-tail"
></div>
<li>
</div>
{% trans "Owner(s)" %}:
</div>
<span
class=
"value"
>
{{group.owner_list}}
</span>
{% endif %}
</li>
<li
class=
"wm"
id=
"new-group"
>
<li>
<div
class=
"summary"
>
{% trans "Member count" %}:
<div
class=
"name"
>
Új csoport felvétele
</div>
<span
class=
"value"
>
{{group.member_count}}
</span>
<div
class=
"clear"
></div>
</li>
</div>
<li>
</li>
</ul>
<span
class=
"value"
><a
href=
"/group/show/{{group.id}}"
>
{% trans "More details" %}
</a></span>
</div>
</li>
</div>
</ul>
</div>
</div>
</li>
{% endfor %}
{% else %}
<div
id=
"new-wm-tooltip"
>
<div
id=
"new-wm-tooltip-container"
>
<p>
{% trans "You have no groups" %}
</p>
<p>
{% trans "Create a new one, and add your students to the new group" %}
</p>
<div
id=
"new-wm-tooltip-tail"
></div>
</div>
</div>
{% endif %}
<li
class=
"wm"
id=
"new-group"
>
<div
class=
"summary"
>
<div
class=
"name"
>
{% trans "Create new group" %}
</div>
<div
class=
"clear"
></div>
</div>
<div
id=
"new-group-wizard"
style=
"display: none"
>
<h3>
{% trans "Create new group" %}
</h3>
<p>
<textarea
placeholder=
"{% trans 'Student NEPTUN codes, one per line' %}"
></textarea>
</p>
</div>
</li>
</ul>
</div>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment