From f793af647a138318f41645640334def3e27b75a4 Mon Sep 17 00:00:00 2001 From: Aditi Mittal Date: Wed, 18 Sep 2013 21:02:30 +0530 Subject: [PATCH] Add url to blog post listing page on blog dashboard of a blog. --- .../templates/mediagoblin/blog/blog_admin_dashboard.html | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_admin_dashboard.html b/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_admin_dashboard.html index 962783c9..c364d8ad 100644 --- a/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_admin_dashboard.html +++ b/mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_admin_dashboard.html @@ -95,6 +95,11 @@ {% endfor %} + {% set blogpost_listing_url = request.urlgen('mediagoblin.media_types.blog.blog_post_listing', + blog_slug=blog_slug, user=user.username) %} +
+
+ {% trans %} Go to blog post list view {% endtrans %} {% else %} {% trans %} No blog post yet. {% endtrans %} {% endif %} -- 2.25.1