- {{#if this.showFullCatDesc}}
- {{htmlSafe this.full_cat_desc}}
- {{else}}
- {{#if this.isCatDescExpanded}}
+
+
+ {{#if this.ifParentCategory}}
+
+ {{#if this.ifParentProtected}}
+ {{icon this.lockIcon}}
+ {{/if}}
+ {{@category.parentCategory.name}}:
+
+ {{/if}}
+ {{#if this.ifProtected}}
+ {{icon this.lockIcon}}
+ {{/if}}
+
{{@category.name}}
+
+ {{#if settings.show_category_follow_button}}
+
+
+
+ {{/if}}
+
+ {{#if (and
+ settings.expand_and_collapse_category_description
+ this.showCatDesc
+ (not this.showFullCatDesc)
+ this.showChevronToggle
+ )}}
+
+
+
+ {{/if}}
+
+
+
+ {{#if (or this.showCatDesc this.showFullCatDesc)}}
+
+ {{#if this.showFullCatDesc}}
{{htmlSafe this.full_cat_desc}}
{{else}}
- {{htmlSafe this.catDesc}}
+
+ {{htmlSafe this.catDesc}}
+
+ {{#if this.isCatDescExpanded}}
+
+ {{htmlSafe (or this.fullCatDescRemainder this.full_cat_desc)}}
+
+ {{/if}}
{{/if}}
- {{/if}}
- {{#if this.inlineReadMore}}
-
- {{#if
- (and
- settings.expand_and_collapse_category_description
- this.showCatDesc
- (not this.showFullCatDesc)
- )
- }}
- {{! template-lint-disable no-invalid-interactive}}
- {{this.aboutTopicUrl}}
- {{else}}
- {{this.aboutTopicUrl}}
- {{/if}}
-
+ {{#if (and this.inlineReadMore this.showReadMoreUI)}}
+
+ {{#if
+ (and
+ settings.expand_and_collapse_category_description
+ this.showCatDesc
+ (not this.showFullCatDesc)
+ )
+ }}
+ {{! template-lint-disable no-invalid-interactive}}
+ {{this.aboutTopicUrl}}
+ {{else}}
+ {{this.aboutTopicUrl}}
+ {{/if}}
+
+ {{/if}}
+
+ {{/if}}
+
+
+ {{#if (and (not this.inlineReadMore) this.showReadMoreUI)}}
+
+ {{#if
+ (and
+ settings.expand_and_collapse_category_description
+ this.showCatDesc
+ (not this.showFullCatDesc)
+ )
+ }}
+ {{! template-lint-disable no-invalid-interactive}}
+
{{this.aboutTopicUrl}}
+ {{else}}
+
{{this.aboutTopicUrl}}
{{/if}}
{{/if}}