A platform for community discussion. Free, open, simple.
UX: move fast edit before sharing (#14429)
Joffrey JAFFEUX372479bada34
diff --git a/app/assets/javascripts/discourse/app/templates/components/quote-button.hbs b/app/assets/javascripts/discourse/app/templates/components/quote-button.hbsindex 9f424209bd1..06827a16b3b 100644--- a/app/assets/javascripts/discourse/app/templates/components/quote-button.hbs+++ b/app/assets/javascripts/discourse/app/templates/components/quote-button.hbs@@ -7,6 +7,17 @@label="post.quote_reply"}}{{/if}}+ {{#if siteSettings.enable_fast_edit}}+ {{#if _canEditPost}}+ {{d-button+ icon="pencil-alt"+ action=(action "_toggleFastEditForm")+ label="post.quote_edit"+ class="btn-flat quote-edit-label"+ }}+ {{/if}}+ {{/if}}+{{#if quoteSharingEnabled}}<span class="quote-sharing">{{#if quoteSharingShowLabel}}@@ -26,20 +37,8 @@{{/each}}{{plugin-outlet name="quote-share-buttons-after" tagName=""}}</span>-</span>{{/if}}-- {{#if siteSettings.enable_fast_edit}}- {{#if _canEditPost}}- {{d-button- icon="pencil-alt"- action=(action "_toggleFastEditForm")- label="post.quote_edit"- class="btn-flat quote-edit-label"- }}- {{/if}}- {{/if}}</div><div class="extra">