Add edit_password button and member_profile button for frontend orbit bar

This commit is contained in:
manson 2014-07-22 09:58:41 +08:00
parent 3fae3327b3
commit a8f2112e39
1 changed files with 2 additions and 0 deletions

View File

@ -102,6 +102,8 @@
<li>
<span id="user"><%= current_user.member_profile.name.nil? ? current_user.user_name : current_user.member_profile.name %></span>
<ul>
<li><%= link_to content_tag(:i, nil, class: 'icons-tools') + ' ' + t("users.change_passwd"),admin_member_edit_passwd_path(current_user.member_profile.to_param), tabindex: '-1' %></li>
<li><%= link_to content_tag(:i, nil, class: 'icons-vcard') + ' ' + t("users.user_basic_data"),admin_member_path(current_user.member_profile.to_param), tabindex: '-1' %></li>
<li>
<a href="/logout"><i class="icons-logout"></i><%= t(:logout) %></a>
</li>