Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gelencsér Szabolcs
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
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 %}
{% get_current_language as LANGUAGE_CODE %}
<div
class=
"boxes"
id=
"groups"
>
<div
class=
"contentblock"
>
<h2>
{% trans "My Groups" %}
</h2>
<div
class=
"content"
>
<ul
class=
"wm-list"
>
{% if groups %}
{% for group in groups %}
<li
class=
"wm"
>
<div
class=
"summary"
>
<div
class=
"name"
>
{{ group.name }}
</div>
<div
class=
"clear"
></div>
</div>
<div
class=
"details"
>
<ul>
<li>
asd
</li>
</ul>
</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"
>
Új csoport felvétele
</div>
<div
class=
"clear"
></div>
</div>
</li>
</ul>
</div>
</div>
</div>
{% load i18n %}
{% get_current_language as LANGUAGE_CODE %}
<div
class=
"boxes"
id=
"groups"
>
<div
class=
"contentblock"
>
<h2>
{% trans "My Groups" %}
</h2>
<div
class=
"content"
>
<ul
class=
"wm-list"
>
{% if groups %}
{% for group in groups %}
<li
class=
"wm"
>
<div
class=
"summary"
>
<div
class=
"name"
>
{{ group.name }}
</div>
<div
class=
"clear"
></div>
</div>
<div
class=
"details"
>
<ul>
<li>
{% trans "Course" %}:
<span
class=
"value"
>
{% if group.course %}
{{group.course.name}}
{% else %}
{% trans "Not assigned" %}
{% endif %}
</span>
</li>
<li>
{% trans "Semester" %}:
<span
class=
"value"
>
{{group.semester.name}}
</span>
</li>
<li>
{% trans "Owner(s)" %}:
<span
class=
"value"
>
{{group.owner_list}}
</span>
</li>
<li>
{% trans "Member count" %}:
<span
class=
"value"
>
{{group.member_count}}
</span>
</li>
<li>
<span
class=
"value"
><a
href=
"/group/show/{{group.id}}"
>
{% trans "More details" %}
</a></span>
</li>
</ul>
</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