summaryrefslogtreecommitdiff
path: root/templates/mod/dashboard.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mod/dashboard.html')
-rw-r--r--templates/mod/dashboard.html30
1 files changed, 21 insertions, 9 deletions
diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html
index 619663f5..5f6585fc 100644
--- a/templates/mod/dashboard.html
+++ b/templates/mod/dashboard.html
@@ -102,17 +102,29 @@
</fieldset>
{% if mod|hasPermission(config.mod.search) %}
-<fieldset>
- <legend>{% trans 'Search' %}</legend>
-
- <ul>
- <li>
- {% include 'mod/search_form.html' %}
- </li>
- </ul>
-</fieldset>
+ <fieldset>
+ <legend>{% trans 'Search' %}</legend>
+
+ <ul>
+ <li>
+ {% include 'mod/search_form.html' %}
+ </li>
+ </ul>
+ </fieldset>
{% endif %}
+{% if config.mod.dashboard_links|count %}
+ <fieldset>
+ <legend>{% trans 'Other' %}</legend>
+
+ <ul>
+ {% for label,link in config.mod.dashboard_links %}
+ <li><a href="{{ link }}">{{ label }}</a></li>
+ {% endfor %}
+ </ul>
+ </fieldset>
+{% endif %}
+
{% if config.debug %}
<fieldset>
<legend>{% trans 'Debug' %}</legend>