DEV: Use angle bracket syntax (#154)

This commit is contained in:
Isaac Janzen 2023-05-26 14:27:28 -05:00 committed by GitHub
parent 586d663796
commit 9da3a2fc02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 8 deletions

View File

@ -2,10 +2,10 @@
<section class="field">
<div class="enable-topic-voting">
<label class="checkbox-label">
{{input
type="checkbox"
checked=category.custom_fields.enable_topic_voting
}}
<Input
@type="checkbox"
@checked={{category.custom_fields.enable_topic_voting}}
/>
{{i18n "topic_voting.allow_topic_voting"}}
</label>
</div>

View File

@ -1,6 +1,6 @@
{{#if siteSettings.voting_show_votes_on_profile}}
{{#link-to "userActivity.votes"}}
<LinkTo @route="userActivity.votes">
{{d-icon "heart"}}
{{i18n "topic_voting.vote_title_plural"}}
{{/link-to}}
</LinkTo>
{{/if}}

View File

@ -5,6 +5,6 @@
"author": "Discourse",
"license": "MIT",
"devDependencies": {
"eslint-config-discourse": "^3.3.0"
"eslint-config-discourse": "^3.4.0"
}
}

View File

@ -1145,7 +1145,7 @@ escape-string-regexp@^4.0.0:
resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34"
integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==
eslint-config-discourse@^3.3.0:
eslint-config-discourse@^3.4.0:
version "3.4.0"
resolved "https://registry.yarnpkg.com/eslint-config-discourse/-/eslint-config-discourse-3.4.0.tgz#636a1824bca48c90aeac5bee2f8d7b993609191f"
integrity sha512-9jwu8GQPDOxAO0ByV6RbInu5r39HrFvbAHQRJ8YoGg2fuvHcX+p7fYcxEWj64LhmF4qD55cAGhN0Gmj10RVjoQ==