nodebb-theme-persona 13.2.6 → 13.2.7
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
|
@@ -1,10 +1,43 @@
|
|
|
1
1
|
<div class="d-flex gap-1 align-items-stretch">
|
|
2
|
-
|
|
2
|
+
<!-- notification dropdown -->
|
|
3
|
+
<div class="dropdown d-flex" data-manual-tooltip="1" title="[[modules:chat.notification-settings]]">
|
|
4
|
+
<button class="btn btn-sm btn-light position-relative" data-bs-toggle="dropdown">
|
|
5
|
+
<i class="fa fa-bell text-muted"></i>
|
|
6
|
+
<span class="position-absolute top-0 end-0 text-xs text-muted opacity-75" style="font-size: 10px!important; padding: 1px; line-height: 10px;">
|
|
7
|
+
<i component="chat/notification/setting/icon" class="fa {notificationOptionsIcon}"></i>
|
|
8
|
+
</span>
|
|
9
|
+
</button>
|
|
10
|
+
<ul class="dropdown-menu dropdown-menu-end p-1 text-sm" component="chat/notification/setting">
|
|
11
|
+
{{{ each notificationOptions }}}
|
|
12
|
+
<li>
|
|
13
|
+
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-value="{./value}" data-icon="{./icon}">
|
|
14
|
+
<div class="d-flex flex-column gap-1">
|
|
15
|
+
<div class="d-flex align-items-center gap-2">
|
|
16
|
+
<div class="flex-grow-1">{./label}</div>
|
|
17
|
+
<i class="flex-shrink-0 fa fa-fw fa-check {{{ if !./selected }}}hidden{{{ end }}}"></i>
|
|
18
|
+
</div>
|
|
19
|
+
{{{ if @first}}}
|
|
20
|
+
<div component="chat/notification/setting/sub-label" class="text-sm text-muted">{./subLabel}</div>
|
|
21
|
+
{{{ end }}}
|
|
22
|
+
</div>
|
|
23
|
+
</a>
|
|
24
|
+
</li>
|
|
25
|
+
|
|
26
|
+
{{{ if @first }}}
|
|
27
|
+
<li><hr class="dropdown-divider"></li>
|
|
28
|
+
{{{ end }}}
|
|
29
|
+
{{{ end }}}
|
|
30
|
+
</ul>
|
|
31
|
+
</div>
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
<div class="dropdown d-flex" data-manual-tooltip="1" title="[[modules:chat.options]]">
|
|
3
37
|
<button class="btn btn-sm btn-light" data-bs-toggle="dropdown" component="chat/controlsToggle">
|
|
4
38
|
<i class="fa fa-gear text-muted"></i>
|
|
5
39
|
</button>
|
|
6
40
|
<ul class="dropdown-menu dropdown-menu-end p-1 text-sm" component="chat/controls">
|
|
7
|
-
<li class="dropdown-header">[[modules:chat.options]]</li>
|
|
8
41
|
<li>
|
|
9
42
|
<a class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#" data-action="members">
|
|
10
43
|
<i class="fa fa-fw text-muted fa-cog"></i> [[modules:chat.manage-room]]
|