From 355dbb928a2b9e8319fa4c0bba38876559ae0a5d Mon Sep 17 00:00:00 2001 From: Jarek Radosz Date: Tue, 13 Aug 2024 12:39:24 +0200 Subject: [PATCH] Revert "DEV: Use `on` modifier (or `@action` param) (#28323)" (#28338) This reverts commit e3e5710b3d0c81217628bf913d888eab800e6435. --- .../addon/components/admin-watched-word.hbs | 2 +- .../discourse/app/components/expand-post.hbs | 4 +-- .../app/components/software-update-prompt.hbs | 4 +-- .../components/topic-timeline/container.hbs | 34 ++++++++----------- .../app/components/user-status-picker.hbs | 6 ++-- .../components/poll-option-ranked-choice.gjs | 9 +++-- .../discourse/components/poll-options.gjs | 2 +- 7 files changed, 28 insertions(+), 33 deletions(-) diff --git a/app/assets/javascripts/admin/addon/components/admin-watched-word.hbs b/app/assets/javascripts/admin/addon/components/admin-watched-word.hbs index 2a609c270aa..8af02f51571 100644 --- a/app/assets/javascripts/admin/addon/components/admin-watched-word.hbs +++ b/app/assets/javascripts/admin/addon/components/admin-watched-word.hbs @@ -1,6 +1,6 @@ {{d-icon "times"}} {{this.word.word}} diff --git a/app/assets/javascripts/discourse/app/components/expand-post.hbs b/app/assets/javascripts/discourse/app/components/expand-post.hbs index 8392b2d93a5..d183a9c3115 100644 --- a/app/assets/javascripts/discourse/app/components/expand-post.hbs +++ b/app/assets/javascripts/discourse/app/components/expand-post.hbs @@ -1,9 +1,9 @@ {{#if this.item.truncated}} {{#if this.expanded}} {{d-icon "chevron-up"}} diff --git a/app/assets/javascripts/discourse/app/components/software-update-prompt.hbs b/app/assets/javascripts/discourse/app/components/software-update-prompt.hbs index 9a38e979212..7e5d4af96e3 100644 --- a/app/assets/javascripts/discourse/app/components/software-update-prompt.hbs +++ b/app/assets/javascripts/discourse/app/components/software-update-prompt.hbs @@ -8,15 +8,15 @@
{{d-icon "redo"}} {{html-safe (i18n "software_update_prompt.message")}} {{d-icon "times"}}
diff --git a/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs b/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs index 7baa7b8593d..f400aad3130 100644 --- a/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs +++ b/app/assets/javascripts/discourse/app/components/topic-timeline/container.hbs @@ -2,9 +2,9 @@

{{this.topicTitle}}

{{#if (or this.siteSettings.topic_featured_link_enabled this.showTags)}} @@ -72,10 +72,9 @@
- + {{age-with-tooltip this.nowDate this.nowDateOptions}} @@ -132,11 +129,10 @@ diff --git a/plugins/poll/assets/javascripts/discourse/components/poll-options.gjs b/plugins/poll/assets/javascripts/discourse/components/poll-options.gjs index 79318a1cc0b..42043a39790 100644 --- a/plugins/poll/assets/javascripts/discourse/components/poll-options.gjs +++ b/plugins/poll/assets/javascripts/discourse/components/poll-options.gjs @@ -59,7 +59,7 @@ export default class PollOptionsComponent extends Component { {{htmlSafe option.html}} {{else}} -