This commit is contained in:
r888888888
2015-06-25 13:51:05 -07:00
parent 3cc7dbbedc
commit 1d9596d7f2
64 changed files with 244 additions and 140 deletions

View File

@@ -11,7 +11,7 @@
<li><%= link_to("Upload Listing", uploads_path) %></li>
<li><%= link_to("Appeals", post_appeals_path) %></li>
<li><%= link_to("Flags", post_flags_path) %></li>
<% if CurrentUser.is_janitor? %>
<% if CurrentUser.can_approve_posts? %>
<li><%= link_to("Moderate", moderator_post_queue_path) %></li>
<% end %>
<% if CurrentUser.is_admin? %>
@@ -87,7 +87,7 @@
<section>
<ul>
<li><h1>Users</h1></li>
<% if CurrentUser.is_janitor? %>
<% if CurrentUser.can_approve_posts? %>
<li><%= link_to("Dashboard", moderator_dashboard_path) %></li>
<% end %>
<li><%= link_to("Help", wiki_pages_path(:title => "help:users")) %></li>