summaryrefslogtreecommitdiff
path: root/app/views/admin/appearances/_form.html.haml
diff options
context:
space:
mode:
authorAlexis Reigel <alexis.reigel.ext@siemens.com>2018-02-05 15:41:37 +0100
committerAlexis Reigel <mail@koffeinfrei.org>2018-06-05 16:20:22 +0200
commitb4d84c07bcf143aeab7abccb8d0cdb849f605af5 (patch)
tree1f580e47f974711a3d2c119b33684b57df4aa638 /app/views/admin/appearances/_form.html.haml
parent36d000cb7884a0ab53f504e91fd0336cd848b32c (diff)
downloadgitlab-ce-b4d84c07bcf143aeab7abccb8d0cdb849f605af5.tar.gz
remove favicon preview on appearance page
Diffstat (limited to 'app/views/admin/appearances/_form.html.haml')
-rw-r--r--app/views/admin/appearances/_form.html.haml7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/views/admin/appearances/_form.html.haml b/app/views/admin/appearances/_form.html.haml
index 308a779cb88..81979f7b331 100644
--- a/app/views/admin/appearances/_form.html.haml
+++ b/app/views/admin/appearances/_form.html.haml
@@ -62,12 +62,7 @@
= f.label :favicon, 'Favicon', class: 'control-label'
.col-sm-10
- if @appearance.favicon?
- = image_tag @appearance.favicon.favicon_main.url, class: 'appearance-light-logo-preview js-main-favicon'
- - if @appearance.favicon?
- = f.label :favicon, 'Status icons preview', class: 'control-label'
- .col-sm-10
- - if @appearance.favicon?
- .js-favicons{ data: { favicon: @appearance.favicon.favicon_main.url, status_overlays: Gitlab::Favicon.available_status_overlays } }
+ = image_tag @appearance.favicon.favicon_main.url, class: 'appearance-light-logo-preview'
- if @appearance.persisted?
%br
= link_to 'Remove favicon', favicon_admin_appearances_path, data: { confirm: "Favicon will be removed. Are you sure?"}, method: :delete, class: "btn btn-inverted btn-remove btn-sm remove-logo"