nodebb-theme-persona 13.0.57 → 13.0.59
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/chats/message.tpl +6 -6
- 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 }}}
|
|
@@ -18,17 +18,17 @@
|
|
|
18
18
|
{messages.content}
|
|
19
19
|
</div>
|
|
20
20
|
|
|
21
|
-
|
|
22
|
-
<!-- IF messages.self -->
|
|
21
|
+
{{{ if (isAdminOrGlobalMod || (!config.disableChatMessageEditing && messages.self)) }}}
|
|
23
22
|
<div component="chat/message/controls" class="btn-group controls">
|
|
23
|
+
{{{ if (!config.disableChatMessageEditing && messages.self) }}}
|
|
24
24
|
<button class="btn btn-sm btn-link" data-action="edit"><i class="fa fa-pencil"></i></button>
|
|
25
25
|
<button class="btn btn-sm btn-link" data-action="delete"><i class="fa fa-times"></i></button>
|
|
26
26
|
<button class="btn btn-sm btn-link" data-action="restore"><i class="fa fa-repeat"></i></button>
|
|
27
|
-
|
|
27
|
+
{{{ end }}}
|
|
28
|
+
{{{ if isAdminOrGlobalMod }}}
|
|
28
29
|
<button class="btn btn-sm btn-link chat-ip" title="[[modules:chat.show-ip]]"><i class="fa fa-info-circle chat-ip-button"></i></button>
|
|
29
|
-
|
|
30
|
+
{{{ end }}}
|
|
30
31
|
</div>
|
|
31
|
-
|
|
32
|
-
<!-- ENDIF !config.disableChatMessageEditing -->
|
|
32
|
+
{{{ end }}}
|
|
33
33
|
</div>
|
|
34
34
|
</li>
|
|
@@ -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">
|