~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 08:26:04 UTC
  • mfrom: (1710.1.25 new-project-ui)
  • Revision ID: matt.giuca@gmail.com-20100225082604-0fku57vycn5cgonf
Replaced AJAX UI for project creation with a standard one. Can now edit project sets, and edit/delete projects. Also many more links to such things, due to the fact that they have their own URLs now. Fixes Launchpad bug #493942.

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
      <div class="contextactions">
 
10
        <a py:if="'edit' in permissions"
 
11
           class="editaction"
 
12
           href="${req.publisher.generate(projectset, ProjectSetEdit)}">
 
13
           Change details
 
14
        </a>
 
15
      </div>
9
16
      <py:if test="not projectset.is_group">
10
17
      <p>Non-group projects.</p>
11
18
      </py:if>
19
26
          <tbody>
20
27
            <tr py:for="project in projectset.projects">
21
28
              <td><a href="${req.publisher.generate(project)}">${project.name}</a></td>
22
 
              <td></td>
 
29
            <td><a href='${req.publisher.generate(project, ProjectEdit)}'><img
 
30
                  src='/+media/ivle.webapp.core/images/interface/pencil.png'
 
31
                  alt="Edit" title="Edit project" /></a>
 
32
                <a href='${req.publisher.generate(project, ProjectDelete)}'><img
 
33
                  src='/+media/ivle.webapp.core/images/interface/delete.png'
 
34
                  alt="Delete" title="Delete project" /></a>
 
35
            </td>
23
36
            </tr>
24
37
          </tbody>
25
38
        </table>
 
39
        <p><a class="addaction" href="${req.publisher.generate(projectset, ProjectNew)}">Add a new project</a></p>
26
40
      </div>
27
41
      <div py:if="projectset.is_group" class="majorsection">
28
42
        <h2>Groups</h2>