moved out search pages
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<div class="comments">
|
||||
<div class="index">
|
||||
<div id="c-comments">
|
||||
<div id="a-index">
|
||||
<% @comments.each do |comment| %>
|
||||
<%= render :partial => "comments/partials/index/list", :locals => {:post => comment.post, :comments => [comment], :show_header => false} %>
|
||||
<% end %>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<div class="header">
|
||||
<div class="row">
|
||||
<span class="info">
|
||||
<time>Date</time>
|
||||
<strong>Date</strong>
|
||||
<%= compact_time(post.created_at) %>
|
||||
</span>
|
||||
<span class="info">
|
||||
@@ -14,7 +14,7 @@
|
||||
</span>
|
||||
<span class="info">
|
||||
<strong>Score</strong>
|
||||
<span id="score-for-post-<%= post.id %>"%>
|
||||
<span id="score-for-post-<%= post.id %>">
|
||||
<span><%= post.score %></span>
|
||||
<% if CurrentUser.user.is_privileged? %>
|
||||
(vote <%= link_to("up", post_votes_path(:score => "up", :post_id => post.id), :remote => true, :method => :post) %>/<%= link_to("down", post_votes_path(:score => "down", :post_id => post.id), :remote => true, :method => :post) %>)
|
||||
|
||||
@@ -2,9 +2,7 @@
|
||||
<div class="author">
|
||||
<h1><%= link_to comment.creator_name, user_path(comment.creator_id) %></h1>
|
||||
<p>
|
||||
<time datetime="<%= comment.created_at %>">
|
||||
<%= time_ago_in_words(comment.created_at) %> ago
|
||||
</time>
|
||||
<%= time_ago_in_words(comment.created_at) %> ago
|
||||
</p>
|
||||
</div>
|
||||
<div class="content">
|
||||
|
||||
Reference in New Issue
Block a user