DEV: apply ember-template-lint fixes (#29)

This commit is contained in:
Joffrey JAFFEUX 2021-04-27 12:01:59 +02:00 committed by GitHub
parent a50c72e769
commit 1326c7d07f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 13 deletions

View File

@ -1,5 +1,5 @@
{{#if userNotesCount}}
<a href {{action "showUserNotes"}} title="{{userNotesTitle}}">
<a href {{action "showUserNotes"}} title={{userNotesTitle}}>
{{#if emojiEnabled}}
<img src={{emojiUrl}} title={{userNotesTitle}} alt="pencil" class="emoji">
{{else}}

View File

@ -1,5 +1,5 @@
{{#if userNotesCount}}
<a href {{action "showUserNotes"}} title="{{userNotesTitle}}">
<a href {{action "showUserNotes"}} title={{userNotesTitle}}>
{{#if emojiEnabled}}
<img src={{emojiUrl}} title={{userNotesTitle}} alt="pencil" class="emoji">
{{else}}

View File

@ -1,8 +1,8 @@
<a {{action show}} href class="btn">
{{d-icon "pencil-alt"}}
{{#if showCount}}
{{i18n 'user_notes.show' count=count}}
{{i18n "user_notes.show" count=count}}
{{else}}
{{i18n 'user_notes.title'}}
{{i18n "user_notes.title"}}
{{/if}}
</a>

View File

@ -8,19 +8,19 @@
}}
{{#each model as |n|}}
<div class='user-note'>
<div class='posted-by'>
<div class="user-note">
<div class="posted-by">
{{#user-link user=n.created_by}}
{{avatar n.created_by imageSize="small"}}
{{/user-link}}
</div>
<div class='note-contents'>
<div class='note-info'>
<span class='username'>{{n.created_by.username}}</span>
<span class='post-date'>{{age-with-tooltip n.created_at}}</span>
<div class="note-contents">
<div class="note-info">
<span class="username">{{n.created_by.username}}</span>
<span class="post-date">{{age-with-tooltip n.created_at}}</span>
{{#if n.can_delete}}
<span class='controls'>
<span class="controls">
{{d-button action=(action "removeNote" n)
icon="far-trash-alt"
class="btn-small btn-danger"
@ -30,7 +30,7 @@
{{/if}}
</div>
<div class='cooked'>
<div class="cooked">
{{cook-text n.raw}}
</div>
@ -41,7 +41,7 @@
{{/if}}
</div>
<div class='clearfix'></div>
<div class="clearfix"></div>
</div>
{{/each}}
{{/d-modal-body}}