Commit 31e06e47 authored by Carl Chenet's avatar Carl Chenet

move logout link to settings - merged with i18n

parent c14c2599
......@@ -95,9 +95,6 @@
raw("class=\"cur_url\"") : "" %>><%= @user.username %>
(<%= @user.karma %>)</a>
<%= link_to t('.logoutlink'), { :controller => "login", :action => "logout" },
:data => { :confirm => t('.confirmlogoutlink') },
:method => "post" %>
<% else %>
<a href="/login"><%= t('.loginlink') %></a>
<% end %>
......
<div class="box wide">
<div class="legend right">
<a href="/u/<%= @user.username %>"><%= t('.viewprofile') %></a>
|
<%= link_to t('.logoutlink'), { :controller => "login", :action => "logout" },
:data => { :confirm => t('.confirmlogoutlink') },
:method => "post" %>
</div>
<div class="legend">
<%= t('.accountsettings') %>
......
......@@ -285,6 +285,7 @@ en:
deleteaccountflash: "Your account has been deleted."
verifypasswordflash: "Your password could not be verified."
index:
logoutlink: "Logout"
viewprofile: "View Profile"
accountsettings: "Account Settings"
username: "Username:"
......
......@@ -295,6 +295,7 @@ fr:
deleteaccountflash: "Votre compte a été supprimé."
verifypasswordflash: "Votre mot de passe n'a pas pu être vérifié."
index:
logoutlink: "Se déconnecter"
viewprofile: "Voir le profil"
accountsettings: "Paramètres du compte"
username: "Utilisateur :"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment