diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-07 15:18:01 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-06-07 15:18:01 +0300 |
commit | 98d697a1a6adf2e69831dafb05fc36fdd4b797b6 (patch) | |
tree | 78c095619f5fa21766577e4a15772d16c4ffadae | |
parent | ab094e67eed54f5c29a33d2114cc91908e543972 (diff) | |
download | gitlab-ce-98d697a1a6adf2e69831dafb05fc36fdd4b797b6.tar.gz |
Show small notice at profile page about publicity
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r-- | app/views/profiles/show.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/profiles/show.html.haml b/app/views/profiles/show.html.haml index 69598e799e5..9a4c13af975 100644 --- a/app/views/profiles/show.html.haml +++ b/app/views/profiles/show.html.haml @@ -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" |