Commit 7331ee3e authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'mw-replace-fa-exclamation-triangle-markdown' into 'master'

Replace fa-exclamation-triangle in markdown field

See merge request gitlab-org/gitlab!47786
parents 7891afa5 3bad84de
...@@ -141,10 +141,9 @@ export default { ...@@ -141,10 +141,9 @@ export default {
addMultipleToDiscussionWarning() { addMultipleToDiscussionWarning() {
return sprintf( return sprintf(
__( __(
'%{icon}You are about to add %{usersTag} people to the discussion. They will all receive a notification.', 'You are about to add %{usersTag} people to the discussion. They will all receive a notification.',
), ),
{ {
icon: '<i class="fa fa-exclamation-triangle" aria-hidden="true"></i>',
usersTag: `<strong><span class="js-referenced-users-count">${this.referencedUsers.length}</span></strong>`, usersTag: `<strong><span class="js-referenced-users-count">${this.referencedUsers.length}</span></strong>`,
}, },
false, false,
...@@ -293,6 +292,7 @@ export default { ...@@ -293,6 +292,7 @@ export default {
<template v-if="previewMarkdown && !markdownPreviewLoading"> <template v-if="previewMarkdown && !markdownPreviewLoading">
<div v-if="referencedCommands" class="referenced-commands" v-html="referencedCommands"></div> <div v-if="referencedCommands" class="referenced-commands" v-html="referencedCommands"></div>
<div v-if="shouldShowReferencedUsers" class="referenced-users"> <div v-if="shouldShowReferencedUsers" class="referenced-users">
<gl-icon name="warning-solid" />
<span v-html="addMultipleToDiscussionWarning"></span> <span v-html="addMultipleToDiscussionWarning"></span>
</div> </div>
</template> </template>
......
---
title: Replace fa-exclamation-triangle in markdown field MERGE_REQUEST_ID
merge_request: 47786
author:
type: changed
...@@ -528,9 +528,6 @@ msgstr "" ...@@ -528,9 +528,6 @@ msgstr ""
msgid "%{host} sign-in from new location" msgid "%{host} sign-in from new location"
msgstr "" msgstr ""
msgid "%{icon}You are about to add %{usersTag} people to the discussion. They will all receive a notification."
msgstr ""
msgid "%{integrations_link_start}Integrations%{link_end} enable you to make third-party applications part of your GitLab workflow. If the available integrations don't meet your needs, consider using a %{webhooks_link_start}webhook%{link_end}." msgid "%{integrations_link_start}Integrations%{link_end} enable you to make third-party applications part of your GitLab workflow. If the available integrations don't meet your needs, consider using a %{webhooks_link_start}webhook%{link_end}."
msgstr "" msgstr ""
...@@ -30764,6 +30761,9 @@ msgstr "" ...@@ -30764,6 +30761,9 @@ msgstr ""
msgid "You already have pending todo for this alert" msgid "You already have pending todo for this alert"
msgstr "" msgstr ""
msgid "You are about to add %{usersTag} people to the discussion. They will all receive a notification."
msgstr ""
msgid "You are about to delete %{domain} from your instance. This domain will no longer be available to any Knative application." msgid "You are about to delete %{domain} from your instance. This domain will no longer be available to any Knative application."
msgstr "" 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