Commit cc0a913a1b8856b06233b20a890056137d031282
1 parent
55630934
Exists in
staging
and in
42 other branches
ActionItem1054: identifying logged in
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
app/views/layouts/application.rhtml
@@ -54,7 +54,8 @@ | @@ -54,7 +54,8 @@ | ||
54 | <body class='noosfero category<%= category_color %><%= | 54 | <body class='noosfero category<%= category_color %><%= |
55 | # Identify the current controller and action for the CSS: | 55 | # Identify the current controller and action for the CSS: |
56 | " controller_"+ @controller.controller_name() + | 56 | " controller_"+ @controller.controller_name() + |
57 | - " action_"+ @controller.controller_name() +"_"+ @controller.action_name() | 57 | + " action_"+ @controller.controller_name() +"_"+ @controller.action_name() + |
58 | + (logged_in? ? ' logged-in' : '') | ||
58 | %>' onload='noosfero_init();' | 59 | %>' onload='noosfero_init();' |
59 | help=<%= _('Pass the mouse over page elements to get help on them. Click the question mark icon on the top-right corner to deactivate this help window.').inspect %> onresize="registerDocumentSize()"> | 60 | help=<%= _('Pass the mouse over page elements to get help on them. Click the question mark icon on the top-right corner to deactivate this help window.').inspect %> onresize="registerDocumentSize()"> |
60 | <script type="text/javascript"> | 61 | <script type="text/javascript"> |