pytask/templates/templatetags/_as_modification_display.html
author Madhusudan.C.S <madhusudancs@gmail.com>
Thu, 20 Jan 2011 17:42:46 +0530
changeset 498 9f04b7bcc333
permissions -rw-r--r--
Add a new templatetag to render modified on and by line in documents. Add the necessary div tags, html templates, templatetag function and the CSS to give necessary layout and styling.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
498
9f04b7bcc333 Add a new templatetag to render modified on and by line in documents.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
<div id="modification">
9f04b7bcc333 Add a new templatetag to render modified on and by line in documents.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
  Created on {{ modification_datetime|date:"r" }} by
9f04b7bcc333 Add a new templatetag to render modified on and by line in documents.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
  <a href="{% url view_user_profile user.id %}">
9f04b7bcc333 Add a new templatetag to render modified on and by line in documents.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
    {{ user.get_profile.full_name }}
9f04b7bcc333 Add a new templatetag to render modified on and by line in documents.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
  </a>
9f04b7bcc333 Add a new templatetag to render modified on and by line in documents.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
</div>