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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2010-02-25 04:28:50 UTC
  • mfrom: (1716 trunk)
  • mto: This revision was merged to the branch mainline in revision 1731.
  • Revision ID: matt.giuca@gmail.com-20100225042850-pfue2xu7afhcflye
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  <body>
7
7
    <h1>Project set for ${projectset.offering.subject.name}</h1>
8
8
    <div id="ivle_padding">
 
9
      <py:if test="not projectset.is_group">
 
10
      <p>This set contains solo projects</p>
 
11
      </py:if>
9
12
      <p>Projects in this set:</p>
10
 
      <ul>
11
 
        <li py:for="project in projectset.projects">
12
 
          <a href="${req.publisher.generate(project)}">${project.name}</a>
13
 
        </li>
14
 
      </ul>
 
13
      <table class="pretty_table">
 
14
        <tr><th>Name</th><th>Actions</th></tr>
 
15
        <tr py:for="project in projectset.projects">
 
16
          <td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
 
17
          <td></td>
 
18
        </tr>
 
19
      </table>
 
20
      <py:if test="projectset.is_group">
15
21
      <p>Groups in this set:</p>
16
 
      <ul>
17
 
        <li py:for="group in projectset.project_groups"
 
22
      <table class="pretty_table">
 
23
        <tr><th>Name</th><th>Actions</th></tr>
 
24
        <tr py:for="group in projectset.project_groups"
18
25
            id="project_group_${group.id}">
19
 
          ${group.name}
20
 
          <a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
 
26
          <td>${group.name}</td>
 
27
          <td><a onclick="manage_group(${projectset.offering.id}, ${group.id} ,'project_group_${group.id}')"
21
28
             class="choice"
22
29
             id="project_group_${group.id}_button">
23
 
            (manage)
24
 
          </a>
25
 
        </li>
26
 
        <li><input value="New" type="button" onclick="create_new_group(${projectset.id})" /></li>
27
 
      </ul>
 
30
            <img src="/+media/ivle.webapp.core/images/interface/group.png" alt="Manage" title="Manage" />
 
31
          </a></td>
 
32
        </tr>
 
33
      </table>
 
34
      <p><span class="addaction">
 
35
        <input value="Add a new group" type="button" onclick="create_new_group(${projectset.id})" />
 
36
      </span></p>
 
37
      </py:if>
28
38
    </div>
29
39
  </body>
30
40
</html>