Author: astaric
Date: Fri Sep 27 07:59:57 2013
New Revision: 1526822

URL: http://svn.apache.org/r1526822
Log:
Display relation type in all rows.

Fixes #670

Modified:
    
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
    
bloodhound/trunk/bloodhound_relations/bhrelations/templates/relations_manage.html

Modified: 
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html?rev=1526822&r1=1526821&r2=1526822&view=diff
==============================================================================
--- 
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
 (original)
+++ 
bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
 Fri Sep 27 07:59:57 2013
@@ -33,7 +33,7 @@
 
         <tbody py:for="relgroup,items in relations.iteritems()">
           <tr py:for="item in items" class="relation">
-            <td>${relgroup if items.index(item) == 0 else None}</td>
+            <td>$relgroup</td>
             <td>
               <a 
href="${href.products(item['destticket'].env.product.prefix)}">
                 <span 
class="hidden-phone">${item['destticket'].env.product.name} 
(${item['destticket'].env.product.prefix})</span>

Modified: 
bloodhound/trunk/bloodhound_relations/bhrelations/templates/relations_manage.html
URL: 
http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_relations/bhrelations/templates/relations_manage.html?rev=1526822&r1=1526821&r2=1526822&view=diff
==============================================================================
--- 
bloodhound/trunk/bloodhound_relations/bhrelations/templates/relations_manage.html
 (original)
+++ 
bloodhound/trunk/bloodhound_relations/bhrelations/templates/relations_manage.html
 Fri Sep 27 07:59:57 2013
@@ -96,7 +96,7 @@
               <tbody py:for="relgroup,items in relations.iteritems()">
                 <tr py:for="item in items">
                   <td class="sel"><input type="checkbox" name="sel" 
value="${item.relation_id}" /></td>
-                  <td>${relgroup if items.index(item) == 0 else None}</td>
+                  <td>$relgroup</td>
                   <td>
                     <a 
href="${href.products(item['destticket'].env.product.prefix)}">
                       <span 
class="hidden-phone">${item['destticket'].env.product.name} 
(${item['destticket'].env.product.prefix})</span>


Reply via email to