diff --git a/app/javascript/src/styles/common/page_header.scss b/app/javascript/src/styles/common/page_header.scss index 11301b97e..2a7d7a410 100644 --- a/app/javascript/src/styles/common/page_header.scss +++ b/app/javascript/src/styles/common/page_header.scss @@ -46,7 +46,8 @@ header#top { color: var(--login-link-color); } - li.forum-updated a { + li.forum-updated a, + li.reports-pending a { font-style: italic; } } diff --git a/app/views/layouts/_main_links.html.erb b/app/views/layouts/_main_links.html.erb index 78dc2f5c1..634614c5c 100644 --- a/app/views/layouts/_main_links.html.erb +++ b/app/views/layouts/_main_links.html.erb @@ -13,6 +13,7 @@ <%= nav_link_to("Wiki", wiki_page_path("help:home")) %> <%= nav_link_to("Forum", forum_topics_path, :class => (CurrentUser.has_forum_been_updated? ? "forum-updated" : nil)) %> <% if CurrentUser.is_moderator? %> + <%= nav_link_to("Reports", moderation_reports_path, :class => (ModerationReport.where(status: "pending").present? ? "reports-pending" : nil)) %> <%= nav_link_to("Dashboard", moderator_dashboard_path) %> <% end %> <%= nav_link_to("More ยป", site_map_path) %>