posts: add /posts/{id}.html?variant=tooltip template.
This commit is contained in:
7
app/views/posts/show.html+tooltip.erb
Normal file
7
app/views/posts/show.html+tooltip.erb
Normal file
@@ -0,0 +1,7 @@
|
||||
<%= @post.presenter.split_inline_tag_list_html(self) %>
|
||||
|
||||
<div class="post-tooltip-metatags">
|
||||
<%= link_to_search "user:#{@post.uploader_name}" if CurrentUser.is_moderator? %>
|
||||
<%= link_to_search "rating:#{@post.pretty_rating.downcase}" %>
|
||||
<%= link_to_search "score:#{@post.score}" %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user