~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/groups/template.html

MergedĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
    <title>Groups</title>
5
5
  </head>
6
6
  <body>
 
7
    <h1>Project Groups</h1>
7
8
    <div id="ivle_padding">
8
 
      <p py:if="not enrolments">Error: You are not currently enrolled in any subjects.</p>
 
9
      <p py:if="enrolments.count() == 0">Error: You are not currently enrolled in any subjects.</p>
9
10
      <py:for each="enrolment in enrolments">
10
11
        <div id="subject${enrolment.offering.id}" class="subject">
11
 
          <h1>${enrolment.offering.subject.name}</h1>
 
12
          <h2>${enrolment.offering.subject.name}</h2>
12
13
          <py:for each="group in get_user_groups(enrolment.offering)">
13
 
            <h2>${group.nick} (${group.name})</h2>
 
14
            <h3>${group.nick} (${group.name})</h3>
14
15
            <!-- Need proper test (for invite/membership). -->
15
16
            <!-- <py:choose test="group">
16
17
              <py:when test="True"> -->
28
29
                </p>
29
30
              </py:otherwise>
30
31
            </py:choose>-->
31
 
            <h3>Members</h3>
 
32
            <h4>Members</h4>
32
33
            <ul>
33
34
              <py:for each="member in group.members">
34
35
                <li>${member.fullname} (${member.login})</li>
39
40
      </py:for>
40
41
      <py:if test="manage_subjects">
41
42
        <hr />
42
 
        <h1>Group Administration</h1>
 
43
        <h2>Group Administration</h2>
43
44
        <label for="subject_select">Subject:</label>
44
45
        <select id="subject_select">
45
46
          <py:for each="subject in manage_subjects">