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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/subject-edit.html

  • Committer: William Grant
  • Date: 2009-03-26 10:03:48 UTC
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090326100348-fic4uns33g2rywix
Add ivle.date.format_datetime_for_paragraph, a nice readable date formatter.

It creates strings like 'today at 20:00', 'tomorrow at 09:43',
'10 minutes ago', 'in 3 seconds' and 'on 2009-03-26 at 21:06'.

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
 
      xmlns:xi="http://www.w3.org/2001/XInclude">
4
 
  <head>
5
 
    <title>Edit ${context.name}</title>
6
 
  </head>
7
 
  <body>
8
 
    <h1>Edit ${context.name}</h1>
9
 
    <div py:with="submit_button_label = 'Save'"
10
 
         id="ivle_padding">
11
 
      <xi:include href="subject-form.html" />
12
 
    </div>
13
 
  </body>
14
 
</html>