incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [1/6] git commit: [#5913] restore ui-icon-* classes in top menu
Date Wed, 01 May 2013 00:25:38 GMT
Updated Branches:
  refs/heads/cj/5599 [created] 4ed2aa7d1


[#5913] restore ui-icon-* classes in top menu


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/5627ca95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/5627ca95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/5627ca95

Branch: refs/heads/cj/5599
Commit: 5627ca95e0854b851e2e6e4452982c868cba8b47
Parents: f599506
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Mon Apr 1 19:30:10 2013 +0000
Committer: Cory Johns <cjohns@slashdotmedia.com>
Committed: Tue Apr 30 23:28:07 2013 +0000

----------------------------------------------------------------------
 Allura/allura/templates/jinja_master/top_nav.html |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/5627ca95/Allura/allura/templates/jinja_master/top_nav.html
----------------------------------------------------------------------
diff --git a/Allura/allura/templates/jinja_master/top_nav.html b/Allura/allura/templates/jinja_master/top_nav.html
index 599eb3e..1b17d11 100644
--- a/Allura/allura/templates/jinja_master/top_nav.html
+++ b/Allura/allura/templates/jinja_master/top_nav.html
@@ -30,7 +30,7 @@
         {% set selected = True %}
       {% endif %}
     {% endif %}
-    <li{% if selected %} class="selected"{% endif %}>
+    <li class="ui-icon-{{s.ui_icon or 'admin'}}{% if selected %} selected{% endif %}">
       <a href="{{s.url}}">
         <span>
         {{s.label}}


Mime
View raw message