diff --git a/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs b/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs index 92adae679a2..196fb791c96 100644 --- a/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs +++ b/plugins/discourse-local-dates/assets/javascripts/discourse/templates/components/discourse-local-dates-create-form.hbs @@ -4,23 +4,23 @@ style="overflow: auto"}}
- {{#unless isValid}} -
- {{i18n "discourse_local_dates.create.form.invalid_date"}} -
- {{else}} + {{#if isValid}} {{#if timezoneIsDifferentFromUserTimezone}}
{{formatedCurrentUserTimezone}} {{currentPreview}}
{{/if}} - {{/unless}} + {{else}} +
+ {{i18n "discourse_local_dates.create.form.invalid_date"}} +
+ {{/if}} {{computeDate}}
-
+
{{d-icon "calendar-alt"}} {{d-button id="from-date-time" @@ -29,7 +29,7 @@ class="date-time"}}
-
+
{{d-icon "calendar-alt"}} {{d-button action=(action "focusTo") @@ -61,12 +61,12 @@ {{/if}} {{#if toSelected}} - {{#if toDate}} -
- {{d-icon "far-clock"}} - {{input maxlength=5 placeholder="hh:mm" input=(action "setToTime") type="time" value=toTime class="time-picker"}} -
- {{/if}} + {{#if toDate}} +
+ {{d-icon "far-clock"}} + {{input maxlength=5 placeholder="hh:mm" input=(action "setToTime") type="time" value=toTime class="time-picker"}} +
+ {{/if}} {{/if}}
@@ -102,7 +102,7 @@

{{i18n "discourse_local_dates.create.form.format_description"}} - + {{d-icon "question-circle"}}

diff --git a/plugins/discourse-presence/assets/javascripts/discourse/templates/components/topic-presence-display.hbs b/plugins/discourse-presence/assets/javascripts/discourse/templates/components/topic-presence-display.hbs index 636ba39a268..002a2d31895 100644 --- a/plugins/discourse-presence/assets/javascripts/discourse/templates/components/topic-presence-display.hbs +++ b/plugins/discourse-presence/assets/javascripts/discourse/templates/components/topic-presence-display.hbs @@ -6,7 +6,7 @@ {{/each}}
- {{i18n 'presence.replying_to_topic' count=users.length}}{{!-- (using comment to stop whitespace) + {{i18n "presence.replying_to_topic" count=users.length}}{{!-- (using comment to stop whitespace) --}}...
diff --git a/plugins/poll/assets/javascripts/discourse/templates/components/poll-breakdown-option.hbs b/plugins/poll/assets/javascripts/discourse/templates/components/poll-breakdown-option.hbs index b56106982e3..80431a13354 100644 --- a/plugins/poll/assets/javascripts/discourse/templates/components/poll-breakdown-option.hbs +++ b/plugins/poll/assets/javascripts/discourse/templates/components/poll-breakdown-option.hbs @@ -3,6 +3,7 @@ style={{this.colorBackgroundStyle}} {{on "mouseover" @onMouseOver}} {{on "mouseout" @onMouseOut}} + role="button" > @@ -13,5 +14,5 @@ {{@option.votes}} {{/if}} - {{{@option.html}}} + {{html-safe @option.html}}