changeset 2742:a99204e6772d

Now Suggested tags renders properly in ticket submit and modify view
author Saurabh Kathpalia <saurabh.kathpalia95@gmail.com>
date Sun, 17 Aug 2014 12:48:05 +0530
parents 144023c286ee
children 4d1fc4459a83
files MoinMoin/static/css/stylus/ticket.styl MoinMoin/static/css/ticket.css MoinMoin/templates/ticket/modify.html MoinMoin/templates/ticket/submit.html
diffstat 4 files changed, 22 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/static/css/stylus/ticket.styl	Sat Aug 16 21:09:17 2014 +0530
+++ b/MoinMoin/static/css/stylus/ticket.styl	Sun Aug 17 12:48:05 2014 +0530
@@ -120,3 +120,6 @@
 
 .moin-ticket-link
     padding-left 150px
+
+.moin-ticket-tags
+    padding-bottom 20px
--- a/MoinMoin/static/css/ticket.css	Sat Aug 16 21:09:17 2014 +0530
+++ b/MoinMoin/static/css/ticket.css	Sun Aug 17 12:48:05 2014 +0530
@@ -15,3 +15,4 @@
 dt label{padding-top:10px}
 dl dd{padding-bottom:10px}
 .moin-ticket-link{padding-left:150px}
+.moin-ticket-tags{padding-bottom:20px}
--- a/MoinMoin/templates/ticket/modify.html	Sat Aug 16 21:09:17 2014 +0530
+++ b/MoinMoin/templates/ticket/modify.html	Sun Aug 17 12:48:05 2014 +0530
@@ -19,10 +19,12 @@
             {{ forms.render_errors(form) }}
             {{ render_meta() }}
         </dl>
+	<div class="moin-ticket-tags">
             {{ _("Suggested Tags: ") }}
             {% for suggested_tag in suggested_tags %}
                 {{ suggested_tag }}
             {% endfor %}
+	</div>
         <dl>
             {{ render_selectlists() }}
         </dl>
--- a/MoinMoin/templates/ticket/submit.html	Sat Aug 16 21:09:17 2014 +0530
+++ b/MoinMoin/templates/ticket/submit.html	Sun Aug 17 12:48:05 2014 +0530
@@ -17,17 +17,21 @@
 {% block ticket_metadata %}
 
     <h2>{{ _("Provide metadata") }}</h2>
-    <dl>
-    {{ forms.render_errors(form) }}
-    {{ render_meta() }}
-    </dl>
-    {{ _("Suggested Tags: ") }}
-    {% for suggested_tag in suggested_tags %}
-        {{ suggested_tag }}
-    {% endfor %}
-    <dl>
-    {{ render_selectlists() }}
-    </dl>
+    <div class="moin-ticket-metadata">
+        <dl>
+        {{ forms.render_errors(form) }}
+        {{ render_meta() }}
+        </dl>
+	<div class="moin-ticket-tags">
+            {{ _("Suggested Tags: ") }}
+            {% for suggested_tag in suggested_tags %}
+                {{ suggested_tag }}
+            {% endfor %}
+	</div>
+        <dl>
+        {{ render_selectlists() }}
+        </dl>
 
-    {{ forms.render_submit(form) }}
+        {{ forms.render_submit(form) }}
+    </div>
 {% endblock %}