Skip to content

A platform for community discussion. Free, open, simple.

UX: consistent topic timer message button order (#12826)

Kris22d23c4af1a8
diff --git a/app/assets/javascripts/discourse/app/templates/components/topic-timer-info.hbs b/app/assets/javascripts/discourse/app/templates/components/topic-timer-info.hbs
index 5ff6ab22078..df46dad3426 100644
--- a/app/assets/javascripts/discourse/app/templates/components/topic-timer-info.hbs
+++ b/app/assets/javascripts/discourse/app/templates/components/topic-timer-info.hbs
@@ -4,23 +4,23 @@
{{clockIcon}} {{notice}}
</span>
<div class="topic-timer-modify">
- {{#if showTrashCan}}
- {{d-button
- ariaLabel="post.controls.remove_timer"
- title="post.controls.remove_timer"
- icon="trash-alt"
- class="btn topic-timer-remove no-text"
- action=removeTopicTimer
- }}
- {{/if}}
{{#if showEdit}}
- {{d-button
+ {{~d-button
ariaLabel="post.controls.edit_timer"
title="post.controls.edit_timer"
icon="pencil-alt"
class="btn topic-timer-edit no-text"
action=showTopicTimerModal
- }}
+ ~}}
+ {{/if}}
+ {{#if showTrashCan}}
+ {{~d-button
+ ariaLabel="post.controls.remove_timer"
+ title="post.controls.remove_timer"
+ icon="trash-alt"
+ class="btn topic-timer-remove no-text"
+ action=removeTopicTimer
+ ~}}
{{/if}}
</div>
</h3>