Skip to content

Commit

Permalink
Add 'Admin view of application' to page title when logged in as admin…
Browse files Browse the repository at this point in the history
… viewing an application
  • Loading branch information
DaniBitZesty committed Jul 20, 2023
1 parent dac1df9 commit dad0191
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
title = content_for?(:title) ? yield(:title) + " - King's Awards for Enterprise" : "King's Awards for Enterprise"
title = content_for?(:title) ? "#{'Admin view of ' if admin_in_read_only_mode?}" + yield(:title) + " - King's Awards for Enterprise" : "King's Awards for Enterprise"

- content_for :head do
= stylesheet_link_tag "application.css"
Expand Down

0 comments on commit dad0191

Please sign in to comment.