diff MoinMoin/templates/blog/layout.html @ 2691:43987f1b008e

Added ticket-create button and blog-entry-create button in +tickets view and blog view respectively in all themes with a TODO of creating items without any initial fqname/name
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Wed, 06 Aug 2014 05:32:51 +0530
parents a22b4979caa2
children 31628ac3ec21
line wrap: on
line diff
--- a/MoinMoin/templates/blog/layout.html	Sat Aug 02 21:13:03 2014 +0200
+++ b/MoinMoin/templates/blog/layout.html	Wed Aug 06 05:32:51 2014 +0530
@@ -32,6 +32,11 @@
                     {{ blog_header }}
                 {% endif %}
             </div>
+
+            <a id="moin-blog-entry-create-link" href="{{ url_for('frontend.new', itemtype='blogentry') }}" >
+                <button class="btn btn-primary">{{ _("Create Blog entry") }}</button>
+            </a>
+
             <div id="moin-blog-body">
                 <div id="moin-blog-content">
                 {% block blog_content %}<br />{% endblock %}