Merge remote-tracking branch 'upstream/pull/2014'
This commit is contained in:
commit
b8a8a88004
58 changed files with 297 additions and 297 deletions
|
@ -63,7 +63,7 @@
|
|||
|
||||
<% unless current_user %>
|
||||
<div class="notice">
|
||||
<%= link_to(t(".join_discussion"), :controller => 'user', :action => 'login', :referer => request.fullpath) %>
|
||||
<%= link_to(t(".join_discussion"), :controller => 'users', :action => 'login', :referer => request.fullpath) %>
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
xml.a(user.display_name, :href => url_for(:controller => "user", :action => "view", :display_name => user.display_name))
|
||||
xml.a(user.display_name, :href => url_for(:controller => "users", :action => "view", :display_name => user.display_name))
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
<div class="diary-subscribe-buttons"><%= link_to t('javascripts.changesets.show.subscribe'), diary_entry_subscribe_path(:display_name => @entry.user.display_name, :id => @entry.id), :method => :post, :class => :button %></div>
|
||||
<% end %>
|
||||
<% else %>
|
||||
<h3 id="newcomment"><%= raw t(".login_to_leave_a_comment", :login_link => link_to(t(".login"), :controller => 'user', :action => 'login', :referer => request.fullpath)) %></h3>
|
||||
<h3 id="newcomment"><%= raw t(".login_to_leave_a_comment", :login_link => link_to(t(".login"), :controller => 'users', :action => 'login', :referer => request.fullpath)) %></h3>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -82,14 +82,14 @@
|
|||
<li>
|
||||
<%= link_to inbox_messages_path do %>
|
||||
<span class='count-number'><%= number_with_delimiter(current_user.new_messages.size) %></span>
|
||||
<%= t('user.show.my messages') %>
|
||||
<%= t('users.show.my messages') %>
|
||||
<% end %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to t('user.show.my profile'), user_path(current_user) %>
|
||||
<%= link_to t('users.show.my profile'), user_path(current_user) %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to t('user.show.my settings'), :controller => 'user', :action => 'account', :display_name => current_user.display_name %>
|
||||
<%= link_to t('users.show.my settings'), :controller => 'users', :action => 'account', :display_name => current_user.display_name %>
|
||||
</li>
|
||||
<li class="divider"></li>
|
||||
<li>
|
||||
|
|
|
@ -35,12 +35,12 @@
|
|||
</p>
|
||||
|
||||
<ul class='secondary-actions clearfix deemphasize'>
|
||||
<li><%= link_to t('user.show.send message'), new_message_path(contact) %></li>
|
||||
<li><%= link_to t('users.show.send message'), new_message_path(contact) %></li>
|
||||
<li>
|
||||
<% if current_user.is_friends_with?(contact) %>
|
||||
<%= link_to t('user.show.remove as friend'), remove_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
|
||||
<%= link_to t('users.show.remove as friend'), remove_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
|
||||
<% else %>
|
||||
<%= link_to t('user.show.add as friend'), make_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
|
||||
<%= link_to t('users.show.add as friend'), make_friend_path(:display_name => contact.display_name, :referer => request.fullpath), :method => :post %>
|
||||
<% end %>
|
||||
</li>
|
||||
</ul>
|
|
@ -7,13 +7,13 @@
|
|||
<td>
|
||||
<p>
|
||||
<% if user.creation_ip %>
|
||||
<%= raw t 'user.index.summary',
|
||||
<%= 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)
|
||||
%>
|
||||
<% else %>
|
||||
<%= raw t 'user.index.summary_no_ip',
|
||||
<%= raw t 'users.index.summary_no_ip',
|
||||
:name => link_to(h(user.display_name), user_path(user)),
|
||||
:date => l(user.creation_time, :format => :friendly)
|
||||
%>
|
|
@ -6,7 +6,7 @@
|
|||
<h1><%= t '.my settings' %></h1>
|
||||
<ul class='secondary-actions clearfix'>
|
||||
<li><%= link_to t('.return to profile'), user_path(current_user) %></li>
|
||||
<li><%= link_to t('user.show.oauth settings'), :controller => 'oauth_clients', :action => 'index' %></li>
|
||||
<li><%= link_to t('users.show.oauth settings'), :controller => 'oauth_clients', :action => 'index' %></li>
|
||||
</ul>
|
||||
<% end %>
|
||||
|
||||
|
@ -14,7 +14,7 @@
|
|||
<%= form_for current_user, :url => { :action => :account }, :method => :post, :html => { :multipart => true, :id => 'accountForm', :class => 'standard-form', :autocomplete => :off } do |f| %>
|
||||
<fieldset>
|
||||
<div class="form-row">
|
||||
<label class="standard-label"><%= t 'user.new.display name' %></label>
|
||||
<label class="standard-label"><%= t 'users.new.display name' %></label>
|
||||
<%= f.text_field :display_name %>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -35,12 +35,12 @@
|
|||
|
||||
<fieldset>
|
||||
<div class="form-row">
|
||||
<label class="standard-label"><%= t 'user.new.password' %></label>
|
||||
<label class="standard-label"><%= t 'users.new.password' %></label>
|
||||
<%= f.password_field :pass_crypt, {:value => '', :autocomplete => :off} %>
|
||||
</div>
|
||||
|
||||
<div class="form-row">
|
||||
<label class="standard-label"><%= t 'user.new.confirm password' %></label>
|
||||
<label class="standard-label"><%= t 'users.new.confirm password' %></label>
|
||||
<%= f.password_field :pass_crypt_confirmation, {:value => '', :autocomplete => :off} %>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
@ -79,7 +79,7 @@
|
|||
<% end %>
|
||||
<% else %>
|
||||
<%= t '.contributor terms.not yet agreed' %>
|
||||
<%= link_to t('.contributor terms.review link text'), :controller => 'user', :action => 'terms' %>
|
||||
<%= link_to t('.contributor terms.review link text'), :controller => 'users', :action => 'terms' %>
|
||||
<% end %>
|
||||
</span>
|
||||
</div>
|
|
@ -28,7 +28,7 @@
|
|||
<%= password_field_tag "password", "", :tabindex => 2 %>
|
||||
</div>
|
||||
<span class="form-help deemphasize">
|
||||
<%= link_to t('.lost password link'), :controller => 'user', :action => 'lost_password' %>
|
||||
<%= link_to t('.lost password link'), :controller => 'users', :action => 'lost_password' %>
|
||||
</span>
|
||||
</fieldset>
|
||||
|
||||
|
@ -69,7 +69,7 @@
|
|||
<div id='login_openid_url' class='form-row'>
|
||||
<label for='openid_url' class="standard-label"><%= raw t '.openid', :logo => openid_logo %></label>
|
||||
<%= text_field_tag("openid_url", "", { :tabindex => 3, :class => "openid_url" }) %>
|
||||
<span class="minorNote">(<a href="<%= t 'user.account.openid.link' %>" target="_new"><%= t 'user.account.openid.link text' %></a>)</span>
|
||||
<span class="minorNote">(<a href="<%= t 'users.account.openid.link' %>" target="_new"><%= t 'users.account.openid.link text' %></a>)</span>
|
||||
</div>
|
||||
|
||||
<div class='form-row'>
|
|
@ -25,7 +25,7 @@
|
|||
<%= link_to t('.my comments' ), :controller => 'diary_entry', :action => 'comments', :display_name => current_user.display_name %>
|
||||
</li>
|
||||
<li>
|
||||
<%= link_to t('.my settings'), :controller => 'user', :action => 'account', :display_name => current_user.display_name %>
|
||||
<%= link_to t('.my settings'), :controller => 'users', :action => 'account', :display_name => current_user.display_name %>
|
||||
</li>
|
||||
|
||||
<% if current_user.blocks.exists? %>
|
||||
|
@ -179,7 +179,7 @@
|
|||
<% if current_user and @user.id == current_user.id %>
|
||||
<% if @user.home_lat.nil? or @user.home_lon.nil? %>
|
||||
<div id="map" class="content_map">
|
||||
<p id="no_home_location"><%= raw(t '.if set location', :settings_link => (link_to t('.settings_link_text'), :controller => 'user', :action => 'account', :display_name => current_user.display_name)) %></p>
|
||||
<p id="no_home_location"><%= raw(t '.if set location', :settings_link => (link_to t('.settings_link_text'), :controller => 'users', :action => 'account', :display_name => current_user.display_name)) %></p>
|
||||
</div>
|
||||
<% else %>
|
||||
<% content_for :head do %>
|
Loading…
Add table
Add a link
Reference in a new issue