Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-06 21:08:49 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-06 21:08:49 +0300
commit1ca6880aac4a41fe2ae519a87ebfb90470fad7c5 (patch)
treef01c6ed81a6850f23ee1eb64f09044ce2b57aeba /app/assets/javascripts/notes
parent4d922922a97e5ac6a1617aba00642ad7657d2727 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/notes')
-rw-r--r--app/assets/javascripts/notes/components/discussion_actions.vue2
-rw-r--r--app/assets/javascripts/notes/components/discussion_reply_placeholder.vue15
2 files changed, 11 insertions, 6 deletions
diff --git a/app/assets/javascripts/notes/components/discussion_actions.vue b/app/assets/javascripts/notes/components/discussion_actions.vue
index 878a748e99a..3d6c9e6b297 100644
--- a/app/assets/javascripts/notes/components/discussion_actions.vue
+++ b/app/assets/javascripts/notes/components/discussion_actions.vue
@@ -55,7 +55,7 @@ export default {
<div class="discussion-with-resolve-btn clearfix">
<reply-placeholder
data-qa-selector="discussion_reply_tab"
- :button-text="s__('MergeRequests|Reply...')"
+ :button-text="s__('MergeRequests|Reply')"
@onClick="$emit('showReplyForm')"
/>
diff --git a/app/assets/javascripts/notes/components/discussion_reply_placeholder.vue b/app/assets/javascripts/notes/components/discussion_reply_placeholder.vue
index 0204169214b..ab00ccdc09b 100644
--- a/app/assets/javascripts/notes/components/discussion_reply_placeholder.vue
+++ b/app/assets/javascripts/notes/components/discussion_reply_placeholder.vue
@@ -1,6 +1,11 @@
<script>
+import { GlButton } from '@gitlab/ui';
+
export default {
name: 'ReplyPlaceholder',
+ components: {
+ GlButton,
+ },
props: {
buttonText: {
type: String,
@@ -11,13 +16,13 @@ export default {
</script>
<template>
- <button
- ref="button"
- type="button"
- class="js-vue-discussion-reply btn btn-text-field"
+ <gl-button
+ category="primary"
+ variant="success"
+ class="js-vue-discussion-reply"
:title="s__('MergeRequests|Add a reply')"
@click="$emit('onClick')"
>
{{ buttonText }}
- </button>
+ </gl-button>
</template>