Skip to content

Commit

Permalink
DEV: Update linting
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtaylorhq committed Nov 20, 2024
1 parent 5a79c0e commit 5793de3
Show file tree
Hide file tree
Showing 5 changed files with 247 additions and 262 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{avatar
user
this.user
avatarTemplatePath="avatar_template"
title=user.username
title=this.user.username
imageSize="small"
}}
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
{{#if shouldDisplay}}
<div id="whos-online" class={{if isLong "collapsed"}}>
{{#if this.shouldDisplay}}
<div id="whos-online" class={{if this.isLong "collapsed"}}>
<span
title={{i18n
"whos_online.tooltip"
count=siteSettings.whos_online_active_timeago
count=this.siteSettings.whos_online_active_timeago
}}
>
{{#if hasUsers}}
{{i18n "whos_online.title" count=count}}
{{else if hasCount}}
{{i18n "whos_online.count_only" count=count}}
{{#if this.hasUsers}}
{{i18n "whos_online.title" count=this.count}}
{{else if this.hasCount}}
{{i18n "whos_online.count_only" count=this.count}}
{{else}}
{{i18n "whos_online.no_users"}}
{{/if}}
</span>
{{#if hasUsers}}
{{#each users as |user|}}
{{#if this.hasUsers}}
{{#each this.users as |user|}}
{{whos-online-avatar user=user}}
{{/each}}
{{/if}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{whos-online}}
{{this.whos-online}}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"devDependencies": {
"@discourse/lint-configs": "2.0.1",
"@discourse/lint-configs": "2.2.0",
"ember-template-lint": "6.0.0",
"eslint": "9.14.0",
"prettier": "2.8.8"
Expand Down
Loading

0 comments on commit 5793de3

Please sign in to comment.