Add 'Add Blog Post' button on blog dashboard.
authorAditi <aditi.iitr@gmail.com>
Wed, 24 Jul 2013 10:04:51 +0000 (15:34 +0530)
committerAditi <aditi.iitr@gmail.com>
Wed, 24 Jul 2013 10:04:51 +0000 (15:34 +0530)
mediagoblin/templates/mediagoblin/blog/blog_admin_dashboard.html

index f4f4b15685a646dc88e59c6a774e8ab54f7bc636..45da73a910e73734f85a4573caaaa5408bdf7a69 100644 (file)
 <p>
     {{blog.description}}  
 </p> 
+
+<a class="button_action" ALIGN="Left" href="{{ request.urlgen('mediagoblin.media_types.blog.blogpost.create', blog_slug=blog.slug, user=request.user.username) }}">
+{%- trans %}Add Blog Post{% endtrans -%}
+</a>
 <h2> Blog Post Entries </h2>
     {% if blog_post_count!=0 %}
      <table class="media_panel processing">