diff --git a/app/assets/javascripts/diffs/components/diff_comment_cell.vue b/app/assets/javascripts/diffs/components/diff_comment_cell.vue
index 3eae6263eca8689e213b9c918c77e349a1b58525..bb98eca05e6a60ec1846848819bd5f498504f216 100644
--- a/app/assets/javascripts/diffs/components/diff_comment_cell.vue
+++ b/app/assets/javascripts/diffs/components/diff_comment_cell.vue
@@ -1,6 +1,9 @@
@@ -60,6 +114,7 @@ export default {
:has-form="line.hasCommentForm"
:render-reply-placeholder="Boolean(line.discussions.length)"
@showNewDiscussionForm="showCommentForm({ lineCode: line.line_code, fileHash: diffFileHash })"
+ @showSignInModal="showSignInModal"
>
+
+
+ {{ modalText }}
+
+
+ {{ signInButtonText }}
+
+
+
diff --git a/app/assets/javascripts/diffs/components/diff_discussion_reply.vue b/app/assets/javascripts/diffs/components/diff_discussion_reply.vue
index 9b7ee725edb32808d2bcd293e3123129f8a02f06..a7ab00bd57b36a23948fbd8e4435a65fdc57bd68 100644
--- a/app/assets/javascripts/diffs/components/diff_discussion_reply.vue
+++ b/app/assets/javascripts/diffs/components/diff_discussion_reply.vue
@@ -1,9 +1,9 @@
@@ -56,11 +64,11 @@ export default {
-
+
{{ $options.i18n.START_THREAD }}
-
+
diff --git a/app/assets/javascripts/notes/components/noteable_discussion.vue b/app/assets/javascripts/notes/components/noteable_discussion.vue
index 557a6612b5a076f37464f23bb3a75cde6623fb8c..4294aa94f3684d4b932426e8edd4118b2bffaa77 100644
--- a/app/assets/javascripts/notes/components/noteable_discussion.vue
+++ b/app/assets/javascripts/notes/components/noteable_discussion.vue
@@ -1,5 +1,5 @@
@@ -363,13 +406,13 @@ export default {
>
-
@@ -393,5 +435,18 @@ export default {
+
+ {{ modalText }}
+
+
+ {{ signInButtonText }}
+
+
+
diff --git a/ee/app/assets/javascripts/vulnerabilities/components/history_comment.vue b/ee/app/assets/javascripts/vulnerabilities/components/history_comment.vue
index 5533fcae5c3c25e05346738980933ca1762262b0..16009cc3ec7f1cf46a175a5e092773463dc034cc 100644
--- a/ee/app/assets/javascripts/vulnerabilities/components/history_comment.vue
+++ b/ee/app/assets/javascripts/vulnerabilities/components/history_comment.vue
@@ -1,5 +1,5 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+ {{ __('Delete') }}
+
+
+ {{ __('Cancel') }}
+
+
+
+
+
+
-
-
- {{ __('Delete') }}
-
-
- {{ __('Cancel') }}
-
-
-
-
-
-
+
+ {{ modalText }}
+
+
+ {{ signInButtonText }}
+
+
+
diff --git a/locale/gitlab.pot b/locale/gitlab.pot
index 2b6701a2d06d3b07207f5754c35014293ce08eb6..6cc4bc3a57f5d17b5ae9256e4b6db040104fe974 100644
--- a/locale/gitlab.pot
+++ b/locale/gitlab.pot
@@ -55325,6 +55325,9 @@ msgstr ""
msgid "Sign in preview"
msgstr ""
+msgid "Sign in required"
+msgstr ""
+
msgid "Sign in to GitLab"
msgstr ""
@@ -67794,6 +67797,12 @@ msgstr ""
msgid "You need to set terms to be enforced"
msgstr ""
+msgid "You need to sign in to comment on this merge request."
+msgstr ""
+
+msgid "You need to sign in to comment on this vulnerability."
+msgstr ""
+
msgid "You need to specify both an access token and a Host URL."
msgstr ""