Commit 6d6827592f89558139879cb606f7a7d4d2f1916a
1 parent
652d181c
Exists in
master
and in
29 other branches
ActionItem70: correctly displaying the current category's color in the top bar
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@544 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
4 changed files
with
13 additions
and
5 deletions
Show diff stats
app/helpers/application_helper.rb
app/views/layouts/application.rhtml
... | ... | @@ -26,8 +26,8 @@ |
26 | 26 | |
27 | 27 | <%= image_tag 'loading.gif', :id => 'spinner', :style => "display:none; float:right;", :alt => _('Image for Loading...') %> |
28 | 28 | |
29 | - <div id="wrap" class='category1'> | |
30 | - <div id='noosfero_bar' class='category1'> | |
29 | + <div id="wrap" class='category<%= category_color %>'> | |
30 | + <div id='noosfero_bar' class='category<%= category_color %>'> | |
31 | 31 | <div id='accessibility_menu'> |
32 | 32 | <a href='#'>Acessibilidade</a> |
33 | 33 | <a href='#'>Central de Buscas</a> |
... | ... | @@ -52,6 +52,7 @@ |
52 | 52 | <div id="header"> |
53 | 53 | <%= header %> |
54 | 54 | </div> |
55 | + | |
55 | 56 | </div><!-- id="noosfero_bar" --> |
56 | 57 | |
57 | 58 | ... | ... |
public/artwork/newbar/menu.html
... | ... | @@ -8,8 +8,8 @@ |
8 | 8 | </head> |
9 | 9 | <body> |
10 | 10 | |
11 | - <div id="wrap" class='category1'> | |
12 | - <div id='noosfero_bar' class='category1'> | |
11 | + <div id="wrap" class='category2'> | |
12 | + <div id='noosfero_bar' class='category2'> | |
13 | 13 | <div id='accessibility_menu'> |
14 | 14 | <a href='#'>Acessibilidade</a> |
15 | 15 | <a href='#'>Central de Buscas</a> | ... | ... |