Files
danbooru/app/views/admin/dashboards/show.html.erb
evazion 6a984de3d5 views: refactor page titles.
Refactor `page_title` helper to automatically include site name.
2020-01-25 01:52:18 -06:00

28 lines
838 B
Plaintext

<% page_title "Admin Dashboard" %>
<div id="c-admin-dashboards">
<div id="a-show">
<h1>Admin Dashboard</h1>
<div class="section">
<h2>Aliases</h2>
<%= render "tag_aliases/listing", :tag_aliases => @dashboard.tag_aliases %>
</div>
<div class="section">
<h2>Implications</h2>
<%= render "tag_implications/listing", :tag_implications => @dashboard.tag_implications %>
</div>
<div class="section">
<h2>Bulk Update Requests</h2>
<%= render "bulk_update_requests/listing", :bulk_update_requests => @dashboard.update_requests %>
</div>
<div class="section">
<h2>Forum Topics</h2>
<%= render "forum_topics/listing", forum_topics: @dashboard.forum_topics, read_forum_topics: @dashboard.forum_topics.read_by_user(CurrentUser.user) %>
</div>
</div>
</div>