summaryrefslogtreecommitdiff
path: root/templates/post/flag.html
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-04-16 11:58:41 +0200
committerczaks <marcin@6irc.net>2014-04-16 11:58:41 +0200
commit48bc9d9e297d14bd549bd10513537052d7ce221c (patch)
treed17f05458434072a1b62fb5e756f07ca4527d660 /templates/post/flag.html
parente81ce17fb4fdb6215d942005c10db32f4bafa6d5 (diff)
add some files missing from the previous commit
Diffstat (limited to 'templates/post/flag.html')
-rw-r--r--templates/post/flag.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/templates/post/flag.html b/templates/post/flag.html
new file mode 100644
index 00000000..61622368
--- /dev/null
+++ b/templates/post/flag.html
@@ -0,0 +1,18 @@
+{% if config.display_flags and post.modifiers.flag %}
+ <img
+ {% if config.country_flags_condensed %}
+ class="flag flag-{{ post.modifiers.flag }}" src="{{ config.image_blank }}"
+ {% else %}
+ class="flag" src="{{ config.uri_flags|sprintf(post.modifiers.flag) }}"
+ {% endif %}
+ style="{% if post.modifiers['flag style'] %}
+ {{ post.modifiers['flag style'] }}
+ {% else %}
+ {{ config.flag_style }}
+ {% endif %}"
+
+ {% if post.modifiers['flag alt'] %} alt="{{ post.modifiers['flag alt'] | e('html_attr') }}"
+ title="{{ post.modifiers['flag alt'] | e('html_attr') }}"
+ {% endif %}
+ >
+{% endif %}