A platform for community discussion. Free, open, simple.
FIX: remove ellipsis in "assigned to" copy inside assign extend menu (#36314)
Yuriy Kurant849decf19244
diff --git a/plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js b/plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.jsindex da046192591..cfd964aee38 100644--- a/plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js+++ b/plugins/discourse-assign/assets/javascripts/discourse/initializers/extend-for-assigns.js@@ -105,13 +105,13 @@ function registerTopicFooterButtons(api) {translatedLabel() {const user = this.topic.assigned_to_user;const group = this.topic.assigned_to_group;- const label = i18n("discourse_assign.assigned_to_w_ellipsis");+ const label = i18n("discourse_assign.assigned_to");if (user) {return htmlSafe(- `<span class="unassign-label"><span class="text">${label}</span><span class="username">${+ `<span class="unassign-label"><span class="text">${label} </span><span class="username">${user.username- }</span></span>${renderAvatar(user, {+ }</span></span> ${renderAvatar(user, {imageSize: "small",ignoreTitle: true,})}`diff --git a/plugins/discourse-assign/config/locales/client.en.yml b/plugins/discourse-assign/config/locales/client.en.ymlindex 2a9bfc8a52f..0b0aabcdaa1 100644--- a/plugins/discourse-assign/config/locales/client.en.yml+++ b/plugins/discourse-assign/config/locales/client.en.yml@@ -36,7 +36,6 @@ en:assign_post_to: "Assigned #%{post_number} to %{username}"# assign_post_to_multiple used in list form, example: "Assigned topic to username0, [#2 to username1], [#10 to username2]"assign_post_to_multiple: "#%{post_number} to %{username}"- assigned_to_w_ellipsis: "Assigned to..."unassign:title: "Unassign"title_w_ellipsis: "Unassign..."