Skip to content
This repository was archived by the owner on May 28, 2024. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/gists/_list.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<% end %>
<% @gists.each do |gist| %>
<% if gist.latest_history %>
<h4>
<h4 class="clearfix">
<% if gist.is_public %>
<i class="icon-pencil"></i>&nbsp;<%= link_to gist.title, gist %>
<% if gist.favorites.present? %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/gists/_user_fav_page.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<% @favorites.each do |fav| %>
<% gist = fav.gist %>
<% if gist.present? %>
<h4>
<h4 class="clearfix">
<%= link_to gist.title, gist %>
<div class="pull-right">
<small>
Expand Down
2 changes: 1 addition & 1 deletion app/views/root/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<hr/>
<% @gists.each do |gist| %>
<% if gist.latest_history.present? %>
<h4>
<h4 class="clearfix">
<i class="icon-pencil"></i>&nbsp;<%= link_to gist.title, gist %>
<% if gist.favorites.present? %>
<small><%= gist.favorites.size %> <% if gist.favorites.size == 1 %>like<% else %>likes<% end %><% if gist.comments.present? %>,<% end %></small>
Expand Down