diff options
author | Alexis Reigel <alexis.reigel.ext@siemens.com> | 2018-02-05 15:41:37 +0100 |
---|---|---|
committer | Alexis Reigel <mail@koffeinfrei.org> | 2018-06-05 16:20:22 +0200 |
commit | b4d84c07bcf143aeab7abccb8d0cdb849f605af5 (patch) | |
tree | 1f580e47f974711a3d2c119b33684b57df4aa638 /app/views/admin/appearances/_form.html.haml | |
parent | 36d000cb7884a0ab53f504e91fd0336cd848b32c (diff) | |
download | gitlab-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.haml | 7 |
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" |