nodebb-theme-persona 11.4.1 → 11.4.4
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/less/header.less
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
.header, .slideout-menu {
|
|
2
|
+
.notifications .dropdown-menu {
|
|
3
|
+
padding: 0;
|
|
4
|
+
}
|
|
5
|
+
|
|
2
6
|
.notification-list {
|
|
3
7
|
overflow-x: hidden;
|
|
4
8
|
overflow-y: auto;
|
|
@@ -173,14 +177,12 @@
|
|
|
173
177
|
}
|
|
174
178
|
|
|
175
179
|
.notif-dropdown-link {
|
|
176
|
-
// margin-top: 1em;
|
|
177
180
|
border-top: 1px solid rgba(163, 163, 163, 0.5);
|
|
178
|
-
padding: 0 5px 0 5px;
|
|
179
181
|
|
|
180
182
|
a {
|
|
181
183
|
display: block;
|
|
182
184
|
text-align: center;
|
|
183
|
-
padding: 0.5em 0;
|
|
185
|
+
padding: 0.5em 0.5em;
|
|
184
186
|
font-weight: 600;
|
|
185
187
|
}
|
|
186
188
|
}
|
package/package.json
CHANGED
|
@@ -33,16 +33,26 @@
|
|
|
33
33
|
<!-- ENDIF canEdit -->
|
|
34
34
|
|
|
35
35
|
<!-- IF !isSelf -->
|
|
36
|
-
|
|
36
|
+
{{{ if (canBan || canMute) }}}
|
|
37
37
|
<li role="separator" class="divider"></li>
|
|
38
38
|
<li class="dropdown-header">[[user:admin_actions_label]]</li>
|
|
39
|
+
{{{ end }}}
|
|
40
|
+
{{{ if canBan }}}
|
|
39
41
|
<li class="<!-- IF banned -->hide<!-- ENDIF banned -->">
|
|
40
42
|
<a component="account/ban" href="#">[[user:ban_account]]</a>
|
|
41
43
|
</li>
|
|
42
44
|
<li class="<!-- IF !banned -->hide<!-- ENDIF !banned -->">
|
|
43
45
|
<a component="account/unban" href="#">[[user:unban_account]]</a>
|
|
44
46
|
</li>
|
|
45
|
-
|
|
47
|
+
{{{ end }}}
|
|
48
|
+
{{{ if canMute }}}
|
|
49
|
+
<li class="<!-- IF muted -->hide<!-- ENDIF muted -->">
|
|
50
|
+
<a component="account/mute" href="#">[[user:mute_account]]</a>
|
|
51
|
+
</li>
|
|
52
|
+
<li class="<!-- IF !muted -->hide<!-- ENDIF !muted -->">
|
|
53
|
+
<a component="account/unmute" href="#">[[user:unmute_account]]</a>
|
|
54
|
+
</li>
|
|
55
|
+
{{{ end }}}
|
|
46
56
|
<!-- IF isAdmin -->
|
|
47
57
|
<li>
|
|
48
58
|
<a component="account/delete-account" href="#" class="">[[user:delete_account_as_admin]]</a>
|
|
@@ -9,28 +9,34 @@
|
|
|
9
9
|
</span>
|
|
10
10
|
<br/>
|
|
11
11
|
|
|
12
|
+
<!-- IF section_online -->
|
|
13
|
+
<div class="lastonline">
|
|
14
|
+
<span class="timeago" title="{users.lastonlineISO}"></span>
|
|
15
|
+
</div>
|
|
16
|
+
<!-- ENDIF section_online -->
|
|
17
|
+
|
|
12
18
|
<!-- IF section_joindate -->
|
|
13
|
-
<div
|
|
19
|
+
<div class="joindate">
|
|
14
20
|
<span class="timeago" title="{users.joindateISO}"></span>
|
|
15
21
|
</div>
|
|
16
22
|
<!-- ENDIF section_joindate -->
|
|
17
23
|
|
|
18
24
|
<!-- IF section_sort-reputation -->
|
|
19
|
-
<div
|
|
25
|
+
<div class="reputation">
|
|
20
26
|
<i class="fa fa-star"></i>
|
|
21
27
|
<span class="formatted-number">{users.reputation}</span>
|
|
22
28
|
</div>
|
|
23
29
|
<!-- ENDIF section_sort-reputation -->
|
|
24
30
|
|
|
25
31
|
<!-- IF section_sort-posts -->
|
|
26
|
-
<div
|
|
32
|
+
<div class="post-count">
|
|
27
33
|
<i class="fa fa-pencil"></i>
|
|
28
34
|
<span class="formatted-number">{users.postcount}</span>
|
|
29
35
|
</div>
|
|
30
36
|
<!-- ENDIF section_sort-posts -->
|
|
31
37
|
|
|
32
38
|
<!-- IF section_flagged -->
|
|
33
|
-
<div
|
|
39
|
+
<div class="flag-count">
|
|
34
40
|
<i class="fa fa-flag"></i>
|
|
35
41
|
<span><a class="formatted-number" href="{config.relative_path}/flags?targetUid={users.uid}">{users.flags}</a></span>
|
|
36
42
|
</div>
|