Whitespace fixes for users erb files
This commit is contained in:
parent
aa9e9a5eb1
commit
5029db24fa
9 changed files with 31 additions and 35 deletions
|
@ -27,8 +27,7 @@
|
|||
<% comment = changeset.tags['comment'].to_s != '' ? changeset.tags['comment'] : t('browse.no_comment') %>
|
||||
"<%= link_to(comment,
|
||||
{ :controller => 'browse', :action => 'changeset', :id => changeset.id },
|
||||
{:title => t('changesets.changeset.view_changeset_details')})
|
||||
%>"
|
||||
{ :title => t('changesets.changeset.view_changeset_details') }) %>"
|
||||
<% else %>
|
||||
<%= t 'changesets.changeset.no_edits' %>
|
||||
<% end %>
|
||||
|
|
|
@ -10,13 +10,11 @@
|
|||
<%= raw t 'users.index.summary',
|
||||
:name => link_to(h(user.display_name), user_path(user)),
|
||||
:ip_address => link_to(user.creation_ip, :ip => user.creation_ip),
|
||||
:date => l(user.creation_time, :format => :friendly)
|
||||
%>
|
||||
:date => l(user.creation_time, :format => :friendly) %>
|
||||
<% else %>
|
||||
<%= raw t 'users.index.summary_no_ip',
|
||||
:name => link_to(h(user.display_name), user_path(user)),
|
||||
:date => l(user.creation_time, :format => :friendly)
|
||||
%>
|
||||
:date => l(user.creation_time, :format => :friendly) %>
|
||||
<% end %>
|
||||
</p>
|
||||
<div class="richtext"><%= user.description.to_html %></div>
|
||||
|
|
|
@ -21,8 +21,7 @@
|
|||
:first_item => @user_pages.current_page.first_item,
|
||||
:last_item => @user_pages.current_page.last_item,
|
||||
:items => @user_pages.item_count,
|
||||
:count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1
|
||||
%>
|
||||
:count => @user_pages.current_page.last_item - @user_pages.current_page.first_item + 1 %>
|
||||
<% if @user_pages.page_count > 1 %>
|
||||
| <%= raw pagination_links_each(@user_pages, {}) { |n| link_to n, @params.merge(:page => n) } %>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue