allow themes to change the lock icon easily (#15309)
This commit is contained in:
parent
6afab87d50
commit
3b3e572ce6
|
@ -10,6 +10,7 @@ export default Component.extend({
|
|||
"anyLogos:with-logos:no-logos",
|
||||
],
|
||||
noCategoryStyle: equal("siteSettings.category_style", "none"),
|
||||
lockIcon: "lock",
|
||||
|
||||
@discourseComputed("categories.[].uploaded_logo.url")
|
||||
anyLogos() {
|
||||
|
|
|
@ -11,6 +11,7 @@ export default Component.extend({
|
|||
"hasSubcategories:with-subcategories",
|
||||
],
|
||||
noCategoryStyle: equal("siteSettings.category_style", "none"),
|
||||
lockIcon: "lock",
|
||||
|
||||
@discourseComputed("categories.[].uploaded_logo.url")
|
||||
anyLogos() {
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<h3>
|
||||
{{category-title-before category=c}}
|
||||
{{#if c.read_restricted}}
|
||||
{{d-icon "lock"}}
|
||||
{{d-icon lockIcon}}
|
||||
{{/if}}
|
||||
{{c.name}}
|
||||
</h3>
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<h3>
|
||||
{{category-title-before category=c}}
|
||||
{{#if c.read_restricted}}
|
||||
{{d-icon "lock"}}
|
||||
{{d-icon lockIcon}}
|
||||
{{/if}}
|
||||
{{c.name}}
|
||||
</h3>
|
||||
|
|
Loading…
Reference in New Issue