summaryrefslogtreecommitdiff
path: root/app
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>2017-01-03 15:01:28 +0100
commit05228dddffbfe7863e129d8778c83c203d9fd883 (patch)
tree303ad6ab7be5cded2073e2158ab749228209a1f7 /app
parentb0667332ca260dca54b612f4f0b7f664ff000693 (diff)
downloadgitlab-ce-05228dddffbfe7863e129d8778c83c203d9fd883.tar.gz
Rename logo, apply for Slack too
Diffstat (limited to 'app')
-rw-r--r--app/controllers/projects/mattermosts_controller.rb2
-rw-r--r--app/views/projects/services/slack_slash_commands/_help.html.haml2
2 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