revert "nanterre: don't display evolution.who if not submitter" (#39261)
This reverts commit 9bd9399cd7
as the same
result can now be achieved from settings.
This commit is contained in:
parent
eea3f8c245
commit
357c1f36ec
|
@ -1,39 +0,0 @@
|
|||
{% load i18n %}
|
||||
<div class="bo-block" id="evolution-log">
|
||||
<h2 class="foldable">{% trans "Log" %}</h2>
|
||||
<ul id="evolutions">
|
||||
{% for evolution in formdata.get_visible_evolution_parts %}
|
||||
{% with status=evolution.get_status display_parts=evolution.display_parts %}
|
||||
<li class="{% if evolution.who == '_submitter' %}msg-in{% elif evolution.who %}msg-out{% else %}msg-system{% endif %} {{ status.extra_css_class }}">
|
||||
<span class="item" style="background: #{{ status.colour }}; color: {{ status.get_contrast_color}}"></span>
|
||||
<div>
|
||||
{% if evolution.status %}
|
||||
<div class="evolution-metadata">
|
||||
<span class="status">{{evolution.get_status_label}}</span>
|
||||
<span class="time">{{evolution.datetime}}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="msg">
|
||||
{% if evolution.who == '_submitter' %}
|
||||
<span class="user">{{evolution.get_author_name|default_if_none:""}}
|
||||
<span>{% if evolution.get_author_qualification %}({{evolution.get_author_qualification}}){% endif %}</span>
|
||||
</span>
|
||||
{% endif %}
|
||||
{% if not evolution.status %}
|
||||
<span class="time">{{evolution.datetime}}</span>
|
||||
{% endif %}
|
||||
{% if evolution.comment %}
|
||||
<div class="comment">
|
||||
{{evolution.comment|linebreaks}}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% for part in display_parts %}
|
||||
{{part|safe}}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
Loading…
Reference in New Issue