layout changes
This commit is contained in:
@@ -68,6 +68,10 @@
|
|||||||
<%= button_tag "Characters", :id => "related-characters-button" %>
|
<%= button_tag "Characters", :id => "related-characters-button" %>
|
||||||
<%= button_tag "Copyrights", :id => "related-copyrights-button" %>
|
<%= button_tag "Copyrights", :id => "related-copyrights-button" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="input">
|
||||||
|
<%= submit_tag "Submit" %>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="related-tags-container">
|
<div id="related-tags-container">
|
||||||
<h1>Related Tags</h1>
|
<h1>Related Tags</h1>
|
||||||
@@ -75,7 +79,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="input">
|
|
||||||
<%= submit_tag "Submit" %>
|
|
||||||
</div>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|||||||
@@ -1,6 +1,2 @@
|
|||||||
<% 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 %>
|
|
||||||
|
|
||||||
<%= image_tag(post.file_url_for(CurrentUser.user), :width => post.image_width_for(CurrentUser.user), :height => post.image_height_for(CurrentUser.user), :id => "image", "data-original-width" => post.image_width, "data-original-height" => post.image_height, "data-large-width" => post.large_image_width, "data-large-height" => post.large_image_height) %>
|
<%= image_tag(post.file_url_for(CurrentUser.user), :width => post.image_width_for(CurrentUser.user), :height => post.image_height_for(CurrentUser.user), :id => "image", "data-original-width" => post.image_width, "data-original-height" => post.image_height, "data-large-width" => post.large_image_width, "data-large-height" => post.large_image_height) %>
|
||||||
|
|
||||||
|
|||||||
@@ -52,4 +52,10 @@
|
|||||||
<div class="ui-corner-all ui-state-highlight notice">
|
<div class="ui-corner-all ui-state-highlight notice">
|
||||||
This post has <%= link_to "children", posts_path(:tags => "parent:#{post.id}") %> (<%= link_to "learn more", wiki_pages_path(:title => "help:post_relationships") %>)
|
This post has <%= link_to "children", posts_path(:tags => "parent:#{post.id}") %> (<%= link_to "learn more", wiki_pages_path(:title => "help:post_relationships") %>)
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
|
<% if post.has_large? && CurrentUser.default_image_size == "large" %>
|
||||||
|
<div class="ui-corner-all ui-state-highlight notice" 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" %>)
|
||||||
|
</div>
|
||||||
|
<% end %>
|
||||||
|
|||||||
Reference in New Issue
Block a user