Skip to content

Commit

Permalink
update UI for Topic#show
Browse files Browse the repository at this point in the history
  • Loading branch information
YANKE Guo committed Feb 8, 2015
1 parent fcb129b commit 8a0dd02
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions app/views/topics/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,12 @@
<span class="label label-default pull-right"><%= post.topic.title %></span>
<% end %>
<br/>
<span class="list-group-item-text text-muted">
<small>
<%= glyphicon :comment %> <%= post.sub_posts.count %> |
<%= post.user.nickname %> |
<%= time_ago_in_words post.created_at %>
</small>
</span>
<small class="text-primary">
<%= post.user.nickname %> |
<%= time_ago_in_words post.created_at %>
</small>
</h4>
<p class="list-group-item-text">
<p class="list-group-item-text text-muted">
<%= post.content_plain.truncate(100) %>
</p>
<% end %>
Expand Down

0 comments on commit 8a0dd02

Please sign in to comment.