Template updates for the new icon server
This commit is contained in:
@@ -29,7 +29,8 @@
|
||||
{% endif %}
|
||||
|
||||
<div style="float: left; margin-right: 10px;">
|
||||
<img style="margin-top: 12px;" src="{{ STATIC_URL }}images/icons/{{ form_icon|default:'question.png' }}" alt="{% trans 'form icon' %}" />
|
||||
{{ form_icon.display_big }}
|
||||
{#<img style="margin-top: 12px;" src="{{ STATIC_URL }}images/icons/{{ form_icon|default:'question.png' }}" alt="{% trans 'form icon' %}" />#}
|
||||
</div>
|
||||
<div style="float: left; width: 90%;">
|
||||
{% if title %}
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
{% for object_reference, object_links in multi_item_links.items %}
|
||||
{% for link in object_links %}
|
||||
<button class="button" type="submit" name="action" value="{{ link.url }}">
|
||||
{% if link.sprite and not disable_icons %}<span class="famfam active famfam-{{ link.sprite|default:'link' }}"></span>{% endif %}{{ link.text|capfirst }}
|
||||
{{ link.icon.display_small }}{{ link.text|capfirst }}
|
||||
</button>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
@@ -175,7 +175,7 @@
|
||||
{% for object_reference, object_links in multi_item_links.items %}
|
||||
{% for link in object_links %}
|
||||
<button class="button" type="submit" name="action" value="{{ link.url }}">
|
||||
{% if link.sprite and not disable_icons %}<span class="famfam active famfam-{{ link.sprite|default:'link' }}"></span>{% endif %}{{ link.text|capfirst }}
|
||||
{{ link.icon.display_small }}{{ link.text|capfirst }}
|
||||
</button>
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user