Merge pull request #3471 from BrokenEagle/fix-controller-views
Various fixes for controller views
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
Danbooru.ForumPost = {};
|
Danbooru.ForumPost = {};
|
||||||
|
|
||||||
Danbooru.ForumPost.initialize_all = function() {
|
Danbooru.ForumPost.initialize_all = function() {
|
||||||
if ($("#c-forum-topics #a-show").length) {;
|
if ($("#c-forum-topics #a-show,#c-forum-posts #a-show").length) {;
|
||||||
this.initialize_edit_links();
|
this.initialize_edit_links();
|
||||||
|
|
||||||
Danbooru.keydown("e", "edit", function(e) {
|
Danbooru.keydown("e", "edit", function(e) {
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#c-burs {
|
#c-bulk-update-requests {
|
||||||
s.approved {
|
s.approved {
|
||||||
color: green;
|
color: green;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,10 +34,10 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<%= numbered_paginator(@commentaries) %>
|
<%= numbered_paginator(@commentaries) %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Artist Commentary - <%= Danbooru.config.app_name %>
|
Artist Commentary - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -61,9 +61,10 @@
|
|||||||
|
|
||||||
<%= numbered_paginator(@commentary_versions) %>
|
<%= numbered_paginator(@commentary_versions) %>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "artist_commentaries/secondary_links" %>
|
<%= render "artist_commentaries/secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Artist Commentary Versions - <%= Danbooru.config.app_name %>
|
Artist Commentary Versions - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -21,10 +21,10 @@
|
|||||||
<%= @post_set.presenter.post_previews_html(self) %>
|
<%= @post_set.presenter.post_previews_html(self) %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Artist - <%= @artist.name %> - <%= Danbooru.config.app_name %>
|
Artist - <%= @artist.name %> - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -28,10 +28,10 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<%= numbered_paginator(@artists) %>
|
<%= numbered_paginator(@artists) %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Artists - <%= Danbooru.config.app_name %>
|
Artists - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class="bans">
|
<div id="c-bans">
|
||||||
<div class="new">
|
<div id="a-edit">
|
||||||
<h1>Edit Ban</h1>
|
<h1>Edit Ban</h1>
|
||||||
<%= render "form", :ban => @ban %>
|
<%= render "form", :ban => @ban %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class="bans">
|
<div id="c-bans">
|
||||||
<div class="show">
|
<div id="a-show">
|
||||||
<h1>Show Ban</h1>
|
<h1>Show Ban</h1>
|
||||||
<ul style="margin-bottom: 1em;">
|
<ul style="margin-bottom: 1em;">
|
||||||
<li><strong>User</strong>: <%= link_to_user(@ban.user) %></li>
|
<li><strong>User</strong>: <%= link_to_user(@ban.user) %></li>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class="bulk-update-requests">
|
<div id="c-bulk-update-requests">
|
||||||
<div class="new">
|
<div id="a-edit">
|
||||||
<h1>Edit Bulk Update Request</h1>
|
<h1>Edit Bulk Update Request</h1>
|
||||||
<%= render "form" %>
|
<%= render "form" %>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="c-burs">
|
<div id="c-bulk-update-requests">
|
||||||
<div id="a-index">
|
<div id="a-index">
|
||||||
<h1>Bulk Update Requests</h1>
|
<h1>Bulk Update Requests</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class="bulk-update-requests">
|
<div id="c-bulk-update-requests">
|
||||||
<div class="new">
|
<div id="a-new">
|
||||||
<h1>New Bulk Update Request</h1>
|
<h1>New Bulk Update Request</h1>
|
||||||
|
|
||||||
<%= render "form" %>
|
<%= render "form" %>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= render "comments/secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Edit Comment - <%= Danbooru.config.app_name %>
|
Edit Comment - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= render "comments/secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Comments - <%= Danbooru.config.app_name %>
|
Comments - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= render "comments/secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Search Comments - <%= Danbooru.config.app_name %>
|
Search Comments - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -53,9 +53,9 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<%= numbered_paginator(@delayed_jobs) %>
|
<%= numbered_paginator(@delayed_jobs) %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Delayed Jobs - <%= Danbooru.config.app_name %>
|
Delayed Jobs - <%= Danbooru.config.app_name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-explore-posts">
|
<div id="c-explore-posts">
|
||||||
<div id="a-popular">
|
<div id="a-viewed">
|
||||||
<h1>Most Viewed - <%= @post_set.presenter.date %></h1>
|
<h1>Most Viewed - <%= @post_set.presenter.date %></h1>
|
||||||
|
|
||||||
<%= render "posts/partials/common/inline_blacklist" %>
|
<%= render "posts/partials/common/inline_blacklist" %>
|
||||||
|
|||||||
@@ -37,12 +37,11 @@
|
|||||||
<%= sequential_paginator(@favorite_set.favorites) %>
|
<%= sequential_paginator(@favorite_set.favorites) %>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<%= render "posts/partials/common/secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Favorites - <%= @user.pretty_name %> - <%= Danbooru.config.app_name %>
|
Favorites - <%= @user.pretty_name %> - <%= Danbooru.config.app_name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<%= render "posts/partials/common/secondary_links" %>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="c-forum-topics">
|
<div id="c-forum-posts">
|
||||||
<div id="a-edit">
|
<div id="a-edit">
|
||||||
<h1>Edit Forum Post</h1>
|
<h1>Edit Forum Post</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="c-forum-topics">
|
<div id="c-forum-posts">
|
||||||
<div id="a-new">
|
<div id="a-new">
|
||||||
<% if @forum_topic %>
|
<% if @forum_topic %>
|
||||||
<h1>Reply to <%= @forum_topic.title %></h1>
|
<h1>Reply to <%= @forum_topic.title %></h1>
|
||||||
|
|||||||
@@ -1,7 +1,11 @@
|
|||||||
<%= error_messages_for("forum_post") %>
|
<%= error_messages_for("forum_post") %>
|
||||||
|
|
||||||
<%= simple_form_for(forum_post) do |f| %>
|
<%= simple_form_for(forum_post) do |f| %>
|
||||||
|
<% if @forum_topic %>
|
||||||
<%= f.input :topic_id, :as => :hidden %>
|
<%= f.input :topic_id, :as => :hidden %>
|
||||||
|
<% else %>
|
||||||
|
<%= f.input :topic_id, :label => "Topic ID" %>
|
||||||
|
<% end %>
|
||||||
<%= dtext_field "forum_post", "body", :classes => "autocomplete-mentions" %>
|
<%= dtext_field "forum_post", "body", :classes => "autocomplete-mentions" %>
|
||||||
|
|
||||||
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
|
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="c-forum-topics">
|
<div id="c-forum-posts">
|
||||||
<div id="a-search">
|
<div id="a-search">
|
||||||
<h1>Search Forum</h1>
|
<h1>Search Forum</h1>
|
||||||
<%= form_tag(forum_posts_path, :method => :get, :class => "simple_form") do %>
|
<%= form_tag(forum_posts_path, :method => :get, :class => "simple_form") do %>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="c-forum-topics">
|
<div id="c-forum-posts">
|
||||||
<div id="a-show" class="single-forum-post list-of-forum-posts">
|
<div id="a-show" class="single-forum-post list-of-forum-posts">
|
||||||
<h1>Topic: <%= @forum_post.topic.title %></h1>
|
<h1>Topic: <%= @forum_post.topic.title %></h1>
|
||||||
<%= render "forum_post", :forum_post => @forum_post %>
|
<%= render "forum_post", :forum_post => @forum_post %>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="c-users">
|
<div id="c-maintenance-user-dmail-filters">
|
||||||
<div id="a-edit">
|
<div id="a-edit">
|
||||||
<h1>Edit Message Filters</h1>
|
<h1>Edit Message Filters</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-maintenance-user-email-changes">
|
||||||
|
<div id="a-new">
|
||||||
<h1>Change Email</h1>
|
<h1>Change Email</h1>
|
||||||
|
|
||||||
<p>You must confirm your password in order to change your email address.</p>
|
<p>You must confirm your password in order to change your email address.</p>
|
||||||
@@ -17,3 +19,5 @@
|
|||||||
<%= submit_tag "Submit" %>
|
<%= submit_tag "Submit" %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-maintenance-user-email-notifications">
|
||||||
|
<div id="a-show">
|
||||||
<h1>Unsubscribe</h1>
|
<h1>Unsubscribe</h1>
|
||||||
|
|
||||||
<p>Do you wish to stop receiving all email notifications?</p>
|
<p>Do you wish to stop receiving all email notifications?</p>
|
||||||
@@ -7,3 +9,5 @@
|
|||||||
<%= hidden_field_tag "user_id", params[:user_id] %>
|
<%= hidden_field_tag "user_id", params[:user_id] %>
|
||||||
<%= submit_tag "Yes" %>
|
<%= submit_tag "Yes" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -14,10 +14,10 @@
|
|||||||
|
|
||||||
<%= submit_tag "Submit" %>
|
<%= submit_tag "Submit" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "sessions/secondary_links" %>
|
<%= render "sessions/secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Login Reminder - <%= Danbooru.config.app_name %>
|
Login Reminder - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -12,10 +12,10 @@
|
|||||||
<% else %>
|
<% else %>
|
||||||
<p>Invalid key</p>
|
<p>Invalid key</p>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "sessions/secondary_links" %>
|
<%= render "sessions/secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Reset Password - <%= Danbooru.config.app_name %>
|
Reset Password - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -13,10 +13,10 @@
|
|||||||
</div>
|
</div>
|
||||||
<%= submit_tag "Submit" %>
|
<%= submit_tag "Submit" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "sessions/secondary_links" %>
|
<%= render "sessions/secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Reset Password - <%= Danbooru.config.app_name %>
|
Reset Password - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
<div id="c-users">
|
<div id="c-maintenance-user-passwords">
|
||||||
<div id="a-edit">
|
<div id="a-edit">
|
||||||
<h1>Change Password</h1>
|
<h1>Change Password</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-moderator-post-queues">
|
<div id="c-moderator-post-queues">
|
||||||
<div id="a-show">
|
<div id="a-random">
|
||||||
<div>
|
<div>
|
||||||
<h1>Moderation Queue</h1>
|
<h1>Moderation Queue</h1>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-news-updates">
|
<div id="c-news-updates">
|
||||||
<div id="a-new">
|
<div id="a-edit">
|
||||||
<h1>Edit Update</h1>
|
<h1>Edit Update</h1>
|
||||||
|
|
||||||
<%= simple_form_for(@news_update) do |f| %>
|
<%= simple_form_for(@news_update) do |f| %>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= render "notes/secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Notes - <%= Danbooru.config.app_name %>
|
Notes - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -34,10 +34,10 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<%= numbered_paginator(@pools) %>
|
<%= numbered_paginator(@pools) %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Pools - <%= Danbooru.config.app_name %>
|
Pools - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -41,19 +41,6 @@
|
|||||||
<%= render "posts/partials/index/posts", :post_set => @post_set %>
|
<%= render "posts/partials/index/posts", :post_set => @post_set %>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
|
||||||
<% if @post_set.tag_string.present? %>
|
|
||||||
<%= @post_set.humanized_tag_string %> - <%= Danbooru.config.app_name %>
|
|
||||||
<% else %>
|
|
||||||
<%= Danbooru.config.app_name %>
|
|
||||||
<% end %>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<% if params[:tags] =~ /search:/ %>
|
|
||||||
<%= render "saved_searches/secondary_links" %>
|
|
||||||
<% else %>
|
|
||||||
<%= render "posts/partials/common/secondary_links" %>
|
|
||||||
<% end %>
|
|
||||||
|
|
||||||
<%= post_search_count_js %>
|
<%= post_search_count_js %>
|
||||||
|
|
||||||
@@ -63,6 +50,20 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<% if params[:tags] =~ /search:/ %>
|
||||||
|
<%= render "saved_searches/secondary_links" %>
|
||||||
|
<% else %>
|
||||||
|
<%= render "posts/partials/common/secondary_links" %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<% content_for(:page_title) do %>
|
||||||
|
<% if @post_set.tag_string.present? %>
|
||||||
|
<%= @post_set.humanized_tag_string %> - <%= Danbooru.config.app_name %>
|
||||||
|
<% else %>
|
||||||
|
<%= Danbooru.config.app_name %>
|
||||||
|
<% end %>
|
||||||
|
<% end %>
|
||||||
|
|
||||||
<%= content_for(:html_header) do %>
|
<%= content_for(:html_header) do %>
|
||||||
<link href="<%= posts_path(:format => 'atom', :tags => params[:tags]) %>" rel="alternate" title="ATOM" type="application/atom+xml" />
|
<link href="<%= posts_path(:format => 'atom', :tags => params[:tags]) %>" rel="alternate" title="ATOM" type="application/atom+xml" />
|
||||||
<%= content_tag(:link, nil, rel: "prefetch", href: next_page_url, as: "html", crossorigin: "use-credentials") %>
|
<%= content_tag(:link, nil, rel: "prefetch", href: next_page_url, as: "html", crossorigin: "use-credentials") %>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<div>
|
<div id="c-related-tags">
|
||||||
|
<div id="a-show">
|
||||||
<h1>Related tags</h1>
|
<h1>Related tags</h1>
|
||||||
<section>
|
<section>
|
||||||
<%= form_tag(related_tag_path, :method => :get) do %>
|
<%= form_tag(related_tag_path, :method => :get) do %>
|
||||||
@@ -29,6 +30,7 @@
|
|||||||
</section>
|
</section>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "tags/secondary_links" %>
|
<%= render "tags/secondary_links" %>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-reports">
|
<div id="c-reports">
|
||||||
<div id="a-down-voting-post-report">
|
<div id="a-down-voting-post">
|
||||||
<h1>Down Voting Post Report</h1>
|
<h1>Down Voting Post Report</h1>
|
||||||
|
|
||||||
<p>This report uses stastistical analysis to determine if a user's uploads are being targeted by an attacker. It will take some time to generate so you will receive a DMail with the results when it finishes.</p>
|
<p>This report uses stastistical analysis to determine if a user's uploads are being targeted by an attacker. It will take some time to generate so you will receive a DMail with the results when it finishes.</p>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-post-versions">
|
<div id="c-reports">
|
||||||
<div id="a-index">
|
<div id="a-post-versions-create">
|
||||||
<h1>Post Changes Report</h1>
|
<h1>Post Changes Report</h1>
|
||||||
|
|
||||||
<p>Only the 1,000 most recent changes are displayed.</p>
|
<p>Only the 1,000 most recent changes are displayed.</p>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-upload-tags-report">
|
<div id="c-reports">
|
||||||
<div id="a-show">
|
<div id="a-upload-tags">
|
||||||
<h1>Upload tag changes report for <%= @user.pretty_name %></h1>
|
<h1>Upload tag changes report for <%= @user.pretty_name %></h1>
|
||||||
|
|
||||||
<%= render "posts/partials/common/inline_blacklist" %>
|
<%= render "posts/partials/common/inline_blacklist" %>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-static">
|
||||||
|
<div id="a-contact">
|
||||||
<h1>Contact</h1>
|
<h1>Contact</h1>
|
||||||
|
|
||||||
<h2>Questions & Comments</h2>
|
<h2>Questions & Comments</h2>
|
||||||
@@ -7,3 +9,5 @@
|
|||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Contact - <%= Danbooru.config.app_name %>
|
Contact - <%= Danbooru.config.app_name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-tag-alias-corrections">
|
||||||
|
<div id="a-show">
|
||||||
<h1>Tag Alias Correction: <%= @correction.antecedent_name %> -> <%= @correction.consequent_name %></h1>
|
<h1>Tag Alias Correction: <%= @correction.antecedent_name %> -> <%= @correction.consequent_name %></h1>
|
||||||
|
|
||||||
<p>Because tag aliases are cached in memory, they may go out of sync. This action will clear out the cache and fix any lingering posts.</p>
|
<p>Because tag aliases are cached in memory, they may go out of sync. This action will clear out the cache and fix any lingering posts.</p>
|
||||||
@@ -20,6 +22,8 @@
|
|||||||
<%= submit_tag "Fix" %>
|
<%= submit_tag "Fix" %>
|
||||||
<%= submit_tag "Cancel" %>
|
<%= submit_tag "Cancel" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "tag_aliases/secondary_links" %>
|
<%= render "tag_aliases/secondary_links" %>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-tag-aliases">
|
<div id="c-tag-alias-requests">
|
||||||
<div id="a-request-new">
|
<div id="a-new">
|
||||||
<h1>Tag Alias Request</h1>
|
<h1>Tag Alias Request</h1>
|
||||||
|
|
||||||
<%= error_messages_for :tag_alias_request %>
|
<%= error_messages_for :tag_alias_request %>
|
||||||
@@ -34,10 +34,10 @@
|
|||||||
<%= dtext_preview_button "tag_alias_request", "reason" %>
|
<%= dtext_preview_button "tag_alias_request", "reason" %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "tag_aliases/secondary_links" %>
|
<%= render "tag_aliases/secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Tag Alias Request - <%= Danbooru.config.app_name %>
|
Tag Alias Request - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<%= render "tag_aliases/secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Tag Aliases - <%= Danbooru.config.app_name %>
|
Tag Aliases - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-tag-aliases">
|
||||||
|
<div id="a-show">
|
||||||
<h1>Tag Alias: <%= @tag_alias.antecedent_name %> -> <%= @tag_alias.consequent_name %></h1>
|
<h1>Tag Alias: <%= @tag_alias.antecedent_name %> -> <%= @tag_alias.consequent_name %></h1>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -12,8 +14,10 @@
|
|||||||
<li><strong>Reason</strong> <%= format_text @tag_alias.reason %></li>
|
<li><strong>Reason</strong> <%= format_text @tag_alias.reason %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "tag_aliases/secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Tag Alias - <%= Danbooru.config.app_name %>
|
Tag Alias - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-tag-corrections">
|
||||||
|
<div id="a-new">
|
||||||
<h1>Fix Tag: <%= @correction.tag.name %></h1>
|
<h1>Fix Tag: <%= @correction.tag.name %></h1>
|
||||||
|
|
||||||
<% @correction.each_server do |server| %>
|
<% @correction.each_server do |server| %>
|
||||||
@@ -21,3 +23,5 @@
|
|||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Tag Correction - <%= Danbooru.config.app_name %>
|
Tag Correction - <%= Danbooru.config.app_name %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-tag-implications">
|
<div id="c-tag-implication-requests">
|
||||||
<div id="a-request-new">
|
<div id="a-new">
|
||||||
<h1>Tag Implication Request</h1>
|
<h1>Tag Implication Request</h1>
|
||||||
|
|
||||||
<%= error_messages_for :tag_implication_request %>
|
<%= error_messages_for :tag_implication_request %>
|
||||||
@@ -34,10 +34,10 @@
|
|||||||
<%= dtext_preview_button "tag_implication_request", "reason" %>
|
<%= dtext_preview_button "tag_implication_request", "reason" %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "tag_implications/secondary_links" %>
|
<%= render "tag_implications/secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Tag Implication Request - <%= Danbooru.config.app_name %>
|
Tag Implication Request - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-tag-aliases">
|
<div id="c-tag-implications">
|
||||||
<div id="a-new">
|
<div id="a-edit">
|
||||||
<h1>Edit Tag Implication</h1>
|
<h1>Edit Tag Implication</h1>
|
||||||
|
|
||||||
<%= error_messages_for :tag_implication %>
|
<%= error_messages_for :tag_implication %>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-tag-implications">
|
||||||
|
<div id="a-show">
|
||||||
<h1>Tag Implication: <%= @tag_implication.antecedent_name %> -> <%= @tag_implication.consequent_name %></h1>
|
<h1>Tag Implication: <%= @tag_implication.antecedent_name %> -> <%= @tag_implication.consequent_name %></h1>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -12,8 +14,10 @@
|
|||||||
<li><strong>Reason</strong> <%= format_text @tag_implication.reason %></li>
|
<li><strong>Reason</strong> <%= format_text @tag_implication.reason %></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "tag_implications/secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Tag Implication - <%= Danbooru.config.app_name %>
|
Tag Implication - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-uploads">
|
||||||
|
<div id="a-show">
|
||||||
<h1>Upload #<%= @upload.id %></h1>
|
<h1>Upload #<%= @upload.id %></h1>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
@@ -36,6 +38,8 @@
|
|||||||
<%= link_to "Force update", upload_path(@upload, :format => "js"), :remote => true, :method => :put %>.
|
<%= link_to "Force update", upload_path(@upload, :format => "js"), :remote => true, :method => :put %>.
|
||||||
<% end %>
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "posts/partials/common/secondary_links" %>
|
<%= render "posts/partials/common/secondary_links" %>
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div id="c-user-feedbacks">
|
<div id="c-user-feedbacks">
|
||||||
<div id="a-new">
|
<div id="a-edit">
|
||||||
<h1>Edit User Feedback</h1>
|
<h1>Edit User Feedback</h1>
|
||||||
|
|
||||||
<div id="preview">
|
<div id="preview">
|
||||||
@@ -13,10 +13,10 @@
|
|||||||
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
|
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
|
||||||
<%= dtext_preview_button "user_feedback", "body" %>
|
<%= dtext_preview_button "user_feedback", "body" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Edit Feedback - <%= Danbooru.config.app_name %>
|
Edit Feedback - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -36,10 +36,10 @@
|
|||||||
</table>
|
</table>
|
||||||
|
|
||||||
<%= numbered_paginator(@user_feedbacks) %>
|
<%= numbered_paginator(@user_feedbacks) %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Feedback - <%= Danbooru.config.app_name %>
|
Feedback - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -14,10 +14,10 @@
|
|||||||
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
|
<%= f.button :submit, "Submit", :data => { :disable_with => "Submitting..." } %>
|
||||||
<%= dtext_preview_button "user_feedback", "body" %>
|
<%= dtext_preview_button "user_feedback", "body" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
New Feedback - <%= Danbooru.config.app_name %>
|
New Feedback - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<div id="c-user-name-change-requests">
|
<div id="c-user-name-change-requests">
|
||||||
|
<div id="a-index">
|
||||||
<h1>Name Change Requests</h1>
|
<h1>Name Change Requests</h1>
|
||||||
|
|
||||||
<table class="striped" width="100%">
|
<table class="striped" width="100%">
|
||||||
@@ -42,5 +43,6 @@
|
|||||||
|
|
||||||
<%= numbered_paginator(@change_requests) %>
|
<%= numbered_paginator(@change_requests) %>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
<div id="c-user-name-change-requests">
|
||||||
|
<div id="a-new">
|
||||||
<h1>Name Change Request</h1>
|
<h1>Name Change Request</h1>
|
||||||
|
|
||||||
<p>You can request a name change once per week. Your previous names will still
|
<p>You can request a name change once per week. Your previous names will still
|
||||||
@@ -16,5 +18,7 @@ to search engines.</p>
|
|||||||
<%= submit_tag "Submit", :data => { :disable_with => "Submitting..." } %>
|
<%= submit_tag "Submit", :data => { :disable_with => "Submitting..." } %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
<div id="c-user-name-change-requests">
|
<div id="c-user-name-change-requests">
|
||||||
|
<div id="a-show">
|
||||||
<h1>Name Change Request</h1>
|
<h1>Name Change Request</h1>
|
||||||
|
|
||||||
<table class="aligned-vertical">
|
<table class="aligned-vertical">
|
||||||
@@ -84,5 +85,6 @@
|
|||||||
</section>
|
</section>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
|
|||||||
@@ -55,9 +55,10 @@
|
|||||||
|
|
||||||
<%= numbered_paginator(@users) %>
|
<%= numbered_paginator(@users) %>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<%= render "secondary_links" %>
|
<%= render "secondary_links" %>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<% content_for(:page_title) do %>
|
<% content_for(:page_title) do %>
|
||||||
Users - <%= Danbooru.config.app_name %>
|
Users - <%= Danbooru.config.app_name %>
|
||||||
|
|||||||
Reference in New Issue
Block a user