diff options
| author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 23:59:27 +0100 |
|---|---|---|
| committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-03-21 23:59:27 +0100 |
| commit | b8cf790377a2ece768ea19bd1d216fdf0ee78cda (patch) | |
| tree | b72020ae9a2cee74a3060fc17495f445aa414e0e /ishtar_common/templates/ishtar/blocks/sheet_creation_section.html | |
| parent | 456b74ac295815970483871cf2575863bc97dd6f (diff) | |
| parent | 88fde9b54bd94e582fa4f8886463eda2e39ceb46 (diff) | |
| download | Ishtar-b8cf790377a2ece768ea19bd1d216fdf0ee78cda.tar.bz2 Ishtar-b8cf790377a2ece768ea19bd1d216fdf0ee78cda.zip | |
Merge branch 'v0.9' into wheezy
Diffstat (limited to 'ishtar_common/templates/ishtar/blocks/sheet_creation_section.html')
| -rw-r--r-- | ishtar_common/templates/ishtar/blocks/sheet_creation_section.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/sheet_creation_section.html b/ishtar_common/templates/ishtar/blocks/sheet_creation_section.html new file mode 100644 index 000000000..e6ce31c25 --- /dev/null +++ b/ishtar_common/templates/ishtar/blocks/sheet_creation_section.html @@ -0,0 +1,19 @@ +{% load i18n link_to_window %} +{% if item.history_creator.ishtaruser.person %} +<li><label>{% trans "Creation" context "Sheet" %}</label> + <span class='value'> + {{item.history_creator.ishtaruser.person}} + {{item.history_creator.ishtaruser.person|link_to_window}} <br/> + <small><em>{{item.history_creation_date|date:"DATETIME_FORMAT"}}</em></small> + </span> +</li> +{% endif %} +{% if item.history_creation_date != item.last_edition_date %} +<li><label>{% trans "Modification" context "Sheet" %}</label> + <span class='value'> + {{item.history_modifier.ishtaruser.person}} + {{item.history_modifier.ishtaruser.person|link_to_window}} <br/> + <small><em>{% firstof item.history_date|date:"DATETIME_FORMAT" item.history.all.0.history_date|date:"DATETIME_FORMAT" %}</em></small> + </span> +</li> +{% endif %} |
