diff --git a/app/views/branded/layouts/_branding.html.erb b/app/views/branded/layouts/_branding.html.erb index de9f779..b3b8cdb 100644 --- a/app/views/branded/layouts/_branding.html.erb +++ b/app/views/branded/layouts/_branding.html.erb @@ -101,6 +101,11 @@ <%= link_to(_('Usage'), usage_index_path) %> <% end %> + <% if current_user.can_super_admin? %> +
  • > + <%= link_to _('Notifications'), super_admin_notifications_path %> +
  • + <% end %> <% end %> diff --git a/app/views/branded/layouts/application.html.erb b/app/views/branded/layouts/application.html.erb index c213800..ed08fa9 100644 --- a/app/views/branded/layouts/application.html.erb +++ b/app/views/branded/layouts/application.html.erb @@ -4,7 +4,7 @@ <%= _('%{application_name}') % { :application_name => Rails.configuration.branding[:application][:name] } %> - <%= favicon_link_tag "favicon.png" %> + <%= favicon_link_tag "favicon.ico" %> - <%= render "layouts/piwik" %> - - <% + + <% constants_json = { PASSWORD_MIN_LENGTH: 8, PASSWORD_MAX_LENGTH: 128, @@ -94,7 +93,7 @@ SHOW_PASSWORD_MESSAGE: _('Show password'), SHOW_SELECT_ORG_MESSAGE: _('Select an organisation from the list.'), SHOW_OTHER_ORG_MESSAGE: _('My organisation isn\'t listed'), - + PLAN_VISIBILITY_WHEN_TEST: _('N/A'), PLAN_VISIBILITY_WHEN_NOT_TEST: _('Private'), PLAN_VISIBILITY_WHEN_NOT_TEST_TOOLTIP: _('Private: restricted to me and people I invite.'), @@ -103,7 +102,11 @@ SHIBBOLETH_DISCOVERY_SERVICE_SHOW_LIST: _('See the full list of partner institutions.'), NO_TEMPLATE_FOUND_ERROR: _('Unable to find a suitable template for the research organisation and funder you selected.'), - NEW_PLAN_DISABLED_TOOLTIP: _('Please select a research organisation and funder to continue.') + NEW_PLAN_DISABLED_TOOLTIP: _('Please select a research organisation and funder to continue.'), + + AJAX_LOADING: _('Loading ...'), + AJAX_UNABLE_TO_LOAD_TEMPLATE_SECTION: _('Unable to load the section\'s content at this time.'), + AJAX_UNABLE_TO_LOAD_TEMPLATE_SECTION_QUESTION: _('Unable to load the question\'s content at this time.') }.to_json %>