diff options
| author | czaks <marcin@6irc.net> | 2013-07-23 10:25:33 -0400 |
|---|---|---|
| committer | czaks <marcin@6irc.net> | 2013-07-23 10:25:33 -0400 |
| commit | 1aa522e138d45b7e06223d0cebb4a4363d9dda5b (patch) | |
| tree | 880a1adfe1a66ead083f66b00720bb1c5175f674 /templates/post_thread.html | |
| parent | 88c1205e422b314cae2c0410ce21f9c8283f0f0e (diff) | |
| parent | 46edec0f2d8c31b55e36e160c7d9bac8bf4d3aa4 (diff) | |
Merge branch 'master' of https://github.com/savetheinternet/Tinyboard
Conflicts:
templates/index.html
templates/post_thread.html
templates/thread.html
Diffstat (limited to 'templates/post_thread.html')
| -rw-r--r-- | templates/post_thread.html | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/templates/post_thread.html b/templates/post_thread.html index 08e8f840..6ec45482 100644 --- a/templates/post_thread.html +++ b/templates/post_thread.html @@ -99,15 +99,27 @@ {% endif %}"> {{ post.id }} </a> - {% if post.sticky %} - <img class="icon" title="Sticky" src="{{ config.image_sticky }}" alt="Sticky" /> - {% endif %} - {% if post.locked %} - <img class="icon" title="Locked" src="{{ config.image_locked }}" alt="Locked" /> - {% endif %} - {% if post.bumplocked and (config.mod.view_bumplock < 0 or (post.mod and post.mod|hasPermission(config.mod.view_bumplock, board.uri))) %} - <img class="icon" title="Bumplocked" src="{{ config.image_bumplocked }}" alt="Bumplocked" /> - {% endif %} + {% if post.sticky %} + {% if config.font_awesome %} + <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 %} + <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_bump$ + {% if config.font_awesome %} + <i class="icon-anchor icon"></i> + {% else %} + <img class="icon" title="Bumplocked" src="{{ config.image_bumplocked }}" alt="Bumplocked" /> + {% endif %} + {% endif %} {% if index %} <a href="{{ post.root }}{{ board.dir }}{{ config.dir.res }}{{ config.file_page|sprintf(post.id) }}">[{% trans %}Reply{% endtrans %}]</a> {% endif %} |
