nodebb-theme-persona 13.0.33 → 13.0.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/package.json
CHANGED
|
@@ -18,7 +18,10 @@
|
|
|
18
18
|
<a class="dropdown-item" component="account/flag" href="#">[[user:flag-profile]]</a>
|
|
19
19
|
</li>
|
|
20
20
|
<li>
|
|
21
|
-
<a class="dropdown-item" component="account/block" href="#"
|
|
21
|
+
<a class="dropdown-item {{{ if ./isBlocked }}}hidden{{{ end }}}" component="account/block" href="#">[[user:block_user]]</a>
|
|
22
|
+
</li>
|
|
23
|
+
<li>
|
|
24
|
+
<a class="dropdown-item {{{ if !./isBlocked }}}hidden{{{ end }}}" component="account/unblock" href="#">[[user:unblock_user]]</a>
|
|
22
25
|
</li>
|
|
23
26
|
<li role="separator" class="dropdown-divider"></li>
|
|
24
27
|
<!-- ENDIF !banned -->
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{{{each groups}}}
|
|
2
2
|
<div class="col-lg-4 col-md-6 col-sm-12 mb-3" component="groups/summary" data-slug="{groups.slug}">
|
|
3
3
|
<div class="card h-100">
|
|
4
|
-
<a href="{config.relative_path}/groups/{groups.slug}" class="card-header list-cover" style="
|
|
4
|
+
<a href="{config.relative_path}/groups/{groups.slug}" class="card-header list-cover" style="{{{ if groups.cover:thumb:url }}}background-image: url({./cover:thumb:url});background-size: cover; min-height: 125px; background-position: {./cover:position}{{{ end }}}">
|
|
5
5
|
<h5 class="card-title">{groups.displayName} <small>{groups.memberCount}</small></h5>
|
|
6
6
|
</a>
|
|
7
7
|
<div class="card-body">
|
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
<a href="{config.relative_path}/user/{groups.members.userslug}">{buildAvatar(groups.members, "24px", true)}</a>
|
|
12
12
|
</li>
|
|
13
13
|
{{{end}}}
|
|
14
|
-
|
|
14
|
+
{{{ if groups.truncated }}}
|
|
15
15
|
<li class="truncated"><i class="fa fa-ellipsis-h"></i></li>
|
|
16
|
-
|
|
16
|
+
{{{ end }}}
|
|
17
17
|
</ul>
|
|
18
18
|
</div>
|
|
19
19
|
</div>
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<button class="btn btn-primary hidden" type="submit"></button>
|
|
26
26
|
<input type="text" class="hidden" name="in" value="{config.searchDefaultInQuick}" />
|
|
27
27
|
</form>
|
|
28
|
-
<div class="quick-search-container hidden">
|
|
28
|
+
<div class="quick-search-container dropdown-menu d-block mt-2 hidden">
|
|
29
29
|
<div class="quick-search-results-container"></div>
|
|
30
30
|
</div>
|
|
31
31
|
</div>
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
<!-- IF canChat -->
|
|
134
134
|
<li class="nav-item chats dropdown" title="[[global:header.chats]]">
|
|
135
135
|
<a class="nav-link" data-bs-toggle="dropdown" href="{relative_path}/user/{user.userslug}/chats" id="chat_dropdown" component="chat/dropdown" data-ajaxify="false" role="button">
|
|
136
|
-
<i component="chat/icon" class="fa fa-comment-o fa-fw unread-count" data-content="{unreadCount.chat}"></i> <span class="d-inline d-sm-none">[[global:header.chats]]</span>
|
|
136
|
+
<i component="chat/icon" class="fa {{{ if unreadCount.chat}}}fa-comment{{{ else }}}fa-comment-o{{{ end }}} fa-fw unread-count" data-content="{unreadCount.chat}"></i> <span class="d-inline d-sm-none">[[global:header.chats]]</span>
|
|
137
137
|
</a>
|
|
138
138
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="chat_dropdown">
|
|
139
139
|
<li>
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
</a>
|
|
85
85
|
{{{ end }}}
|
|
86
86
|
|
|
87
|
-
<small class="float-end">
|
|
87
|
+
<small class="float-end" component="post/actions">
|
|
88
88
|
<!-- IMPORT partials/topic/reactions.tpl -->
|
|
89
89
|
<span class="post-tools">
|
|
90
90
|
<a component="post/reply" href="#" class="user-select-none <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">[[topic:reply]]</a>
|