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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/project.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.name} for ${project.project_set.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(project, ProjectEdit)}">
 
13
           Change details
 
14
        </a>
 
15
        <a py:if="'edit' in permissions"
 
16
           class="deleteaction"
 
17
           href="${req.publisher.generate(project, ProjectDelete)}">
 
18
           Delete project
 
19
        </a>
 
20
      </div>
9
21
      <a py:if="project.url not in (None, '')" href="${project.url}">${project.url}</a>
10
22
      <p>Deadline: ${format_datetime(project.deadline)}</p>
11
23
      <p>${project.synopsis}</p>