nodebb-theme-persona 13.3.32 → 13.3.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc +2 -2
- package/README.md +20 -20
- package/lib/controllers.js +24 -24
- package/library.js +97 -97
- package/package.json +52 -52
- package/plugin.json +20 -20
- package/public/.eslintrc +2 -2
- package/public/admin.js +15 -15
- package/public/modules/autohidingnavbar.js +220 -220
- package/public/modules/mobile-menu.js +190 -190
- package/public/modules/taskbar.js +65 -65
- package/public/persona.js +257 -257
- package/public/settings.js +53 -53
- package/scss/account.scss +336 -336
- package/scss/categories.scss +205 -205
- package/scss/category.scss +161 -161
- package/scss/chats.scss +14 -14
- package/scss/flags.scss +42 -42
- package/scss/footer.scss +16 -16
- package/scss/groups.scss +166 -166
- package/scss/header.scss +229 -361
- package/scss/keyframes.scss +152 -152
- package/scss/mixins.scss +129 -129
- package/scss/mobile.scss +222 -331
- package/scss/modules/composer.scss +20 -20
- package/scss/modules/cookie-consent.scss +12 -12
- package/scss/modules/fab.scss +32 -32
- package/scss/modules/morph.scss +268 -268
- package/scss/modules/necro-post.scss +8 -8
- package/scss/modules/nprogress.scss +80 -80
- package/scss/modules/taskbar.scss +160 -160
- package/scss/modules/user-menu.scss +7 -7
- package/scss/modules/usercard.scss +64 -64
- package/scss/noscript.scss +80 -80
- package/scss/overrides.scss +39 -39
- package/scss/persona.scss +34 -34
- package/scss/posts_list.scss +127 -127
- package/scss/search.scss +48 -48
- package/scss/style.scss +256 -256
- package/scss/tags.scss +10 -10
- package/scss/topic.scss +571 -571
- package/scss/topics_list.scss +16 -16
- package/scss/variables.scss +6 -6
- package/templates/account/blocks.tpl +46 -46
- package/templates/account/categories.tpl +28 -28
- package/templates/account/consent.tpl +68 -68
- package/templates/account/edit/password.tpl +29 -29
- package/templates/account/edit/username.tpl +25 -25
- package/templates/account/edit.tpl +136 -136
- package/templates/account/followers.tpl +17 -17
- package/templates/account/following.tpl +17 -17
- package/templates/account/groups.tpl +16 -16
- package/templates/account/info.tpl +291 -291
- package/templates/account/posts.tpl +18 -18
- package/templates/account/profile.tpl +166 -166
- package/templates/account/sessions.tpl +31 -31
- package/templates/account/settings.tpl +251 -251
- package/templates/account/tags.tpl +9 -9
- package/templates/account/theme.tpl +25 -25
- package/templates/account/topics.tpl +29 -29
- package/templates/account/uploads.tpl +42 -42
- package/templates/admin/plugins/persona.tpl +24 -24
- package/templates/categories.tpl +31 -31
- package/templates/category.tpl +63 -63
- package/templates/flags/detail.tpl +208 -208
- package/templates/flags/list.tpl +71 -71
- package/templates/footer.tpl +11 -11
- package/templates/groups/details.tpl +77 -77
- package/templates/groups/list.tpl +48 -48
- package/templates/groups/members.tpl +5 -5
- package/templates/header.tpl +47 -47
- package/templates/modules/taskbar.tpl +2 -2
- package/templates/modules/usercard.tpl +36 -36
- package/templates/notifications.tpl +66 -66
- package/templates/partials/account/category-item.tpl +23 -23
- package/templates/partials/account/header.tpl +47 -47
- package/templates/partials/account/menu.tpl +108 -108
- package/templates/partials/breadcrumbs.tpl +18 -18
- package/templates/partials/buttons/newTopic.tpl +22 -22
- package/templates/partials/categories/item.tpl +60 -60
- package/templates/partials/categories/lastpost.tpl +26 -26
- package/templates/partials/category/filter-dropdown-content.tpl +31 -31
- package/templates/partials/category/selector-dropdown-content.tpl +32 -32
- package/templates/partials/category/sort.tpl +14 -14
- package/templates/partials/category/subcategory.tpl +17 -17
- package/templates/partials/category/tags.tpl +3 -3
- package/templates/partials/category/tools.tpl +86 -86
- package/templates/partials/category/watch.tpl +55 -55
- package/templates/partials/chats-menu.tpl +41 -40
- package/templates/partials/cookie-consent.tpl +4 -4
- package/templates/partials/flags/filters.tpl +173 -173
- package/templates/partials/groups/admin.tpl +200 -200
- package/templates/partials/groups/filter-dropdown-content.tpl +24 -24
- package/templates/partials/groups/list.tpl +20 -20
- package/templates/partials/groups/memberlist.tpl +42 -42
- package/templates/partials/header/chats.tpl +18 -18
- package/templates/partials/header/notifications.tpl +49 -19
- package/templates/partials/header/search.tpl +24 -24
- package/templates/partials/header/user-menu.tpl +96 -96
- package/templates/partials/menu.tpl +128 -128
- package/templates/partials/notifications_list.tpl +44 -30
- package/templates/partials/paginator.tpl +44 -44
- package/templates/partials/post_bar.tpl +20 -20
- package/templates/partials/posts_list.tpl +7 -7
- package/templates/partials/posts_list_item.tpl +31 -31
- package/templates/partials/quick-search-results.tpl +33 -33
- package/templates/partials/search-filters.tpl +183 -183
- package/templates/partials/search-results.tpl +54 -54
- package/templates/partials/slideout-menu.tpl +4 -4
- package/templates/partials/tags/filter-dropdown-content.tpl +33 -33
- package/templates/partials/tags/watch.tpl +35 -35
- package/templates/partials/tags_list.tpl +4 -4
- package/templates/partials/toast.tpl +19 -19
- package/templates/partials/topic/event.tpl +12 -12
- package/templates/partials/topic/navigation-post.tpl +11 -11
- package/templates/partials/topic/navigator.tpl +39 -39
- package/templates/partials/topic/necro-post.tpl +2 -2
- package/templates/partials/topic/post-menu-list.tpl +132 -132
- package/templates/partials/topic/post-menu.tpl +4 -4
- package/templates/partials/topic/post.tpl +128 -128
- package/templates/partials/topic/quickreply.tpl +28 -28
- package/templates/partials/topic/reply-button.tpl +26 -26
- package/templates/partials/topic/selection-tooltip.tpl +2 -2
- package/templates/partials/topic/sort.tpl +9 -9
- package/templates/partials/topic/stats.tpl +11 -11
- package/templates/partials/topic/tags.tpl +2 -2
- package/templates/partials/topic/tools.tpl +7 -7
- package/templates/partials/topic/topic-menu-list.tpl +74 -74
- package/templates/partials/topic/watch.tpl +47 -47
- package/templates/partials/topic-filters.tpl +11 -11
- package/templates/partials/topic-terms.tpl +11 -11
- package/templates/partials/topics_list.tpl +117 -117
- package/templates/partials/users/filter-dropdown-content.tpl +20 -20
- package/templates/partials/users/item.tpl +43 -43
- package/templates/partials/users_list.tpl +14 -14
- package/templates/partials/users_list_menu.tpl +20 -20
- package/templates/popular.tpl +35 -35
- package/templates/recent.tpl +37 -37
- package/templates/search.tpl +47 -47
- package/templates/tag.tpl +34 -34
- package/templates/tags.tpl +32 -32
- package/templates/top.tpl +35 -35
- package/templates/topic.tpl +129 -129
- package/templates/unread.tpl +37 -37
- package/templates/users.tpl +34 -34
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
<button type="button" class="btn btn-outline-secondary d-flex gap-2 align-items-center dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
2
|
-
{{{ if selectedCategory }}}
|
|
3
|
-
<span class="category-item">
|
|
4
|
-
{buildCategoryIcon(selectedCategory, "20px", "rounded-circle")}
|
|
5
|
-
<span class="visible-md-inline visible-lg-inline">{selectedCategory.name}</span>
|
|
6
|
-
</span>
|
|
7
|
-
{{{ else }}}
|
|
8
|
-
<i class="fa fa-fw fa-list"></i>
|
|
9
|
-
<span class="visible-md-inline visible-lg-inline">[[unread:all-categories]]</span>{{{ end }}}
|
|
10
|
-
</button>
|
|
11
|
-
<div component="category-selector-search" class="hidden position-absolute">
|
|
12
|
-
<input type="text" class="form-control" placeholder="[[search:type-to-search]]" autocomplete="off">
|
|
13
|
-
</div>
|
|
14
|
-
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
15
|
-
<li role="presentation" class="category" data-cid="all">
|
|
16
|
-
<a class="dropdown-item" role="menuitem" href="{{{ if allCategoriesUrl }}}{config.relative_path}/{allCategoriesUrl}{{{ else }}}#{{{ end }}}"><i component="category/select/icon" class="fa fa-fw fa-check {{{if selectedCategory}}}invisible{{{end}}}"></i> [[unread:all-categories]]</a>
|
|
17
|
-
</li>
|
|
18
|
-
{{{each categoryItems}}}
|
|
19
|
-
<li role="presentation" class="category {{{ if ../disabledClass }}}disabled{{{ end }}}" data-cid="{../cid}" data-parent-cid="{../parentCid}" data-name="{../name}">
|
|
20
|
-
<a class="dropdown-item" role="menuitem" href="#">{../level}<i component="category/select/icon" class="fa fa-fw fa-check {{{ if !../selected }}}invisible{{{ end }}}"></i>
|
|
21
|
-
<span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">
|
|
22
|
-
<div class="category-item d-inline-block">
|
|
23
|
-
{{{ if ./icon}}}
|
|
24
|
-
{buildCategoryIcon(@value, "24px", "rounded-circle")}
|
|
25
|
-
{{{ end }}}
|
|
26
|
-
{./name}
|
|
27
|
-
</div>
|
|
28
|
-
</span>
|
|
29
|
-
</a>
|
|
30
|
-
</li>
|
|
31
|
-
{{{end}}}
|
|
1
|
+
<button type="button" class="btn btn-outline-secondary d-flex gap-2 align-items-center dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
2
|
+
{{{ if selectedCategory }}}
|
|
3
|
+
<span class="category-item">
|
|
4
|
+
{buildCategoryIcon(selectedCategory, "20px", "rounded-circle")}
|
|
5
|
+
<span class="visible-md-inline visible-lg-inline">{selectedCategory.name}</span>
|
|
6
|
+
</span>
|
|
7
|
+
{{{ else }}}
|
|
8
|
+
<i class="fa fa-fw fa-list"></i>
|
|
9
|
+
<span class="visible-md-inline visible-lg-inline">[[unread:all-categories]]</span>{{{ end }}}
|
|
10
|
+
</button>
|
|
11
|
+
<div component="category-selector-search" class="hidden position-absolute">
|
|
12
|
+
<input type="text" class="form-control" placeholder="[[search:type-to-search]]" autocomplete="off">
|
|
13
|
+
</div>
|
|
14
|
+
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
15
|
+
<li role="presentation" class="category" data-cid="all">
|
|
16
|
+
<a class="dropdown-item" role="menuitem" href="{{{ if allCategoriesUrl }}}{config.relative_path}/{allCategoriesUrl}{{{ else }}}#{{{ end }}}"><i component="category/select/icon" class="fa fa-fw fa-check {{{if selectedCategory}}}invisible{{{end}}}"></i> [[unread:all-categories]]</a>
|
|
17
|
+
</li>
|
|
18
|
+
{{{each categoryItems}}}
|
|
19
|
+
<li role="presentation" class="category {{{ if ../disabledClass }}}disabled{{{ end }}}" data-cid="{../cid}" data-parent-cid="{../parentCid}" data-name="{../name}">
|
|
20
|
+
<a class="dropdown-item" role="menuitem" href="#">{../level}<i component="category/select/icon" class="fa fa-fw fa-check {{{ if !../selected }}}invisible{{{ end }}}"></i>
|
|
21
|
+
<span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">
|
|
22
|
+
<div class="category-item d-inline-block">
|
|
23
|
+
{{{ if ./icon}}}
|
|
24
|
+
{buildCategoryIcon(@value, "24px", "rounded-circle")}
|
|
25
|
+
{{{ end }}}
|
|
26
|
+
{./name}
|
|
27
|
+
</div>
|
|
28
|
+
</span>
|
|
29
|
+
</a>
|
|
30
|
+
</li>
|
|
31
|
+
{{{end}}}
|
|
32
32
|
</ul>
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
<button type="button" class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
2
|
-
<span component="category-selector-selected">
|
|
3
|
-
{{{ if (selectedCategory && !showCategorySelectLabel) }}}
|
|
4
|
-
<span class="category-item">
|
|
5
|
-
{buildCategoryIcon(selectedCategory, "24px", "rounded-circle")}
|
|
6
|
-
{selectedCategory.name}
|
|
7
|
-
</span>
|
|
8
|
-
{{{ else }}}
|
|
9
|
-
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{{{ if selectCategoryLabel }}}{selectCategoryLabel}{{{ else }}}[[topic:thread-tools.select-category]]{{{ end }}}</span><span class="visible-xs-inline"><i class="fa fa-fw {{{ if selectCategoryIcon }}}{selectCategoryIcon}{{{ else }}}fa-list{{{ end }}}"></i></span>
|
|
10
|
-
{{{ end }}}</span> <span class="caret"></span>
|
|
11
|
-
</button>
|
|
12
|
-
<div component="category-selector-search" class="hidden position-absolute">
|
|
13
|
-
<input type="text" class="form-control" placeholder="[[search:type-to-search]]" autocomplete="off">
|
|
14
|
-
</div>
|
|
15
|
-
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
16
|
-
<li component="category/no-matches" role="presentation" class="category hidden">
|
|
17
|
-
<a class="dropdown-item" role="menuitem">[[search:no-matches]]</a>
|
|
18
|
-
</li>
|
|
19
|
-
{{{each categoryItems}}}
|
|
20
|
-
<li role="presentation" class="category {{{ if ../disabledClass }}}disabled {{{ end }}}" data-cid="{../cid}" data-name="{../name}" data-parent-cid="{../parentCid}">
|
|
21
|
-
<a class="dropdown-item {{{ if ./disabledClass }}}disabled {{{ end }}}" role="menuitem" href="#">{../level}
|
|
22
|
-
<span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">
|
|
23
|
-
<div class="category-item d-inline-block">
|
|
24
|
-
{{{ if ./icon }}}
|
|
25
|
-
{buildCategoryIcon(@value, "24px", "rounded-circle")}
|
|
26
|
-
{{{ end }}}
|
|
27
|
-
{./name}
|
|
28
|
-
</div>
|
|
29
|
-
</span>
|
|
30
|
-
</a>
|
|
31
|
-
</li>
|
|
32
|
-
{{{ end }}}
|
|
1
|
+
<button type="button" class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
|
|
2
|
+
<span component="category-selector-selected">
|
|
3
|
+
{{{ if (selectedCategory && !showCategorySelectLabel) }}}
|
|
4
|
+
<span class="category-item">
|
|
5
|
+
{buildCategoryIcon(selectedCategory, "24px", "rounded-circle")}
|
|
6
|
+
{selectedCategory.name}
|
|
7
|
+
</span>
|
|
8
|
+
{{{ else }}}
|
|
9
|
+
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{{{ if selectCategoryLabel }}}{selectCategoryLabel}{{{ else }}}[[topic:thread-tools.select-category]]{{{ end }}}</span><span class="visible-xs-inline"><i class="fa fa-fw {{{ if selectCategoryIcon }}}{selectCategoryIcon}{{{ else }}}fa-list{{{ end }}}"></i></span>
|
|
10
|
+
{{{ end }}}</span> <span class="caret"></span>
|
|
11
|
+
</button>
|
|
12
|
+
<div component="category-selector-search" class="hidden position-absolute">
|
|
13
|
+
<input type="text" class="form-control" placeholder="[[search:type-to-search]]" autocomplete="off">
|
|
14
|
+
</div>
|
|
15
|
+
<ul component="category/list" class="dropdown-menu category-dropdown-menu" role="menu">
|
|
16
|
+
<li component="category/no-matches" role="presentation" class="category hidden">
|
|
17
|
+
<a class="dropdown-item" role="menuitem">[[search:no-matches]]</a>
|
|
18
|
+
</li>
|
|
19
|
+
{{{each categoryItems}}}
|
|
20
|
+
<li role="presentation" class="category {{{ if ../disabledClass }}}disabled {{{ end }}}" data-cid="{../cid}" data-name="{../name}" data-parent-cid="{../parentCid}">
|
|
21
|
+
<a class="dropdown-item {{{ if ./disabledClass }}}disabled {{{ end }}}" role="menuitem" href="#">{../level}
|
|
22
|
+
<span component="category-markup" style="{{{ if ../match }}}font-weight: bold;{{{end}}}">
|
|
23
|
+
<div class="category-item d-inline-block">
|
|
24
|
+
{{{ if ./icon }}}
|
|
25
|
+
{buildCategoryIcon(@value, "24px", "rounded-circle")}
|
|
26
|
+
{{{ end }}}
|
|
27
|
+
{./name}
|
|
28
|
+
</div>
|
|
29
|
+
</span>
|
|
30
|
+
</a>
|
|
31
|
+
</li>
|
|
32
|
+
{{{ end }}}
|
|
33
33
|
</ul>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
<div class="btn-group bottom-sheet" component="thread/sort">
|
|
2
|
-
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="[[aria:topic-sort-option, {sortOptionLabel}]]">
|
|
3
|
-
<i class="fa fa-fw fa-sort"></i>
|
|
4
|
-
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{sortOptionLabel}</span>
|
|
5
|
-
<span class="caret"></span>
|
|
6
|
-
</button>
|
|
7
|
-
|
|
8
|
-
<ul class="dropdown-menu dropdown-menu-end" role="menu">
|
|
9
|
-
<li><a class="dropdown-item" href="#" class="recently_replied" data-sort="recently_replied" role="menuitem"><i class="fa fa-fw"></i> [[topic:recently-replied]]</a></li>
|
|
10
|
-
<li><a class="dropdown-item" href="#" class="recently_created" data-sort="recently_created" role="menuitem"><i class="fa fa-fw"></i> [[topic:recently-created]]</a></li>
|
|
11
|
-
<li><a class="dropdown-item" href="#" class="most_posts" data-sort="most_posts" role="menuitem"><i class="fa fa-fw"></i> [[topic:most-posts]]</a></li>
|
|
12
|
-
<li><a class="dropdown-item" href="#" class="most_votes" data-sort="most_votes" role="menuitem"><i class="fa fa-fw"></i> [[topic:most-votes]]</a></li>
|
|
13
|
-
<li><a class="dropdown-item" href="#" class="most_views" data-sort="most_views" role="menuitem"><i class="fa fa-fw"></i> [[topic:most-views]]</a></li>
|
|
14
|
-
</ul>
|
|
1
|
+
<div class="btn-group bottom-sheet" component="thread/sort">
|
|
2
|
+
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="[[aria:topic-sort-option, {sortOptionLabel}]]">
|
|
3
|
+
<i class="fa fa-fw fa-sort"></i>
|
|
4
|
+
<span class="visible-sm-inline visible-md-inline visible-lg-inline">{sortOptionLabel}</span>
|
|
5
|
+
<span class="caret"></span>
|
|
6
|
+
</button>
|
|
7
|
+
|
|
8
|
+
<ul class="dropdown-menu dropdown-menu-end" role="menu">
|
|
9
|
+
<li><a class="dropdown-item" href="#" class="recently_replied" data-sort="recently_replied" role="menuitem"><i class="fa fa-fw"></i> [[topic:recently-replied]]</a></li>
|
|
10
|
+
<li><a class="dropdown-item" href="#" class="recently_created" data-sort="recently_created" role="menuitem"><i class="fa fa-fw"></i> [[topic:recently-created]]</a></li>
|
|
11
|
+
<li><a class="dropdown-item" href="#" class="most_posts" data-sort="most_posts" role="menuitem"><i class="fa fa-fw"></i> [[topic:most-posts]]</a></li>
|
|
12
|
+
<li><a class="dropdown-item" href="#" class="most_votes" data-sort="most_votes" role="menuitem"><i class="fa fa-fw"></i> [[topic:most-votes]]</a></li>
|
|
13
|
+
<li><a class="dropdown-item" href="#" class="most_views" data-sort="most_views" role="menuitem"><i class="fa fa-fw"></i> [[topic:most-views]]</a></li>
|
|
14
|
+
</ul>
|
|
15
15
|
</div>
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
{{{ if children.length }}}
|
|
2
|
-
<div class="subcategory">
|
|
3
|
-
{{{ if hasMoreSubCategories }}}
|
|
4
|
-
<div class="mb-2"><!-- IMPORT partials/category/selector-dropdown-left.tpl --></div>
|
|
5
|
-
{{{ else }}}
|
|
6
|
-
<p>[[category:subcategories]]</p>
|
|
7
|
-
{{{ end }}}
|
|
8
|
-
|
|
9
|
-
<ul component="category/subcategory/container" class="categories list-unstyled" itemscope itemtype="http://www.schema.org/ItemList">
|
|
10
|
-
{{{each children}}}
|
|
11
|
-
<!-- IMPORT partials/categories/item.tpl -->
|
|
12
|
-
{{{end}}}
|
|
13
|
-
</ul>
|
|
14
|
-
{{{ if hasMoreSubCategories}}}
|
|
15
|
-
<button class="btn btn-outline-secondary mb-2" component="category/load-more-subcategories">[[category:x-more-categories, {subCategoriesLeft}]]</button>
|
|
16
|
-
{{{ end }}}
|
|
17
|
-
</div>
|
|
1
|
+
{{{ if children.length }}}
|
|
2
|
+
<div class="subcategory">
|
|
3
|
+
{{{ if hasMoreSubCategories }}}
|
|
4
|
+
<div class="mb-2"><!-- IMPORT partials/category/selector-dropdown-left.tpl --></div>
|
|
5
|
+
{{{ else }}}
|
|
6
|
+
<p>[[category:subcategories]]</p>
|
|
7
|
+
{{{ end }}}
|
|
8
|
+
|
|
9
|
+
<ul component="category/subcategory/container" class="categories list-unstyled" itemscope itemtype="http://www.schema.org/ItemList">
|
|
10
|
+
{{{each children}}}
|
|
11
|
+
<!-- IMPORT partials/categories/item.tpl -->
|
|
12
|
+
{{{end}}}
|
|
13
|
+
</ul>
|
|
14
|
+
{{{ if hasMoreSubCategories}}}
|
|
15
|
+
<button class="btn btn-outline-secondary mb-2" component="category/load-more-subcategories">[[category:x-more-categories, {subCategoriesLeft}]]</button>
|
|
16
|
+
{{{ end }}}
|
|
17
|
+
</div>
|
|
18
18
|
{{{ end }}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
{{{ each tags }}}
|
|
2
|
-
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="tag tag-item fw-bold tag-class-{./class}" data-tag="{./value}">{./valueEscaped}</span></a>
|
|
3
|
-
{{{ end }}}
|
|
1
|
+
{{{ each tags }}}
|
|
2
|
+
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="tag tag-item fw-bold tag-class-{./class}" data-tag="{./value}">{./valueEscaped}</span></a>
|
|
3
|
+
{{{ end }}}
|
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
<!-- IF showTopicTools -->
|
|
2
|
-
<div class="btn-group thread-tools bottom-sheet">
|
|
3
|
-
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
4
|
-
<span class="visible-sm-inline visible-md-inline visible-lg-inline">[[topic:thread-tools.title]]</span>
|
|
5
|
-
<span class="visible-xs-inline"><i class="fa fa-fw fa-gear"></i></span>
|
|
6
|
-
<span class="caret"></span>
|
|
7
|
-
</button>
|
|
8
|
-
<ul class="dropdown-menu dropdown-menu-end" role="menu">
|
|
9
|
-
<li>
|
|
10
|
-
<a component="topic/mark-unread-for-all" href="#" class="dropdown-item" role="menuitem">
|
|
11
|
-
<i class="fa fa-fw fa-inbox"></i> [[topic:thread-tools.markAsUnreadForAll]]
|
|
12
|
-
</a>
|
|
13
|
-
</li>
|
|
14
|
-
<li>
|
|
15
|
-
<a component="topic/pin" href="#" class="dropdown-item" role="menuitem">
|
|
16
|
-
<i class="fa fa-fw fa-thumb-tack"></i> [[topic:thread-tools.pin]]
|
|
17
|
-
</a>
|
|
18
|
-
</li>
|
|
19
|
-
<li>
|
|
20
|
-
<a component="topic/unpin" href="#" class="hidden dropdown-item" role="menuitem">
|
|
21
|
-
<i class="fa fa-fw fa-thumb-tack fa-rotate-90"></i> [[topic:thread-tools.unpin]]
|
|
22
|
-
</a>
|
|
23
|
-
</li>
|
|
24
|
-
|
|
25
|
-
<li>
|
|
26
|
-
<a component="topic/lock" href="#" class="dropdown-item" role="menuitem">
|
|
27
|
-
<i class="fa fa-fw fa-lock"></i> [[topic:thread-tools.lock]]
|
|
28
|
-
</a>
|
|
29
|
-
</li>
|
|
30
|
-
<li>
|
|
31
|
-
<a component="topic/unlock" href="#" class="hidden dropdown-item" role="menuitem">
|
|
32
|
-
<i class="fa fa-fw fa-unlock"></i> [[topic:thread-tools.unlock]]
|
|
33
|
-
</a>
|
|
34
|
-
</li>
|
|
35
|
-
|
|
36
|
-
<li class="dropdown-divider"></li>
|
|
37
|
-
|
|
38
|
-
<li>
|
|
39
|
-
<a component="topic/move" href="#" class="dropdown-item" role="menuitem">
|
|
40
|
-
<i class="fa fa-fw fa-arrows"></i> [[topic:thread-tools.move]]
|
|
41
|
-
</a>
|
|
42
|
-
</li>
|
|
43
|
-
{{{if template.category}}}
|
|
44
|
-
<li>
|
|
45
|
-
<a component="topic/move-all" href="#" class="dropdown-item" role="menuitem">
|
|
46
|
-
<i class="fa fa-fw fa-arrows"></i> [[topic:thread-tools.move-all]]
|
|
47
|
-
</a>
|
|
48
|
-
</li>
|
|
49
|
-
{{{end}}}
|
|
50
|
-
<li>
|
|
51
|
-
<a component="topic/merge" href="#" class="dropdown-item" role="menuitem">
|
|
52
|
-
<i class="fa fa-fw fa-code-fork"></i> [[topic:thread-tools.merge]]
|
|
53
|
-
</a>
|
|
54
|
-
</li>
|
|
55
|
-
|
|
56
|
-
<li>
|
|
57
|
-
<a component="topic/tag" href="#" class="dropdown-item" role="menuitem">
|
|
58
|
-
<i class="fa fa-fw fa-tag"></i> [[topic:thread-tools.tag]]
|
|
59
|
-
</a>
|
|
60
|
-
</li>
|
|
61
|
-
|
|
62
|
-
<li class="dropdown-divider"></li>
|
|
63
|
-
|
|
64
|
-
<li>
|
|
65
|
-
<a component="topic/delete" href="#" class="dropdown-item" role="menuitem">
|
|
66
|
-
<i class="fa fa-fw fa-trash-o"></i> [[topic:thread-tools.delete]]
|
|
67
|
-
</a>
|
|
68
|
-
</li>
|
|
69
|
-
<li>
|
|
70
|
-
<a component="topic/restore" href="#" class="hidden dropdown-item" role="menuitem">
|
|
71
|
-
<i class="fa fa-fw fa-history"></i> [[topic:thread-tools.restore]]
|
|
72
|
-
</a>
|
|
73
|
-
</li>
|
|
74
|
-
<li>
|
|
75
|
-
<a component="topic/purge" href="#" class="hidden dropdown-item" role="menuitem">
|
|
76
|
-
<i class="fa fa-fw fa-eraser"></i> [[topic:thread-tools.purge]]
|
|
77
|
-
</a>
|
|
78
|
-
</li>
|
|
79
|
-
|
|
80
|
-
{{{each thread_tools}}}
|
|
81
|
-
<li>
|
|
82
|
-
<a href="#" class="dropdown-item {thread_tools.class}" role="menuitem"><i class="fa fa-fw {thread_tools.icon}"></i> {thread_tools.title}</a>
|
|
83
|
-
</li>
|
|
84
|
-
{{{end}}}
|
|
85
|
-
</ul>
|
|
86
|
-
</div>
|
|
1
|
+
<!-- IF showTopicTools -->
|
|
2
|
+
<div class="btn-group thread-tools bottom-sheet">
|
|
3
|
+
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
4
|
+
<span class="visible-sm-inline visible-md-inline visible-lg-inline">[[topic:thread-tools.title]]</span>
|
|
5
|
+
<span class="visible-xs-inline"><i class="fa fa-fw fa-gear"></i></span>
|
|
6
|
+
<span class="caret"></span>
|
|
7
|
+
</button>
|
|
8
|
+
<ul class="dropdown-menu dropdown-menu-end" role="menu">
|
|
9
|
+
<li>
|
|
10
|
+
<a component="topic/mark-unread-for-all" href="#" class="dropdown-item" role="menuitem">
|
|
11
|
+
<i class="fa fa-fw fa-inbox"></i> [[topic:thread-tools.markAsUnreadForAll]]
|
|
12
|
+
</a>
|
|
13
|
+
</li>
|
|
14
|
+
<li>
|
|
15
|
+
<a component="topic/pin" href="#" class="dropdown-item" role="menuitem">
|
|
16
|
+
<i class="fa fa-fw fa-thumb-tack"></i> [[topic:thread-tools.pin]]
|
|
17
|
+
</a>
|
|
18
|
+
</li>
|
|
19
|
+
<li>
|
|
20
|
+
<a component="topic/unpin" href="#" class="hidden dropdown-item" role="menuitem">
|
|
21
|
+
<i class="fa fa-fw fa-thumb-tack fa-rotate-90"></i> [[topic:thread-tools.unpin]]
|
|
22
|
+
</a>
|
|
23
|
+
</li>
|
|
24
|
+
|
|
25
|
+
<li>
|
|
26
|
+
<a component="topic/lock" href="#" class="dropdown-item" role="menuitem">
|
|
27
|
+
<i class="fa fa-fw fa-lock"></i> [[topic:thread-tools.lock]]
|
|
28
|
+
</a>
|
|
29
|
+
</li>
|
|
30
|
+
<li>
|
|
31
|
+
<a component="topic/unlock" href="#" class="hidden dropdown-item" role="menuitem">
|
|
32
|
+
<i class="fa fa-fw fa-unlock"></i> [[topic:thread-tools.unlock]]
|
|
33
|
+
</a>
|
|
34
|
+
</li>
|
|
35
|
+
|
|
36
|
+
<li class="dropdown-divider"></li>
|
|
37
|
+
|
|
38
|
+
<li>
|
|
39
|
+
<a component="topic/move" href="#" class="dropdown-item" role="menuitem">
|
|
40
|
+
<i class="fa fa-fw fa-arrows"></i> [[topic:thread-tools.move]]
|
|
41
|
+
</a>
|
|
42
|
+
</li>
|
|
43
|
+
{{{if template.category}}}
|
|
44
|
+
<li>
|
|
45
|
+
<a component="topic/move-all" href="#" class="dropdown-item" role="menuitem">
|
|
46
|
+
<i class="fa fa-fw fa-arrows"></i> [[topic:thread-tools.move-all]]
|
|
47
|
+
</a>
|
|
48
|
+
</li>
|
|
49
|
+
{{{end}}}
|
|
50
|
+
<li>
|
|
51
|
+
<a component="topic/merge" href="#" class="dropdown-item" role="menuitem">
|
|
52
|
+
<i class="fa fa-fw fa-code-fork"></i> [[topic:thread-tools.merge]]
|
|
53
|
+
</a>
|
|
54
|
+
</li>
|
|
55
|
+
|
|
56
|
+
<li>
|
|
57
|
+
<a component="topic/tag" href="#" class="dropdown-item" role="menuitem">
|
|
58
|
+
<i class="fa fa-fw fa-tag"></i> [[topic:thread-tools.tag]]
|
|
59
|
+
</a>
|
|
60
|
+
</li>
|
|
61
|
+
|
|
62
|
+
<li class="dropdown-divider"></li>
|
|
63
|
+
|
|
64
|
+
<li>
|
|
65
|
+
<a component="topic/delete" href="#" class="dropdown-item" role="menuitem">
|
|
66
|
+
<i class="fa fa-fw fa-trash-o"></i> [[topic:thread-tools.delete]]
|
|
67
|
+
</a>
|
|
68
|
+
</li>
|
|
69
|
+
<li>
|
|
70
|
+
<a component="topic/restore" href="#" class="hidden dropdown-item" role="menuitem">
|
|
71
|
+
<i class="fa fa-fw fa-history"></i> [[topic:thread-tools.restore]]
|
|
72
|
+
</a>
|
|
73
|
+
</li>
|
|
74
|
+
<li>
|
|
75
|
+
<a component="topic/purge" href="#" class="hidden dropdown-item" role="menuitem">
|
|
76
|
+
<i class="fa fa-fw fa-eraser"></i> [[topic:thread-tools.purge]]
|
|
77
|
+
</a>
|
|
78
|
+
</li>
|
|
79
|
+
|
|
80
|
+
{{{each thread_tools}}}
|
|
81
|
+
<li>
|
|
82
|
+
<a href="#" class="dropdown-item {thread_tools.class}" role="menuitem"><i class="fa fa-fw {thread_tools.icon}"></i> {thread_tools.title}</a>
|
|
83
|
+
</li>
|
|
84
|
+
{{{end}}}
|
|
85
|
+
</ul>
|
|
86
|
+
</div>
|
|
87
87
|
<!-- ENDIF showTopicTools -->
|
|
@@ -1,56 +1,56 @@
|
|
|
1
|
-
<!-- IF config.loggedIn -->
|
|
2
|
-
<div class="btn-group bottom-sheet" component="topic/watch">
|
|
3
|
-
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
4
|
-
<span component="category/watching/menu" <!-- IF !../isWatched -->class="hidden"<!-- ENDIF !../isWatched -->><i class="fa fa-fw fa-bell-o"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:watching]]</span></span>
|
|
5
|
-
|
|
6
|
-
<span component="category/tracking/menu" <!-- IF !../isTracked -->class="hidden"<!-- ENDIF !../isTracked -->><i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:tracking]]</span></span>
|
|
7
|
-
|
|
8
|
-
<span component="category/notwatching/menu" <!-- IF !../isNotWatched -->class="hidden"<!-- ENDIF !../isNotWatched -->><i class="fa fa-fw fa-clock-o"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:not-watching]]</span></span>
|
|
9
|
-
|
|
10
|
-
<span component="category/ignoring/menu" <!-- IF !../isIgnored -->class="hidden"<!-- ENDIF !../isIgnored -->><i class="fa fa-fw fa-eye-slash"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:ignoring]]</span></span>
|
|
11
|
-
<span class="caret"></span>
|
|
12
|
-
</button>
|
|
13
|
-
|
|
14
|
-
<ul class="dropdown-menu dropdown-menu-end" role="menu">
|
|
15
|
-
<li>
|
|
16
|
-
<a class="dropdown-item d-flex" href="#" component="category/watching" data-state="watching" role="menuitem">
|
|
17
|
-
<span><i component="category/watching/check" class="fa fa-fw {{{ if ./isWatched }}}fa-check{{{ end }}}"></i></span>
|
|
18
|
-
<div class="d-flex flex-column">
|
|
19
|
-
<span><i class="fa fa-fw fa-bell-o"></i> [[category:watching]]</span>
|
|
20
|
-
<p class="help-text text-muted"><small>[[category:watching.description]]</small></p>
|
|
21
|
-
</div>
|
|
22
|
-
</a>
|
|
23
|
-
</li>
|
|
24
|
-
|
|
25
|
-
<li>
|
|
26
|
-
<a class="dropdown-item d-flex" href="#" component="category/tracking" data-state="tracking" role="menuitem">
|
|
27
|
-
<span><i component="category/tracking/check" class="fa fa-fw {{{ if ./isTracked }}}fa-check{{{ end }}}"></i></span>
|
|
28
|
-
<div class="d-flex flex-column">
|
|
29
|
-
<span><i class="fa fa-fw fa-inbox"></i> [[category:tracking]]</span>
|
|
30
|
-
<p class="help-text text-muted"><small>[[category:tracking.description]]</small></p>
|
|
31
|
-
</div>
|
|
32
|
-
</a>
|
|
33
|
-
</li>
|
|
34
|
-
|
|
35
|
-
<li>
|
|
36
|
-
<a class="dropdown-item d-flex" href="#" component="category/notwatching" data-state="notwatching" role="menuitem">
|
|
37
|
-
<span><i component="category/notwatching/check" class="fa fa-fw {{{ if ./isNotWatched }}}fa-check{{{ end }}}"></i></span>
|
|
38
|
-
<div class="d-flex flex-column">
|
|
39
|
-
<span><i class="fa fa-fw fa-clock-o"></i> [[category:not-watching]]</span>
|
|
40
|
-
<p class="help-text text-muted"><small>[[category:not-watching.description]]</small></p>
|
|
41
|
-
</div>
|
|
42
|
-
</a>
|
|
43
|
-
</li>
|
|
44
|
-
|
|
45
|
-
<li>
|
|
46
|
-
<a class="dropdown-item d-flex" href="#" component="category/ignoring" data-state="ignoring" role="menuitem">
|
|
47
|
-
<span><i component="category/ignoring/check" class="fa fa-fw {{{ if ./isIgnored }}}fa-check{{{ end }}}"></i></span>
|
|
48
|
-
<div class="d-flex flex-column">
|
|
49
|
-
<span><i class="fa fa-fw fa-eye-slash"></i> [[category:ignoring]]</span>
|
|
50
|
-
<p class="help-text text-muted"><small>[[category:ignoring.description]]</small></p>
|
|
51
|
-
</div>
|
|
52
|
-
</a>
|
|
53
|
-
</li>
|
|
54
|
-
</ul>
|
|
55
|
-
</div>
|
|
1
|
+
<!-- IF config.loggedIn -->
|
|
2
|
+
<div class="btn-group bottom-sheet" component="topic/watch">
|
|
3
|
+
<button class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false">
|
|
4
|
+
<span component="category/watching/menu" <!-- IF !../isWatched -->class="hidden"<!-- ENDIF !../isWatched -->><i class="fa fa-fw fa-bell-o"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:watching]]</span></span>
|
|
5
|
+
|
|
6
|
+
<span component="category/tracking/menu" <!-- IF !../isTracked -->class="hidden"<!-- ENDIF !../isTracked -->><i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:tracking]]</span></span>
|
|
7
|
+
|
|
8
|
+
<span component="category/notwatching/menu" <!-- IF !../isNotWatched -->class="hidden"<!-- ENDIF !../isNotWatched -->><i class="fa fa-fw fa-clock-o"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:not-watching]]</span></span>
|
|
9
|
+
|
|
10
|
+
<span component="category/ignoring/menu" <!-- IF !../isIgnored -->class="hidden"<!-- ENDIF !../isIgnored -->><i class="fa fa-fw fa-eye-slash"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"> [[category:ignoring]]</span></span>
|
|
11
|
+
<span class="caret"></span>
|
|
12
|
+
</button>
|
|
13
|
+
|
|
14
|
+
<ul class="dropdown-menu dropdown-menu-end" role="menu">
|
|
15
|
+
<li>
|
|
16
|
+
<a class="dropdown-item d-flex" href="#" component="category/watching" data-state="watching" role="menuitem">
|
|
17
|
+
<span><i component="category/watching/check" class="fa fa-fw {{{ if ./isWatched }}}fa-check{{{ end }}}"></i></span>
|
|
18
|
+
<div class="d-flex flex-column">
|
|
19
|
+
<span><i class="fa fa-fw fa-bell-o"></i> [[category:watching]]</span>
|
|
20
|
+
<p class="help-text text-muted"><small>[[category:watching.description]]</small></p>
|
|
21
|
+
</div>
|
|
22
|
+
</a>
|
|
23
|
+
</li>
|
|
24
|
+
|
|
25
|
+
<li>
|
|
26
|
+
<a class="dropdown-item d-flex" href="#" component="category/tracking" data-state="tracking" role="menuitem">
|
|
27
|
+
<span><i component="category/tracking/check" class="fa fa-fw {{{ if ./isTracked }}}fa-check{{{ end }}}"></i></span>
|
|
28
|
+
<div class="d-flex flex-column">
|
|
29
|
+
<span><i class="fa fa-fw fa-inbox"></i> [[category:tracking]]</span>
|
|
30
|
+
<p class="help-text text-muted"><small>[[category:tracking.description]]</small></p>
|
|
31
|
+
</div>
|
|
32
|
+
</a>
|
|
33
|
+
</li>
|
|
34
|
+
|
|
35
|
+
<li>
|
|
36
|
+
<a class="dropdown-item d-flex" href="#" component="category/notwatching" data-state="notwatching" role="menuitem">
|
|
37
|
+
<span><i component="category/notwatching/check" class="fa fa-fw {{{ if ./isNotWatched }}}fa-check{{{ end }}}"></i></span>
|
|
38
|
+
<div class="d-flex flex-column">
|
|
39
|
+
<span><i class="fa fa-fw fa-clock-o"></i> [[category:not-watching]]</span>
|
|
40
|
+
<p class="help-text text-muted"><small>[[category:not-watching.description]]</small></p>
|
|
41
|
+
</div>
|
|
42
|
+
</a>
|
|
43
|
+
</li>
|
|
44
|
+
|
|
45
|
+
<li>
|
|
46
|
+
<a class="dropdown-item d-flex" href="#" component="category/ignoring" data-state="ignoring" role="menuitem">
|
|
47
|
+
<span><i component="category/ignoring/check" class="fa fa-fw {{{ if ./isIgnored }}}fa-check{{{ end }}}"></i></span>
|
|
48
|
+
<div class="d-flex flex-column">
|
|
49
|
+
<span><i class="fa fa-fw fa-eye-slash"></i> [[category:ignoring]]</span>
|
|
50
|
+
<p class="help-text text-muted"><small>[[category:ignoring.description]]</small></p>
|
|
51
|
+
</div>
|
|
52
|
+
</a>
|
|
53
|
+
</li>
|
|
54
|
+
</ul>
|
|
55
|
+
</div>
|
|
56
56
|
<!-- ENDIF config.loggedIn -->
|
|
@@ -1,41 +1,42 @@
|
|
|
1
|
-
{{{ if config.loggedIn }}}
|
|
2
|
-
<ul class="nav nav-pills">
|
|
3
|
-
<li class="nav-item">
|
|
4
|
-
<a class="nav-link" href="#" data-bs-target="#notifications" data-bs-toggle="tab"><span class="counter unread-count" component="notifications/icon" data-content="{unreadCount.notification}"></span> <i class="fa fa-fw fa-bell"></i></a>
|
|
5
|
-
</li>
|
|
6
|
-
{{{ if !config.disableChat }}}
|
|
7
|
-
<li class="nav-item">
|
|
8
|
-
<a class="nav-link" href="#" data-bs-target="#chats" data-bs-toggle="tab"><i class="counter unread-count" component="chat/icon" data-content="{unreadCount.chat}"></i> <i class="fa fa-fw fa-comment"></i></a>
|
|
9
|
-
</li>
|
|
10
|
-
{{{ end }}}
|
|
11
|
-
<li class="nav-item">
|
|
12
|
-
<a class="nav-link active" href="#" data-bs-target="#profile" data-bs-toggle="tab">
|
|
13
|
-
{buildAvatar(user, "24px", true, "user-icon")}
|
|
14
|
-
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i>
|
|
15
|
-
</a>
|
|
16
|
-
</li>
|
|
17
|
-
</ul>
|
|
18
|
-
|
|
19
|
-
<div class="tab-content">
|
|
20
|
-
<div class="tab-pane fade show active" id="profile">
|
|
21
|
-
<section class="menu-section" data-section="profile">
|
|
22
|
-
<ul class="menu-section-list dropdown-menu show text-bg-dark w-100 border-0" component="header/usercontrol"></ul>
|
|
23
|
-
</section>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="tab-pane fade" id="notifications">
|
|
26
|
-
<section class="menu-section text-bg-dark" data-section="notifications">
|
|
27
|
-
<ul class="menu-section-list notification-list-mobile" component="notifications/list"></ul>
|
|
28
|
-
<
|
|
29
|
-
</section>
|
|
30
|
-
</div>
|
|
31
|
-
{{{ if !config.disableChat }}}
|
|
32
|
-
<div class="tab-pane fade" id="chats">
|
|
33
|
-
<section class="menu-section text-bg-dark" data-section="chats">
|
|
34
|
-
<ul class="menu-section-list chat-list" component="chat/list">
|
|
35
|
-
|
|
36
|
-
</ul>
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
1
|
+
{{{ if config.loggedIn }}}
|
|
2
|
+
<ul class="nav nav-pills">
|
|
3
|
+
<li class="nav-item">
|
|
4
|
+
<a class="nav-link text-decoration-none" href="#" data-bs-target="#notifications" data-bs-toggle="tab"><span class="counter unread-count" component="notifications/icon" data-content="{unreadCount.notification}"></span> <i class="fa fa-fw fa-bell"></i></a>
|
|
5
|
+
</li>
|
|
6
|
+
{{{ if !config.disableChat }}}
|
|
7
|
+
<li class="nav-item">
|
|
8
|
+
<a class="nav-link text-decoration-none" href="#" data-bs-target="#chats" data-bs-toggle="tab"><i class="counter unread-count" component="chat/icon" data-content="{unreadCount.chat}"></i> <i class="fa fa-fw fa-comment"></i></a>
|
|
9
|
+
</li>
|
|
10
|
+
{{{ end }}}
|
|
11
|
+
<li class="nav-item">
|
|
12
|
+
<a class="nav-link active text-decoration-none" href="#" data-bs-target="#profile" data-bs-toggle="tab">
|
|
13
|
+
{buildAvatar(user, "24px", true, "user-icon")}
|
|
14
|
+
<i component="user/status" class="fa fa-fw fa-circle status {user.status}"></i>
|
|
15
|
+
</a>
|
|
16
|
+
</li>
|
|
17
|
+
</ul>
|
|
18
|
+
|
|
19
|
+
<div class="tab-content">
|
|
20
|
+
<div class="tab-pane fade show active" id="profile">
|
|
21
|
+
<section class="menu-section" data-section="profile">
|
|
22
|
+
<ul class="menu-section-list dropdown-menu show text-bg-dark w-100 border-0" component="header/usercontrol"></ul>
|
|
23
|
+
</section>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="tab-pane fade" id="notifications">
|
|
26
|
+
<section class="menu-section text-bg-dark px-1" data-section="notifications">
|
|
27
|
+
<ul class="menu-section-list notification-list-mobile list-unstyled" component="notifications/list"></ul>
|
|
28
|
+
<div class="menu-section-list text-center p-3"><a href="{relative_path}/notifications">[[notifications:see-all]]</a></div>
|
|
29
|
+
</section>
|
|
30
|
+
</div>
|
|
31
|
+
{{{ if !config.disableChat }}}
|
|
32
|
+
<div class="tab-pane fade" id="chats">
|
|
33
|
+
<section class="menu-section text-bg-dark px-1" data-section="chats">
|
|
34
|
+
<ul class="menu-section-list chat-list list-unstyled" component="chat/list">
|
|
35
|
+
|
|
36
|
+
</ul>
|
|
37
|
+
<div class="menu-section-list text-center p-3"><a class="navigation-link" href="{relative_path}/user/{user.userslug}/chats">[[modules:chat.see-all]]</a></div>
|
|
38
|
+
</section>
|
|
39
|
+
</div>
|
|
40
|
+
{{{ end }}}
|
|
41
|
+
</div>
|
|
41
42
|
{{{ end }}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<div class="cookie-consent">
|
|
2
|
-
<button class="float-end btn btn-primary">{dismiss}</button>
|
|
3
|
-
{message} <a target="_blank" rel="noopener" href="{link_url}">{link}</a>
|
|
4
|
-
</div>
|
|
1
|
+
<div class="cookie-consent">
|
|
2
|
+
<button class="float-end btn btn-primary">{dismiss}</button>
|
|
3
|
+
{message} <a target="_blank" rel="noopener" href="{link_url}">{link}</a>
|
|
4
|
+
</div>
|