summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZ.J. van de Weg <git@zjvandeweg.nl>2016-12-29 10:58:27 +0100
committerZ.J. van de Weg <git@zjvandeweg.nl>2016-12-29 10:58:27 +0100
commit1e1ee46a458b18e07bc0748ed60e7493900956f1 (patch)
tree9b19b37cae0a07a970f93338b411daa021c571fa
parent126645c6f29e434a2bbb146d88c63accb412e1f2 (diff)
downloadgitlab-ce-use-stable-icon-url.tar.gz
Rename logo, apply for Slack toouse-stable-icon-url
-rw-r--r--app/controllers/projects/mattermosts_controller.rb2
-rw-r--r--app/views/projects/services/slack_slash_commands/_help.html.haml2
-rw-r--r--public/slash-command-logo.png (renamed from public/mattermost-command-logo.png)bin9509 -> 9509 bytes
3 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/projects/mattermosts_controller.rb b/app/controllers/projects/mattermosts_controller.rb
index bddfa6ebe0f..01d99c7df35 100644
--- a/app/controllers/projects/mattermosts_controller.rb
+++ b/app/controllers/projects/mattermosts_controller.rb
@@ -30,7 +30,7 @@ class Projects::MattermostsController < Projects::ApplicationController
def configure_params
params.require(:mattermost).permit(:trigger, :team_id).merge(
url: service_trigger_url(@service),
- icon_url: asset_url('mattermost-command-logo.png'))
+ icon_url: asset_url('slash-command-logo.png'))
end
def teams
diff --git a/app/views/projects/services/slack_slash_commands/_help.html.haml b/app/views/projects/services/slack_slash_commands/_help.html.haml
index c45052e3954..6d7c2defe2b 100644
--- a/app/views/projects/services/slack_slash_commands/_help.html.haml
+++ b/app/views/projects/services/slack_slash_commands/_help.html.haml
@@ -50,7 +50,7 @@
.form-group
= label_tag nil, 'Customize icon', class: 'col-sm-2 col-xs-12 control-label'
.col-sm-10.col-xs-12.text-block
- = image_tag(asset_url('gitlab_logo.png'), width: 36, height: 36)
+ = image_tag(asset_url('slash-command-logo.png'), width: 36, height: 36)
= link_to('Download image', asset_url('gitlab_logo.png'), class: 'btn btn-sm', target: '_blank')
.form-group
diff --git a/public/mattermost-command-logo.png b/public/slash-command-logo.png
index 05c8b0d0ccf..05c8b0d0ccf 100644
--- a/public/mattermost-command-logo.png
+++ b/public/slash-command-logo.png
Binary files differ