* Turn the hardcoded #<%= changeset.id %> into t('msg', :id =>

changeset.id). Some languages may have a different numeric
   indicator than the ASCII pound symbol

 * Instead of including a column on :user/edits with a "more" link
   make the changeset ID link to the changeset page.
This commit is contained in:
Ævar Arnfjörð Bjarmason 2009-07-29 11:05:17 +00:00
parent 705ae98e9a
commit e2abf1254b
24 changed files with 10 additions and 27 deletions

View file

@ -2,7 +2,12 @@
<% cl = cycle('table0', 'table1') %>
<td class="<%= cl %>">
#<%= changeset.id %>
<%=
id_link = link_to(changeset.id,
{:controller => 'browse', :action => 'changeset', :id => changeset.id},
{:title => t('changeset.changeset.view_changeset_details')})
t'changeset.changeset.id', :id => id_link
%>
</td>
<td class="<%= cl %> date">
@ -48,8 +53,4 @@
%>
</td>
<td class="<%= cl %>">
<%= link_to t('changeset.changeset.more'), {:controller => 'browse', :action => 'changeset', :id => changeset.id}, {:title => t('changeset.changeset.view_changeset_details')} %>
</td>
</tr>

View file

@ -8,7 +8,6 @@
<% end %>
<th><%= t'changeset.changesets.comment' %></th>
<th><%= t'changeset.changesets.area' %></th>
<th></th>
</tr>
<%= render :partial => 'changeset', :locals => {:showusername => showusername}, :collection => @edits unless @edits.nil? %>
</table>