text adjustments
This commit is contained in:
@@ -4,15 +4,17 @@
|
|||||||
<%= hidden_field_tag "post_id", @post.id %>
|
<%= hidden_field_tag "post_id", @post.id %>
|
||||||
<%= text_field_tag "pool_name", "", :size => 20 %>
|
<%= text_field_tag "pool_name", "", :size => 20 %>
|
||||||
<%= submit_tag "Select" %>
|
<%= submit_tag "Select" %>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<div>
|
<% if recent_updated_pools.any? %>
|
||||||
<h1>Recent Pools</h1>
|
<div>
|
||||||
<ul id="recent-pools">
|
<h1>Recent Pools</h1>
|
||||||
<% recent_updated_pools.each do |pool| %>
|
<ul id="recent-pools">
|
||||||
<li><%= pool.name %></li>
|
<% recent_updated_pools.each do |pool| %>
|
||||||
<% end %>
|
<li><%= pool.name %></li>
|
||||||
</ul>
|
<% end %>
|
||||||
</div>
|
</ul>
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
<ul>
|
<ul>
|
||||||
<% if CurrentUser.is_member? %>
|
<% if CurrentUser.is_member? %>
|
||||||
<li><%= link_to "Favorite", favorites_path(:post_id => post.id), :remote => true, :method => :post, :id => "add-to-favorites" %></li>
|
<li><%= link_to "Add to favorites", favorites_path(:post_id => post.id), :remote => true, :method => :post, :id => "add-to-favorites" %></li>
|
||||||
<li><%= link_to "Unfavorite", favorite_path(post), :remote => true, :method => :delete, :id => "remove-from-favorites" %></li>
|
<li><%= link_to "Remove from favorites", favorite_path(post), :remote => true, :method => :delete, :id => "remove-from-favorites" %></li>
|
||||||
<li><%= link_to "Pool", "#", :id => "pool" %></li>
|
<li><%= link_to "Add to pool", "#", :id => "pool" %></li>
|
||||||
<li><%= link_to "Translate", "#", :id => "translate", :title => "Shortcut is CTRL+N" %></li>
|
<li><%= link_to "Translate", "#", :id => "translate", :title => "Shortcut is CTRL+N" %></li>
|
||||||
<li><%= link_to "Find similar", "http://danbooru.iqdb.org/db-search.php?url=http://#{Danbooru.config.hostname}#{post.preview_file_url}" %></li>
|
<li><%= link_to "Find similar", "http://danbooru.iqdb.org/db-search.php?url=http://#{Danbooru.config.hostname}#{post.preview_file_url}" %></li>
|
||||||
|
|
||||||
|
|||||||
@@ -66,15 +66,15 @@
|
|||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="flag-dialog" title="Flag Post">
|
<div id="flag-dialog" title="Flag post">
|
||||||
<%= render :template => "post_flags/new" %>
|
<%= render :template => "post_flags/new" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="appeal-dialog" title="Appeal Post">
|
<div id="appeal-dialog" title="Appeal post">
|
||||||
<%= render :template => "post_appeals/new" %>
|
<%= render :template => "post_appeals/new" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="add-to-pool-dialog" title="Add to Pool">
|
<div id="add-to-pool-dialog" title="Add to pool">
|
||||||
<%= render :template => "pool_elements/new" %>
|
<%= render :template => "pool_elements/new" %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user