summaryrefslogtreecommitdiff
path: root/templates/mod/dashboard.html
diff options
context:
space:
mode:
authorctrlcctrlv <wizardchan@hush.com>2013-08-08 18:58:44 +0000
committerMichael Foster <savetheinternet@tinyboard.org>2013-08-11 21:08:19 +1000
commitacb4c47a9fe418284f2dab73d32bda75e34ed04a (patch)
tree1b83a4229d222b342b0177ffbfcc42a12db66c83 /templates/mod/dashboard.html
parent4bce3d75842c76934c112c11ebdfbc8705e40c8f (diff)
Allow for HTML in the board subtitle
Conflicts: inc/config.php
Diffstat (limited to 'templates/mod/dashboard.html')
-rw-r--r--templates/mod/dashboard.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html
index e9fb7c9c..e2f7507d 100644
--- a/templates/mod/dashboard.html
+++ b/templates/mod/dashboard.html
@@ -8,7 +8,13 @@
-
{{ board.title|e }}
{% if board.subtitle %}
- <small>&mdash; {{ board.subtitle|e }}</small>
+ <small>&mdash;
+ {% if config.allow_subtitle_html %}
+ {{ board.subtitle }}
+ {% else %}
+ {{ board.subtitle|e }}
+ {% endif %}
+ </small>
{% endif %}
{% if mod|hasPermission(config.mod.manageboards) %}
<a href="?/edit/{{ board.uri }}"><small>[{% trans 'edit' %}]</small></a>