Improve browse design

This commit is contained in:
John Firebaugh 2013-11-11 17:57:38 -08:00
parent bd19e75214
commit c4090bb150
19 changed files with 278 additions and 357 deletions

View file

@ -13,14 +13,14 @@
%>
<%= content_tag "li", :id => "changeset_#{changeset.id}", :data => {:changeset => changeset_data} do %>
<p class="comment">
<a class="changeset_id" href="<%= changeset_path(changeset.id) %>">
<% if changeset.tags['comment'].to_s != '' %>
<%= linkify(h(changeset.tags['comment'])) %>
<% else %>
<%= t 'changeset.changeset.no_comment' %>
<% end %>
</a>
</p>
<h4><%= changeset_details(changeset) %></h4>
<h4>
<a class="changeset_id" href="<%= changeset_path(changeset.id) %>">
<% if changeset.tags['comment'].to_s != '' %>
<%= linkify(h(changeset.tags['comment'])) %>
<% else %>
<%= t 'changeset.changeset.no_comment' %>
<% end %>
</a>
</h4>
<div class="details"><%= changeset_details(changeset) %></div>
<% end %>

View file

@ -7,7 +7,7 @@
<%= image_tag "searching.gif", :class => "loader", :style => "display: none;" %>
</div>
<% elsif params[:max_id] %>
<h4 class="inner22"><%= t('changeset.list.no_more') %></h4>
<div class="inner22"><%= t('changeset.list.no_more') %></div>
<% else %>
<h4 class="inner22"><%= t('changeset.list.empty') %></h4>
<div class="inner22"><%= t('changeset.list.empty') %></div>
<% end %>