mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Default to keeping user's email addresses private.
This commit is contained in:
parent
d61b4253df
commit
ed6b2d8c93
7 changed files with 31 additions and 17 deletions
|
|
@ -25,10 +25,7 @@
|
|||
%ul.nav.navbar-nav.navbar-right
|
||||
%li.dropdown
|
||||
%a.dropdown-toggle{"data-toggle" => "dropdown", href: '#', id: "current-user-detail"}
|
||||
- if not current_user.name.blank?
|
||||
#{current_user.name}
|
||||
-else
|
||||
#{current_user.email}
|
||||
= current_user.name
|
||||
= image_tag(current_user.gravatar_url(size: '18'), title: "Yo #{current_user.name}!", alt: '')
|
||||
%b.caret
|
||||
%ul.dropdown-menu
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue