]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/skins/default/templates/notifications/digest.html
OSQA-236, now we add a link for the administrators to flagged posts management tool...
[osqa.git] / forum / skins / default / templates / notifications / digest.html
index 5c5737514046a49295a2d8a32262412bd825eb02..0c01f60020fa0f099b0c2d8a1478269f176aa3a9 100644 (file)
 
         {% endif %}
 
+        {% if recipient.is_superuser %}
+        {% declare %}
+            flagged_url = html.hyperlink(app_url + reverse('admin_flagged_posts'), str(flagged_count) + ' ' + _('posts'), style=a_style)
+        {% enddeclare %}
+        <p style="{{ p_style }}">
+            {% blocktrans %}
+            {{ flagged_url }} have been marked as flagged.
+            {% endblocktrans %}
+        </p>
+        {% endif %}
+
     {% endhtmlcontent %}
 
     {% textcontent notifications/base_text.html %}