Option to use font-awesome for sticky/lock icons, etc.

This commit is contained in:
Michael Foster
2013-07-23 09:38:42 -04:00
parent c562149458
commit 1132a4ce79
32 changed files with 10839 additions and 8 deletions

View File

@@ -88,14 +88,26 @@
{% endif %}
href="{% if index %}
{{ post.link('q') }}
{% else %}
javascript:void(0);
{% else %}
javascript:void(0);
{% endif %}">
{{ post.id }}
</a>
{% if post.sticky %}
{% if config.font_awesome %}
{{ post.id }}
</a>
<i class="icon-pushpin icon"></i>
{% else %}
<img class="icon" title="Sticky" src="{{ config.image_sticky }}" alt="Sticky" />
{% endif %}
{% endif %}
{% if post.locked %}
{% if config.font_awesome %}
<img class="icon" title="Sticky" src="{{ config.image_sticky }}" alt="Sticky" />
{% endif %}
<i class="icon-lock icon"></i>
{% else %}
<img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" />
{% endif %}
{% endif %}
{% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %}
{% if config.font_awesome %}
<i class="icon-anchor icon"></i>
{% else %}