Add url to blog post listing page on blog dashboard of a blog.
authorAditi Mittal <aditi.iitr@gmail.com>
Wed, 18 Sep 2013 15:32:30 +0000 (21:02 +0530)
committerAditi Mittal <aditi.iitr@gmail.com>
Wed, 18 Sep 2013 15:32:30 +0000 (21:02 +0530)
mediagoblin/media_types/blog/templates/mediagoblin/blog/blog_admin_dashboard.html

index 962783c9d384973988a63212c02e5d02a555c47e..c364d8ad1c40e5948e8d8b6ee1b40d861121840b 100644 (file)
         </tr>
         {% endfor %}
      </table>
+     {% set blogpost_listing_url = request.urlgen('mediagoblin.media_types.blog.blog_post_listing',
+                                              blog_slug=blog_slug, user=user.username) %}
+      <br/>
+      <br/>
+      <a href="{{ blogpost_listing_url}}">{% trans %}<em> Go to blog post list view </em>{% endtrans %}</a>
     {% else %}
         {% trans %} No blog post yet. {% endtrans %}
     {% endif %}