Commit 001e7ca1 authored by Justin Ho's avatar Justin Ho

Remove gif and docs link

No longer required by design
parent 4162ce60
<script>
/* eslint-disable @gitlab/vue-require-i18n-strings */
import { GlButton, GlIcon } from '@gitlab/ui';
import createFlash from '~/flash';
import { redirectTo } from '~/lib/utils/url_utility';
......@@ -24,10 +23,6 @@ export default {
type: Boolean,
required: true,
},
gitlabForSlackGifPath: {
type: String,
required: true,
},
signInPath: {
type: String,
required: true,
......@@ -44,10 +39,6 @@ export default {
type: String,
required: true,
},
docsPath: {
type: String,
required: true,
},
},
data() {
return {
......@@ -123,27 +114,5 @@ export default {
}}</gl-button>
</template>
</div>
<div class="center prepend-top-20 gl-mb-3 gl-mr-2 gl-ml-2">
<img v-once :src="gitlabForSlackGifPath" class="gl-w-full" />
</div>
<div v-once class="text-center">
<h3>{{ __('How it works') }}</h3>
<div class="mx-auto">
<code class="code mx-auto gl-mb-3"
>/gitlab &lt;project-alias&gt; issue show &lt;id&gt;</code
>
<span>
<gl-icon name="arrow-right" class="gl-mr-2 gl-text-gray-200" />
Shows the issue with id <strong>&lt;id&gt;</strong>
</span>
<div class="gl-mt-3">
<a v-once :href="docsPath">{{ __('More Slack commands') }}</a>
</div>
</div>
</div>
</div>
</template>
......@@ -10,12 +10,10 @@ export default () => {
const {
projects,
isSignedIn,
gitlabForSlackGifPath,
signInPath,
slackLinkPath,
gitlabLogoPath,
slackLogoPath,
docsPath,
} = el.dataset;
return new Vue({
......@@ -25,12 +23,10 @@ export default () => {
props: {
projects: JSON.parse(projects),
isSignedIn: parseBoolean(isSignedIn),
gitlabForSlackGifPath,
signInPath,
slackLinkPath,
gitlabLogoPath,
slackLogoPath,
docsPath,
},
});
},
......
......@@ -40,10 +40,8 @@ module EE
sign_in_path: new_session_path(:user, redirect_to_referer: 'yes'),
is_signed_in: current_user.present?.to_s,
slack_link_path: slack_link_profile_slack_path,
gitlab_for_slack_gif_path: image_path('gitlab_for_slack.gif'),
gitlab_logo_path: image_path('illustrations/gitlab_logo.svg'),
slack_logo_path: image_path('illustrations/slack_logo.svg'),
docs_path: help_page_path('user/project/integrations/gitlab_slack_application.md')
slack_logo_path: image_path('illustrations/slack_logo.svg')
}
end
......
......@@ -138,10 +138,8 @@ RSpec.describe EE::IntegrationsHelper do
:sign_in_path,
:is_signed_in,
:slack_link_path,
:gitlab_for_slack_gif_path,
:gitlab_logo_path,
:slack_logo_path,
:docs_path
:slack_logo_path
)
end
......
......@@ -17721,9 +17721,6 @@ msgstr ""
msgid "How do I use file templates?"
msgstr ""
msgid "How it works"
msgstr ""
msgid "How many days need to pass between marking entity for deletion and actual removing it."
msgstr ""
......@@ -23122,9 +23119,6 @@ msgstr ""
msgid "More Information"
msgstr ""
msgid "More Slack commands"
msgstr ""
msgid "More actions"
msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment