aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/templates
diff options
context:
space:
mode:
authorRodney Ewing <ewing.rj@gmail.com>2013-08-07 12:44:43 -0700
committerRodney Ewing <ewing.rj@gmail.com>2013-08-20 08:09:29 -0700
commitd0708da727b72cfc95defe14dd6780d2cba0a0b7 (patch)
tree2d1c707e8eceb7a38712e982c8d6bb2a6f5da69a /mediagoblin/templates
parentc62d174437445565b55b220396e7571a323a159c (diff)
downloadmediagoblin-d0708da727b72cfc95defe14dd6780d2cba0a0b7.tar.lz
mediagoblin-d0708da727b72cfc95defe14dd6780d2cba0a0b7.tar.xz
mediagoblin-d0708da727b72cfc95defe14dd6780d2cba0a0b7.zip
add the ability to mark all notifications read.
Diffstat (limited to 'mediagoblin/templates')
-rw-r--r--mediagoblin/templates/mediagoblin/fragments/header_notifications.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/mediagoblin/templates/mediagoblin/fragments/header_notifications.html b/mediagoblin/templates/mediagoblin/fragments/header_notifications.html
index 70d7935a..55759a39 100644
--- a/mediagoblin/templates/mediagoblin/fragments/header_notifications.html
+++ b/mediagoblin/templates/mediagoblin/fragments/header_notifications.html
@@ -36,5 +36,9 @@
</li>
{% endfor %}
</ul>
+ <a href="{{ request.urlgen('mediagoblin.notifications.mark_all_comment_notifications_seen') }}?next={{
+ request.base_url|urlencode }}" id="mark_all_comments_seen">
+ {% trans %}Mark all read{% endtrans %}
+ </a>
</div>
{% endif %}