nodebb-theme-persona 14.1.7 → 14.1.8
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
CHANGED
|
@@ -50,10 +50,41 @@
|
|
|
50
50
|
</div>
|
|
51
51
|
<!-- ENDIF !hideFullname -->
|
|
52
52
|
<!-- IF !config.disableChat -->
|
|
53
|
-
<div class="form-check">
|
|
54
|
-
<input id="
|
|
55
|
-
<label for="
|
|
53
|
+
<div class="form-check mb-2">
|
|
54
|
+
<input id="disableIncomingMessages" class="form-check-input" type="checkbox" data-property="disableIncomingMessages" <!-- IF settings.disableIncomingMessages -->checked<!-- ENDIF settings.disableIncomingMessages -->/>
|
|
55
|
+
<label for="disableIncomingMessages" class="form-check-label">[[user:disable-incoming-chats]]</label>
|
|
56
|
+
</div>
|
|
57
|
+
|
|
58
|
+
<div class="d-flex flex-column mb-3">
|
|
59
|
+
<label class="form-label text-sm" for="chatAllowListAdd">[[user:chat-allow-list]]</label>
|
|
60
|
+
|
|
61
|
+
<div component="chat/allow/list" class="d-flex flex-wrap gap-2 mb-2">
|
|
62
|
+
{{{ each settings.chatAllowListUsers }}}
|
|
63
|
+
<div component="chat/allow/list/user" data-uid="{./uid}" class="d-flex px-2 py-1 rounded-1 text-bg-light gap-2 align-items-center text-sm">
|
|
64
|
+
{buildAvatar(@value, "16px", true)} {./username}
|
|
65
|
+
<button component="chat/allow/delete" data-uid="{./uid}" class="btn btn-light btn-sm py-0"><i class="fa fa-times fa-xs text-danger"></i></button>
|
|
66
|
+
</div>
|
|
67
|
+
{{{ end }}}
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
<input type="text" class="form-control form-control-sm" id="chatAllowListAdd" placeholder="[[user:chat-list-add-user]]"/>
|
|
56
71
|
</div>
|
|
72
|
+
|
|
73
|
+
<div class="d-flex flex-column mb-3">
|
|
74
|
+
<label class="form-label text-sm" for="chatAllowListAdd">[[user:chat-deny-list]]</label>
|
|
75
|
+
|
|
76
|
+
<div component="chat/deny/list" class="d-flex flex-wrap gap-2 mb-2">
|
|
77
|
+
{{{ each settings.chatDenyListUsers }}}
|
|
78
|
+
<div component="chat/deny/list/user" data-uid="{./uid}" class="d-flex px-2 py-1 rounded-1 text-bg-light gap-2 align-items-center text-sm">
|
|
79
|
+
{buildAvatar(@value, "16px", true)} {./username}
|
|
80
|
+
<button component="chat/deny/delete" data-uid="{./uid}" class="btn btn-light btn-sm py-0"><i class="fa fa-times fa-xs text-danger"></i></button>
|
|
81
|
+
</div>
|
|
82
|
+
{{{ end }}}
|
|
83
|
+
</div>
|
|
84
|
+
|
|
85
|
+
<input type="text" class="form-control form-control-sm" id="chatDenyListAdd" placeholder="[[user:chat-list-add-user]]"/>
|
|
86
|
+
</div>
|
|
87
|
+
|
|
57
88
|
<!-- ENDIF !config.disableChat -->
|
|
58
89
|
</div>
|
|
59
90
|
|
package/templates/topic.tpl
CHANGED
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
</span>
|
|
43
43
|
{function.buildCategoryLabel, category, "a", "border"}
|
|
44
44
|
<div data-tid="{./tid}" component="topic/tags" class="lh-1 tags tag-list d-flex flex-wrap hidden-xs hidden-empty gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
|
|
45
|
-
<div class="d-flex
|
|
45
|
+
<div class="d-flex gap-2"><!-- IMPORT partials/topic/stats.tpl --></div>
|
|
46
46
|
{{{ if !feeds:disableRSS }}}
|
|
47
47
|
{{{ if rssFeedUrl }}}<a class="hidden-xs" target="_blank" href="{rssFeedUrl}"><i class="fa fa-rss-square"></i></a>{{{ end }}}
|
|
48
48
|
{{{ end }}}
|