mirror of
https://github.com/jazzband/django-admin2.git
synced 2026-05-22 14:02:00 +00:00
icons
This commit is contained in:
parent
99ae00a0ae
commit
acae0a2620
1 changed files with 5 additions and 4 deletions
|
|
@ -1,15 +1,16 @@
|
|||
{% if actions %}
|
||||
<ol>
|
||||
<ol class="unstyled">
|
||||
{% for action in actions %}
|
||||
<li>
|
||||
{% if action.is_addition %}
|
||||
<span class="added">+</span>
|
||||
<i class="added icon-plus"></i>
|
||||
{% elif action.is_change %}
|
||||
<span class="changed">~</span>
|
||||
<i class="changed icon-pencil"></i>
|
||||
{% else %}
|
||||
<span class="deleted">-</span>
|
||||
<i class="deleted icon-minus"></i>
|
||||
{% endif %}
|
||||
{{ action }}
|
||||
<span class="muted">{{ action.content_type.model }}</span>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ol>
|
||||
|
|
|
|||
Loading…
Reference in a new issue