Commits

Saurabh Kathpalia committed cb76640

Added link to depends_on and superseded_by in ticket modify view

Comments (0)

Files changed (3)

MoinMoin/static/css/stylus/ticket.styl

 
 dl dd
     padding-bottom 10px
+
+.moin-ticket-link
+    padding-left 150px

MoinMoin/static/css/ticket.css

 h2{border-bottom:none}
 dt label{padding-top:10px}
 dl dd{padding-bottom:10px}
+.moin-ticket-link{padding-left:150px}

MoinMoin/templates/ticket/base.html

         'depends_on',
         ] %}
         {{ forms.render(form['meta'][e]) }}
+        {% if e!='assigned_to' and item.meta[e] %}
+            <dd>
+                <a class="moin-ticket-link"  href="{{ url_for_item(item.meta[e], field='itemid') }}">{{item.meta[e]|shorten_id}}</a>
+            </dd>
+        {% endif %}
     {% endfor %}
 {% endmacro %}