DEV: composer.hbs: fix indentation

DEV: composer.hbs: fix indentation

diff --git a/app/assets/javascripts/discourse/templates/composer.hbs b/app/assets/javascripts/discourse/templates/composer.hbs
index 43af40a..7cd5c8f 100644
--- a/app/assets/javascripts/discourse/templates/composer.hbs
+++ b/app/assets/javascripts/discourse/templates/composer.hbs
@@ -6,136 +6,136 @@
                  save=(action "save")}}
   <div class="grippie"></div>
   {{#if visible}}
-      {{composer-messages composer=model
-                          messageCount=messageCount
-                          addLinkLookup=(action "addLinkLookup")}}
-      {{#if model.viewOpenOrFullscreen}}
-        <div class="reply-area {{if canEditTags 'with-tags'}}">
-          <div class='composer-fields'>
-            {{plugin-outlet name="composer-open" args=(hash model=model)}}
-            <div class='reply-to'>
-              {{#unless model.viewFullscreen}}
-                <div class="reply-details">
-                  {{composer-action-title
-                    model=model
-                    openComposer=(action "openComposer")
-                    closeComposer=(action "closeComposer")
-                    canWhisper=canWhisper
-                    tabindex=8}}
-                  {{plugin-outlet name="composer-action-after" noTags=true args=(hash model=model)}}
-
-                  {{#unless site.mobileView}}
-                    {{#if isWhispering}}
-                      <span class='whisper'>{{d-icon "far-eye-slash"}}</span>
-                    {{/if}}
-                    {{#if model.unlistTopic}}
-                      <span class='whisper'>({{i18n 'composer.unlist'}})</span>
-                    {{/if}}
-                    {{#if model.noBump}}
-                      <span class="no-bump">{{d-icon "anchor"}}</span>
-                    {{/if}}
-                  {{/unless}}
+    {{composer-messages composer=model
+                        messageCount=messageCount
+                        addLinkLookup=(action "addLinkLookup")}}
+    {{#if model.viewOpenOrFullscreen}}
+      <div class="reply-area {{if canEditTags 'with-tags'}}">
+        <div class='composer-fields'>
+          {{plugin-outlet name="composer-open" args=(hash model=model)}}
+          <div class='reply-to'>
+            {{#unless model.viewFullscreen}}
+              <div class="reply-details">
+                {{composer-action-title
+                  model=model
+                  openComposer=(action "openComposer")
+                  closeComposer=(action "closeComposer")
+                  canWhisper=canWhisper
+                  tabindex=8}}
+                {{plugin-outlet name="composer-action-after" noTags=true args=(hash model=model)}}
+
+                {{#unless site.mobileView}}
+                  {{#if isWhispering}}
+                    <span class='whisper'>{{d-icon "far-eye-slash"}}</span>
+                  {{/if}}
+                  {{#if model.unlistTopic}}
+                    <span class='whisper'>({{i18n 'composer.unlist'}})</span>
+                  {{/if}}
+                  {{#if model.noBump}}
+                    <span class="no-bump">{{d-icon "anchor"}}</span>
+                  {{/if}}
+                {{/unless}}
 
-                  {{#if canEdit}}
-                    {{#link-to-input onClick=(action "displayEditReason") showInput=showEditReason icon="info-circle" class="display-edit-reason"}}
-                      {{text-field value=editReason tabindex="7" id="edit-reason" maxlength="255" placeholderKey="composer.edit_reason_placeholder"}}
-                    {{/link-to-input}}
+                {{#if canEdit}}
+                  {{#link-to-input onClick=(action "displayEditReason") showInput=showEditReason icon="info-circle" class="display-edit-reason"}}
+                    {{text-field value=editReason tabindex="7" id="edit-reason" maxlength="255" placeholderKey="composer.edit_reason_placeholder"}}
+                  {{/link-to-input}}
+                {{/if}}
+              </div>
+            {{/unless}}
+            {{composer-toggles composeState=model.composeState
+                      toggleComposer=(action "toggle")
+                      toggleToolbar=(action "toggleToolbar")
+                      toggleFullscreen=(action "fullscreenComposer")}}
+          </div>
+          {{#unless model.viewFullscreen}}
+            {{#if model.canEditTitle}}
+              {{#if model.creatingPrivateMessage}}
+                <div class='user-selector'>
+                  {{composer-user-selector topicId=topicModel.id
+                                           usernames=model.targetRecipients
+                                           hasGroups=model.hasTargetGroups
+                                           focusTarget=focusTarget
+                                           class="users-input"}}
+                  {{#if showWarning}}
+                    <label class='add-warning'>
+                      {{input type="checkbox" checked=model.isWarning tabindex="3"}}
+                      {{i18n "composer.add_warning"}}
+                    </label>
                   {{/if}}
                 </div>
-              {{/unless}}
-              {{composer-toggles composeState=model.composeState
-                        toggleComposer=(action "toggle")
-                        toggleToolbar=(action "toggleToolbar")
-                        toggleFullscreen=(action "fullscreenComposer")}}
-            </div>
-            {{#unless model.viewFullscreen}}
-              {{#if model.canEditTitle}}
-                {{#if model.creatingPrivateMessage}}
-                  <div class='user-selector'>
-                    {{composer-user-selector topicId=topicModel.id
-                                             usernames=model.targetRecipients
-                                             hasGroups=model.hasTargetGroups
-                                             focusTarget=focusTarget
-                                             class="users-input"}}
-                    {{#if showWarning}}
-                      <label class='add-warning'>
-                        {{input type="checkbox" checked=model.isWarning tabindex="3"}}
-                        {{i18n "composer.add_warning"}}
-                      </label>
-                    {{/if}}
-                  </div>
-                {{/if}}
+              {{/if}}
 
-                <div class="title-and-category {{if showPreview 'with-preview'}}">
-
-                  {{composer-title composer=model lastValidatedAt=lastValidatedAt focusTarget=focusTarget}}
-
-                  {{#if model.showCategoryChooser}}
-                    <div class="category-input">
-                      {{category-chooser
-                        value=model.categoryId
-                        tabindex="3"
-                        onChange=(action (mut model.categoryId))
-                        isDisabled=disableCategoryChooser
-                        options=(hash
-                          scopedCategoryId=scopedCategoryId
-                        )
-                      }}
-                      {{popup-input-tip validation=categoryValidation}}
-                    </div>
-                  {{/if}}
-                  {{#if canEditTags}}
-                    {{mini-tag-chooser
-                      value=model.tags
-                      tabindex=4
-                      isDisabled=disableTagsChooser
-                      onChange=(action (mut model.tags))
+              <div class="title-and-category {{if showPreview 'with-preview'}}">
+
+                {{composer-title composer=model lastValidatedAt=lastValidatedAt focusTarget=focusTarget}}
+
+                {{#if model.showCategoryChooser}}
+                  <div class="category-input">
+                    {{category-chooser
+                      value=model.categoryId
+                      tabindex="3"
+                      onChange=(action (mut model.categoryId))
+                      isDisabled=disableCategoryChooser

[... diff too long, it was truncated ...]

GitHub sha: f900efaa

This commit appears in #9287 which was approved by jjaffeux. It was merged by riking.