diff --git a/app/views/layouts/_signin_signout.html.erb b/app/views/layouts/_signin_signout.html.erb index 6002fba..ec99f37 100644 --- a/app/views/layouts/_signin_signout.html.erb +++ b/app/views/layouts/_signin_signout.html.erb @@ -12,7 +12,9 @@
  • <%= link_to _('Super admin area'), "/admin", class: "signIn_dropdown_link" %>
  • <% end %> <% if current_user.can_org_admin? && !current_user.org_id.nil? %> - <% if current_user.can_modify_templates? %> + <% if current_user.can_modify_org_details? && current_user.org.abbreviation.blank? %> +
  • <%= link_to _("Admin area"), admin_show_org_path(current_user.org_id), class: "signIn_dropdown_link" %>
  • + <% elsif current_user.can_modify_templates?%>
  • <%= link_to _("Admin area"), admin_index_template_path(current_user.org_id), class: "signIn_dropdown_link" %>
  • <% elsif current_user.can_modify_guidance? %>
  • <%= link_to _("Admin area"), admin_index_guidance_path(current_user.org_id), class: "signIn_dropdown_link" %>
  • diff --git a/app/views/orgs/admin_show.html.erb b/app/views/orgs/admin_show.html.erb index fffd4ef..a3da37b 100644 --- a/app/views/orgs/admin_show.html.erb +++ b/app/views/orgs/admin_show.html.erb @@ -28,6 +28,10 @@ <%= _('Abbreviation') %> <%= @org.abbreviation %> + <% else %> + + <%= _('Abbreviation') %> + <%= _('Please add an abbreviation to your org for display with annotations!')%> <% end %> <% if @org.banner_text.present? then %>