Commit 98d697a1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Show small notice at profile page about publicity

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent ab094e67
......@@ -86,5 +86,11 @@
%hr
= link_to 'Remove avatar', profile_avatar_path, data: { confirm: "Avatar will be removed. Are you sure?"}, method: :delete, class: "btn btn-remove btn-small remove-avatar"
- if @user.public_profile?
.bs-callout.bs-callout-info
%h4 Public profile
%p Your profile is publicly visible because you joined public project(s)
.form-actions
= f.submit 'Save changes', class: "btn btn-save"
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