nodebb-theme-persona 13.0.58 → 13.0.60
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/package.json +1 -1
- package/templates/partials/category/tags.tpl +1 -1
- package/templates/partials/category/tools.tpl +6 -0
- package/templates/partials/groups/filter-dropdown-content.tpl +25 -0
- package/templates/partials/topic/topic-menu-list.tpl +1 -0
- package/templates/partials/topics_list.tpl +2 -3
- package/templates/topic.tpl +1 -1
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{{{ each tags }}}
|
|
2
|
-
<a href="{config.relative_path}/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
3
|
{{{ end }}}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<div class="dropdown bottom-sheet">
|
|
2
|
+
<button type="button" class="btn btn-outline-secondary dropdown-toggle" data-bs-toggle="dropdown">
|
|
3
|
+
{{{ if selectedGroup }}}
|
|
4
|
+
<span class="fw-semibold">{selectedGroup.displayName}</span>
|
|
5
|
+
{{{ else }}}
|
|
6
|
+
<span class="fw-semibold">[[groups:all-groups]]</span>
|
|
7
|
+
{{{ end }}} <span class="caret"></span>
|
|
8
|
+
</button>
|
|
9
|
+
<ul class="dropdown-menu text-sm" role="menu">
|
|
10
|
+
<li role="presentation" class="user {{{ if !selectedGroup}}}selected{{{end}}}">
|
|
11
|
+
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" role="menu-item" href="{config.relative_path}/{allGroupsUrl}">
|
|
12
|
+
<div class="flex-grow-1">[[groups:all-groups]]</div>
|
|
13
|
+
<i class="flex-shrink-0 fa fa-fw {{{ if !selectedGroup }}}fa-check{{{ end }}}"></i>
|
|
14
|
+
</a>
|
|
15
|
+
</li>
|
|
16
|
+
{{{ each groups }}}
|
|
17
|
+
<li role="presentation" class="user {{{ if ./selected}}}selected{{{end}}}">
|
|
18
|
+
<a class="dropdown-item d-flex align-items-center gap-2" role="menu-item" href="{config.relative_path}/{./url}">
|
|
19
|
+
<div class="flex-grow-1 d-inline-flex gap-1 align-items-center">{./displayName}</div>
|
|
20
|
+
<i class="flex-shrink-0 fa fa-fw {{{ if ./selected }}}fa-check{{{ end }}}"></i>
|
|
21
|
+
</a>
|
|
22
|
+
</li>
|
|
23
|
+
{{{end}}}
|
|
24
|
+
</ul>
|
|
25
|
+
</div>
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<li><a component="topic/move" class="dropdown-item" href="#"><i class="fa fa-fw fa-arrows"></i> [[topic:thread_tools.move]]</a></li>
|
|
8
8
|
<li><a component="topic/merge" class="dropdown-item" href="#"><i class="fa fa-fw fa-code-fork"></i> [[topic:thread_tools.merge]]</a></li>
|
|
9
9
|
<li><a component="topic/fork" class="dropdown-item" href="#"><i class="fa fa-fw fa-code-fork"></i> [[topic:thread_tools.fork]]</a></li>
|
|
10
|
+
<li><a component="topic/tag" class="dropdown-item" href="#"><i class="fa fa-fw fa-tag"></i> [[topic:thread_tools.tag]]</a></li>
|
|
10
11
|
{{{ if !scheduled }}}
|
|
11
12
|
<li><a component="topic/move-posts" class="dropdown-item" href="#"><i class="fa fa-fw fa-arrows"></i> [[topic:thread_tools.move-posts]]</a></li>
|
|
12
13
|
{{{ end }}}
|
|
@@ -53,14 +53,13 @@
|
|
|
53
53
|
•
|
|
54
54
|
<!-- ENDIF !template.category -->
|
|
55
55
|
|
|
56
|
-
|
|
57
|
-
<span class="tag-list hidden-xs">
|
|
56
|
+
|
|
57
|
+
<span data-tid="{./tid}" component="topic/tags" class="tag-list hidden-xs {{{ if !./tags.length }}}hidden{{{ end}}}">
|
|
58
58
|
{{{ each ./tags }}}
|
|
59
59
|
<!-- IMPORT partials/topic/tag.tpl -->
|
|
60
60
|
{{{ end }}}
|
|
61
61
|
•
|
|
62
62
|
</span>
|
|
63
|
-
{{{ end }}}
|
|
64
63
|
|
|
65
64
|
<span class="hidden-xs"><span class="timeago text-muted" title="{./timestampISO}"></span> • <a class="text-muted" href="{{{ if ./user.userslug }}}{config.relative_path}/user/{./user.userslug}{{{ else }}}#{{{ end }}}">{./user.displayname}</a></span>
|
|
66
65
|
|
package/templates/topic.tpl
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<a href="{config.relative_path}/category/{category.slug}">{category.name}</a>
|
|
26
26
|
</div>
|
|
27
27
|
|
|
28
|
-
<div class="tags tag-list d-inline-block hidden-xs">
|
|
28
|
+
<div data-tid="{./tid}" component="topic/tags" class="tags tag-list d-inline-block hidden-xs">
|
|
29
29
|
<!-- IMPORT partials/topic/tags.tpl -->
|
|
30
30
|
</div>
|
|
31
31
|
<div class="d-inline-block hidden-xs">
|