DEV: apply ember-template-lint fixes (#29)
This commit is contained in:
parent
a50c72e769
commit
1326c7d07f
|
@ -1,5 +1,5 @@
|
||||||
{{#if userNotesCount}}
|
{{#if userNotesCount}}
|
||||||
<a href {{action "showUserNotes"}} title="{{userNotesTitle}}">
|
<a href {{action "showUserNotes"}} title={{userNotesTitle}}>
|
||||||
{{#if emojiEnabled}}
|
{{#if emojiEnabled}}
|
||||||
<img src={{emojiUrl}} title={{userNotesTitle}} alt="pencil" class="emoji">
|
<img src={{emojiUrl}} title={{userNotesTitle}} alt="pencil" class="emoji">
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{#if userNotesCount}}
|
{{#if userNotesCount}}
|
||||||
<a href {{action "showUserNotes"}} title="{{userNotesTitle}}">
|
<a href {{action "showUserNotes"}} title={{userNotesTitle}}>
|
||||||
{{#if emojiEnabled}}
|
{{#if emojiEnabled}}
|
||||||
<img src={{emojiUrl}} title={{userNotesTitle}} alt="pencil" class="emoji">
|
<img src={{emojiUrl}} title={{userNotesTitle}} alt="pencil" class="emoji">
|
||||||
{{else}}
|
{{else}}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<a {{action show}} href class="btn">
|
<a {{action show}} href class="btn">
|
||||||
{{d-icon "pencil-alt"}}
|
{{d-icon "pencil-alt"}}
|
||||||
{{#if showCount}}
|
{{#if showCount}}
|
||||||
{{i18n 'user_notes.show' count=count}}
|
{{i18n "user_notes.show" count=count}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{i18n 'user_notes.title'}}
|
{{i18n "user_notes.title"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -8,19 +8,19 @@
|
||||||
}}
|
}}
|
||||||
|
|
||||||
{{#each model as |n|}}
|
{{#each model as |n|}}
|
||||||
<div class='user-note'>
|
<div class="user-note">
|
||||||
<div class='posted-by'>
|
<div class="posted-by">
|
||||||
{{#user-link user=n.created_by}}
|
{{#user-link user=n.created_by}}
|
||||||
{{avatar n.created_by imageSize="small"}}
|
{{avatar n.created_by imageSize="small"}}
|
||||||
{{/user-link}}
|
{{/user-link}}
|
||||||
</div>
|
</div>
|
||||||
<div class='note-contents'>
|
<div class="note-contents">
|
||||||
<div class='note-info'>
|
<div class="note-info">
|
||||||
<span class='username'>{{n.created_by.username}}</span>
|
<span class="username">{{n.created_by.username}}</span>
|
||||||
<span class='post-date'>{{age-with-tooltip n.created_at}}</span>
|
<span class="post-date">{{age-with-tooltip n.created_at}}</span>
|
||||||
|
|
||||||
{{#if n.can_delete}}
|
{{#if n.can_delete}}
|
||||||
<span class='controls'>
|
<span class="controls">
|
||||||
{{d-button action=(action "removeNote" n)
|
{{d-button action=(action "removeNote" n)
|
||||||
icon="far-trash-alt"
|
icon="far-trash-alt"
|
||||||
class="btn-small btn-danger"
|
class="btn-small btn-danger"
|
||||||
|
@ -30,7 +30,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='cooked'>
|
<div class="cooked">
|
||||||
{{cook-text n.raw}}
|
{{cook-text n.raw}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
{{/if}}
|
{{/if}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class='clearfix'></div>
|
<div class="clearfix"></div>
|
||||||
</div>
|
</div>
|
||||||
{{/each}}
|
{{/each}}
|
||||||
{{/d-modal-body}}
|
{{/d-modal-body}}
|
||||||
|
|
Loading…
Reference in New Issue