summaryrefslogtreecommitdiff
path: root/app/views/groups/settings
diff options
context:
space:
mode:
authorLuke Bennett <lbennett@gitlab.com>2019-03-14 20:52:01 +0000
committerLuke Bennett <lbennett@gitlab.com>2019-03-28 10:43:23 +0000
commit8dc7efb2b025c9519b94362f3394ea6a1889ade1 (patch)
tree4af62db8b676a465140fc652740f0f023ece1a28 /app/views/groups/settings
parent13cd7cd76ff70c4ee63a3d6aea3f76c80a29b354 (diff)
downloadgitlab-ce-8dc7efb2b025c9519b94362f3394ea6a1889ade1.tar.gz
Improve project avatar settingsce-proj-settings-ok-avatar-only
Prioritize and simplify project settings content.
Diffstat (limited to 'app/views/groups/settings')
-rw-r--r--app/views/groups/settings/_general.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/groups/settings/_general.html.haml b/app/views/groups/settings/_general.html.haml
index 9ed71d19d32..c382a1ed168 100644
--- a/app/views/groups/settings/_general.html.haml
+++ b/app/views/groups/settings/_general.html.haml
@@ -23,10 +23,10 @@
.avatar-container.rect-avatar.s90
= group_icon(@group, alt: '', class: 'avatar group-avatar s90')
= f.label :avatar, _('Group avatar'), class: 'label-bold d-block'
- = render 'shared/choose_group_avatar_button', f: f
+ = render 'shared/choose_avatar_button', f: f
- if @group.avatar?
%hr
- = link_to _('Remove avatar'), group_avatar_path(@group.to_param), data: { confirm: _('Avatar will be removed. Are you sure?')}, method: :delete, class: 'btn btn-danger btn-inverted'
+ = link_to _('Remove avatar'), group_avatar_path(@group.to_param), data: { confirm: _('Avatar will be removed. Are you sure?')}, method: :delete, class: 'btn btn-link'
= render 'shared/visibility_level', f: f, visibility_level: @group.visibility_level, can_change_visibility_level: can_change_group_visibility_level?(@group), form_model: @group