This commit is contained in:
albert
2012-04-18 12:20:49 -04:00
parent 13e66ef832
commit 3cbcd1e6b9
5 changed files with 6 additions and 5 deletions

View File

@@ -1 +1 @@
Danbooru.notice("Pool deleted");
location.reload();

View File

@@ -0,0 +1 @@
location.reload();

View File

@@ -62,7 +62,7 @@
<%= f.label :tag_string, "Tags" %>
<%= f.text_area :tag_string , :size => "50x3" %>
</div>
<%= button_tag "Related tags", :id => "related-tags-button" %>
<%= button_tag "Artists", :id => "related-artists-button" %>
<%= button_tag "Characters", :id => "related-characters-button" %>

View File

@@ -2,4 +2,4 @@
<% if post.has_large? && CurrentUser.default_image_size == "large" %>
<p id="image-resize-notice">Resized to <%= number_to_percentage post.resize_percentage, :precision => 0 %> of original (<%= link_to "view original", post.file_url, :id => "image-resize-link" %>)</p>
<% end %>
<% end %>

View File

@@ -7,7 +7,7 @@
<li><%= link_to "Find similar", "http://danbooru.iqdb.org/db-search.php?url=#{post.preview_file_url}" %></li>
<% unless post.is_status_locked? %>
<% if !post.is_deleted? %>
<% if !post.is_deleted? && !post.is_pending? %>
<li><%= link_to "Flag", new_post_flag_path(:post_id => post.id), :id => "flag" %></li>
<% end %>
@@ -35,6 +35,6 @@
<% end %>
<% if CurrentUser.is_admin? %>
<li><%= link_to "Annihilate", annihilate_moderator_post_post_path(:post_id => post.id), :remote => true, :method => :post, :id => "annihilate", :confirm => "This will permanently delete this post (meaning the file will be deleted). Are you sure you want to annihilate this post?" %></li>
<li><%= link_to "Permanent delete", annihilate_moderator_post_post_path(:post_id => post.id), :remote => true, :method => :post, :id => "annihilate", :confirm => "This will permanently delete this post (meaning the file will be deleted). Are you sure you want to delete this post?" %></li>
<% end %>
</ul>