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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/project.html

Swap around some elements to make the OfferingProjectsView XHTML more valid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>${project.name} for ${project.project_set.offering.subject.name}</title>
 
5
  </head>
 
6
  <body>
 
7
    <h1>${project.name} for ${project.project_set.offering.subject.name}</h1>
 
8
    <div id="ivle_padding">
 
9
      <p>${project.synopsis}</p>
 
10
      <p>Submissions: ${len(submissions)}/${project.assesseds.count()}</p>
 
11
      <h3 py:if="len(submissions) > 0">Latest Submissions</h3>
 
12
      <py:for each="submission in submissions">
 
13
        <p>Submitted ${format_datetime_short(submission.date_submitted)} on behalf of <em>${submission.assessed.principal.display_name}</em> by <em>${submission.submitter.display_name}</em></p>
 
14
      </py:for>
 
15
    </div>
 
16
  </body>
 
17
</html>