You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by ma...@apache.org on 2013/05/31 10:09:48 UTC

svn commit: r1488126 - in /bloodhound/trunk: bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html bloodhound_relations/bhrelations/templates/manage.html bloodhound_theme/bhtheme/theme.py

Author: matevz
Date: Fri May 31 08:09:48 2013
New Revision: 1488126

URL: http://svn.apache.org/r1488126
Log:
Ref. #533 - relations table adjusted for phone layout

Modified:
    bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html
    bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html
    bloodhound/trunk/bloodhound_theme/bhtheme/theme.py

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=1488126&r1=1488125&r2=1488126&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html (original)
+++ bloodhound/trunk/bloodhound_dashboard/bhdashboard/widgets/templates/widget_relations.html Fri May 31 08:09:48 2013
@@ -27,7 +27,7 @@
       <table class="table table-condensed table-bordered">
         <thead>
           <tr>
-            <th>Type</th><th>Product</th><th>Ticket</th><th>Comment</th><th>Author</th><th>Changed</th>
+            <th>Type</th><th>Product</th><th>Ticket</th><th>Comment</th><th>Author</th><th class="hidden-phone">Changed</th>
           </tr>
         </thead>
 
@@ -36,13 +36,14 @@
             <td>${relgroup if items.index(item) == 0 else None}</td>
             <td>
               <a href="${href.products(item['destticket'].env.product.prefix)}">
-                ${item['destticket'].env.product.name} (${item['destticket'].env.product.prefix})
+                <span class="hidden-phone">${item['destticket'].env.product.name} (${item['destticket'].env.product.prefix})</span>
+                <span class="visible-phone">${item['destticket'].env.product.prefix}</span>
               </a>
             </td>
             <td><a href="${item['desthref']}">#${item['destticket'].id}</a> - ${item['destticket'].summary}</td>
             <td>$item.comment</td>
             <td>$item.author</td>
-            <td>${pretty_dateinfo(item.when)}</td>
+            <td class="hidden-phone">${pretty_dateinfo(item.when)}</td>
           </tr>
         </tbody>
       </table>

Modified: bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html?rev=1488126&r1=1488125&r2=1488126&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html (original)
+++ bloodhound/trunk/bloodhound_relations/bhrelations/templates/manage.html Fri May 31 08:09:48 2013
@@ -90,7 +90,7 @@
               <thead>
                 <tr>
                   <th class="sel"><i class="icon-check"></i></th>
-                  <th>Type</th><th>Product</th><th>Ticket</th><th>Comment</th><th>Author</th><th>Changed</th>
+                  <th>Type</th><th>Product</th><th>Ticket</th><th>Comment</th><th>Author</th><th class="hidden-phone">Changed</th>
                 </tr>
               </thead>
               <tbody py:for="relgroup,items in relations.iteritems()">
@@ -99,13 +99,14 @@
                   <td>${relgroup if items.index(item) == 0 else None}</td>
                   <td>
                     <a href="${href.products(item['destticket'].env.product.prefix)}">
-                      ${item['destticket'].env.product.name} (${item['destticket'].env.product.prefix})
+                      <span class="hidden-phone">${item['destticket'].env.product.name} (${item['destticket'].env.product.prefix})</span>
+                      <span class="visible-phone">${item['destticket'].env.product.prefix}</span>
                     </a>
                   </td>
                   <td><a href="${item['desthref']}">#${item['destticket'].id}</a> - ${item['destticket'].summary}</td>
                   <td>$item.comment</td>
                   <td>$item.author</td>
-                  <td>${pretty_dateinfo(item.when)}</td>
+                  <td class="hidden-phone">${pretty_dateinfo(item.when)}</td>
                 </tr>
               </tbody>
             </table>

Modified: bloodhound/trunk/bloodhound_theme/bhtheme/theme.py
URL: http://svn.apache.org/viewvc/bloodhound/trunk/bloodhound_theme/bhtheme/theme.py?rev=1488126&r1=1488125&r2=1488126&view=diff
==============================================================================
--- bloodhound/trunk/bloodhound_theme/bhtheme/theme.py (original)
+++ bloodhound/trunk/bloodhound_theme/bhtheme/theme.py Fri May 31 08:09:48 2013
@@ -109,7 +109,7 @@ class BloodhoundTheme(ThemeBase):
 
         # Ticket
         'diff_view.html' : ('bh_diff_view.html', None),
-        'manage.html' : ('manage.html', '_add_products_general_breadcrumb'),
+        'manage.html' : ('manage.html', '_modify_resource_breadcrumb'),
         'milestone_edit.html' : ('bh_milestone_edit.html', '_modify_roadmap_page'),
         'milestone_delete.html' : ('bh_milestone_delete.html', '_modify_roadmap_page'),
         'milestone_view.html' : ('bh_milestone_view.html', '_modify_roadmap_page'),