blob: f23561afa905082009fecba6ca3c77e55b7c9c22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
{% load i18n link_to_window %}
{% if not is_external %}
{% if item.history_creator.ishtaruser.person %}
<div class="col-12 col-md-6 col-lg-3 flex-wrap text-muted"
title="{% trans 'Creation' context 'Sheet' %}">
<i class="fa fa-plus-circle" aria-hidden="true"></i>
{{item.history_creator.ishtaruser.person}}
{{item.history_creator.ishtaruser.person|link_to_window:request}}<br/>
<small>{{item.created|date:"DATETIME_FORMAT"}}</small>
</div>
{% endif %}
{% if not item.last_edition_date or item.created != item.last_edition_date %}
<div class="col-12 col-md-6 col-lg-3 flex-wrap text-muted"
title="{% trans 'Modification' context 'Sheet' %}">
<i class="fa fa-pencil" aria-hidden="true"></i>
{{item.history_modifier.ishtaruser.person}}
{{item.history_modifier.ishtaruser.person|link_to_window:request}}<br/>
<small>{% firstof item.history_date|date:"DATETIME_FORMAT" item.history.all.0.history_date|date:"DATETIME_FORMAT" %}</small>
</div>
{% endif %}
{% if get_import_list %}
<dl class="col-12 col-md-6 col-lg-3 flex-wrap">
<dt>{% trans "Imports (creation)" %}</dt>
<dd>{% for imprt in get_import_list %}{% if forloop.counter0 %} ; {% endif %}
{% if imprt.get_show_url %}<a class="display_details" href="#" onclick="load_window('{{ imprt.get_show_url }}')">
<i class="fa fa-info-circle" aria-hidden="true"></i>
</a>{% endif %} {{imprt}}{% endfor %}</dd>
</dl>
{% endif %}
{% if get_import_updated %}
<dl class="col-12 col-md-6 col-lg-3 flex-wrap">
<dt>{% trans "Imports (update)" %}</dt>
<dd>{% for imprt in get_import_updated %}{% if forloop.counter0 %} ; {% endif %}
{% if imprt.get_show_url %}<a class="display_details" href="#" onclick="load_window('{{ imprt.get_show_url }}')">
<i class="fa fa-info-circle" aria-hidden="true"></i>
</a>{% endif %} {{imprt}}{% endfor %}</dd>
</dl>
{% endif %}
{% endif %}
|