Skip to content

Commit

Permalink
Fix indentation for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
brenner-company committed Feb 25, 2021
1 parent 3f2f870 commit 0aaca7a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 35 deletions.
51 changes: 25 additions & 26 deletions app/pods/publications/publication/case/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -269,14 +269,14 @@
<td>
<div class="auk-u-flex auk-u-flex--vertical-center">
<WebComponents::AuBadge @icon="user"/>
<div class="auk-u-mx-2">
<span>{{ await contactPerson.nameToDisplay }}</span>
{{#if contactPerson.organization}}
<div class="auk-u-muted auk-u-text-small">
{{await contactPerson.organization.name}}
</div>
{{/if}}
</div>
<div class="auk-u-mx-2">
<span>{{ await contactPerson.nameToDisplay }}</span>
{{#if contactPerson.organization}}
<div class="auk-u-muted auk-u-text-small">
{{await contactPerson.organization.name}}
</div>
{{/if}}
</div>
</div>
</td>
<td>
Expand Down Expand Up @@ -348,24 +348,23 @@
<WebComponents::AuInput {{on "blur" this.onEmailChanged}} type="text" id="emailInput" @block="true" />
</div>
<div class="auk-form-group">
<WebComponents::AuLabel for="organisationInput">
{{t "organisation"}}
</WebComponents::AuLabel>
<PowerSelect
@searchField="name"
@search={{this.customPowerSelectSearchFunction}}
@options={{await this.allOrganizations}}
@selected={{this.selectedOrganizations}}
@noMatchesMessage={{t "search-organization"}}
@placeholder={{t "search-organization"}}
@onchange={{this.selectOrganization}}
as |organization|>
{{ organization.name }}
</PowerSelect>
<WebComponents::AuButton @skin="borderless" {{on "click" this.openAddOrganisationModal}}>
{{t "add-organization"}}
</WebComponents::AuButton>

<WebComponents::AuLabel for="organisationInput">
{{t "organisation"}}
</WebComponents::AuLabel>
<PowerSelect
@searchField="name"
@search={{this.customPowerSelectSearchFunction}}
@options={{await this.allOrganizations}}
@selected={{this.selectedOrganizations}}
@noMatchesMessage={{t "search-organization"}}
@placeholder={{t "search-organization"}}
@onchange={{this.selectOrganization}}
as |organization|>
{{ organization.name }}
</PowerSelect>
<WebComponents::AuButton @skin="borderless" {{on "click" this.openAddOrganisationModal}}>
{{t "add-organization"}}
</WebComponents::AuButton>
</div>
</div>
</WebComponents::AuModal::Body>
Expand Down
18 changes: 9 additions & 9 deletions app/pods/publications/publication/documents/template.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -293,16 +293,16 @@
@onChange={{this.setTranslateActivityBeforeDate}}
@class="auk-input--max-width"/>
<WebComponents::AuLabel class="auk-u-mt-2 auk-u-mb-1">
{{t "subject"}}
</WebComponents::AuLabel>
<WebComponents::AuInput
{{on "change" this.setTranslationMailSubject}}
@value={{mut this.translateActivity.mailSubject}}
type="text"
@block="true"
/>
{{t "subject"}}
</WebComponents::AuLabel>
<WebComponents::AuInput
{{on "change" this.setTranslationMailSubject}}
@value={{mut this.translateActivity.mailSubject}}
type="text"
@block="true"
/>

<WebComponents::AuLabel class="auk-u-mt-2 auk-u-mb-1">
<WebComponents::AuLabel class="auk-u-mt-2 auk-u-mb-1">
{{t "accompanying-text"}}
</WebComponents::AuLabel>
<WebComponents::AuTextarea
Expand Down

0 comments on commit 0aaca7a

Please sign in to comment.