incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1398709 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
Date Tue, 16 Oct 2012 09:38:16 GMT
Author: gjm
Date: Tue Oct 16 09:38:16 2012
New Revision: 1398709

URL: http://svn.apache.org/viewvc?rev=1398709&view=rev
Log:
adding icons to scrollspy menu - towards #174 (from olemis)

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html?rev=1398709&r1=1398708&r2=1398709&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_ticket.html Tue Oct 16
09:38:16 2012
@@ -174,18 +174,23 @@
             </div>
             <div class="navbar visible-affix" py:if="ticket.exists"
                 py:with="sections = (
-                        (_('Overview'), 'content', True, _('View ticket fields and description')),
-                        (_('Attachments'), 'attachments', True, _('Go to the list of attachments')),
-                        (_('Comments'), 'changelog', True, _('Go to the changelog')),
-                        (_('Add comment'), 'propertyform', ticket.exists and can_append,
_('Go to the ticket editor')),
-                        (_('Modify Ticket'), 'modify', can_modify or can_edit or can_create,
_('Modify ticket fields and description')),
+                        (_('Overview'), 'content', True, _('View ticket fields and description'),
'icon-list'),
+                        (_('Attachments'), 'attachments', True, _('Go to the list of attachments'),
'icon-file'),
+                        (_('Comments'), 'changelog', True, _('Go to the changelog'), 'icon-comment'),
+                        (_('Add comment'), 'propertyform', ticket.exists and can_append,
_('Go to the ticket editor'), 'icon-plus-sign'),
+                        (_('Modify Ticket'), 'modify', can_modify or can_edit or can_create,
_('Modify ticket fields and description'), 'icon-edit'),
                     )">
               <div class="navbar-inner">
-                <ul class="nav">
-                  <li py:for="s in sections" py:if="s[2]">
-                    <a href="#${s[1]}" title="${s[3]}">${s[0]}</a>
-                  </li>
-                </ul>
+                <small>
+                  <ul class="nav">
+                    <li py:for="s in sections" py:if="s[2]">
+                      <a href="#${s[1]}" title="${s[3]}">
+                        <i class="${s[4]}"></i>
+                        ${s[0]}
+                      </a>
+                    </li>
+                  </ul>
+                </small>
               </div>
             </div>
             <div class="stickyEndMark"></div>



Mime
View raw message