nodebb-theme-persona 14.2.30 → 14.2.32
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-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-persona",
|
|
3
|
-
"version": "14.2.
|
|
3
|
+
"version": "14.2.32",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "nodebb-theme-persona",
|
|
9
|
-
"version": "14.2.
|
|
9
|
+
"version": "14.2.32",
|
|
10
10
|
"license": "BSD-2-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"pulling": "^2.0.0"
|
package/package.json
CHANGED
|
@@ -14,6 +14,9 @@
|
|
|
14
14
|
</div>
|
|
15
15
|
<div>
|
|
16
16
|
<div class="d-flex justify-content-end gap-2">
|
|
17
|
+
<div class="me-auto">
|
|
18
|
+
<!-- IMPORT partials/category/selector-dropdown-left.tpl -->
|
|
19
|
+
</div>
|
|
17
20
|
<button type="button" component="topic/quickreply/upload/button" class="btn btn-ghost btn-sm border"><i class="fa fa-upload"></i></button>
|
|
18
21
|
<button type="button" component="topic/quickreply/expand" class="btn btn-ghost btn-sm border" title="[[topic:open-composer]]"><i class="fa fa-expand"></i></button>
|
|
19
22
|
<button type="submit" component="topic/quickreply/button" class="btn btn-sm btn-primary">[[topic:post-quick-{{{ if tid }}}reply{{{ else }}}create{{{ end }}}]]</button>
|
package/templates/world.tpl
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
<div class="world {{{if widgets.sidebar.length }}}col-lg-9 col-sm-12{{{ else }}}col-lg-12{{{ end }}}">
|
|
28
28
|
<div class="category">
|
|
29
29
|
<div class="row flex-row-reverse">
|
|
30
|
-
<div class="col-lg-4 col-sm-12 mt-2 pt-1">
|
|
30
|
+
<div class="col-lg-4 col-sm-12 mt-2 pt-1 {{{ if !config.loggedIn }}}invisible{{{ end }}}">
|
|
31
31
|
<form class="mb-3" role="search" method="GET" action="{config.relative_path}/search">
|
|
32
32
|
<input type="hidden" name="in" value="categories" />
|
|
33
33
|
<div class="input-group bottom-sheet">
|
|
@@ -66,7 +66,6 @@
|
|
|
66
66
|
</ul>
|
|
67
67
|
</div>
|
|
68
68
|
|
|
69
|
-
{{{ if posts.length }}}
|
|
70
69
|
<div class="col-lg-8 col-sm-12">
|
|
71
70
|
{{{ if posts.length }}}
|
|
72
71
|
<div class="topic-list-header sticky-top btn-toolbar justify-content-end align-items-center px-1 py-2 mb-2 flex-nowrap">
|
|
@@ -98,6 +97,20 @@
|
|
|
98
97
|
|
|
99
98
|
<!-- IMPORT partials/topic/quickreply.tpl -->
|
|
100
99
|
|
|
100
|
+
{{{ if !config.loggedIn }}}
|
|
101
|
+
<div class="alert alert-info alert-dismissible fade show">
|
|
102
|
+
<p class="fw-semibold">
|
|
103
|
+
[[world:onboard.title]]
|
|
104
|
+
</p>
|
|
105
|
+
<p>[[world:onboard.what]]</p>
|
|
106
|
+
<p>[[world:onboard.why]]</p>
|
|
107
|
+
<p>[[world:onboard.how]]</p>
|
|
108
|
+
<a href="{config.relative_path}/register" class="fw-semibold btn btn-sm btn-warning">[[global:register]]</a>
|
|
109
|
+
<a href="{config.relative_path}/login" class="fw-semibold btn btn-sm btn-info">[[global:login]]</a>
|
|
110
|
+
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
|
|
111
|
+
</div>
|
|
112
|
+
{{{ end }}}
|
|
113
|
+
|
|
101
114
|
<ul class="list-unstyled" id="world-feed">
|
|
102
115
|
{{{ each posts }}}
|
|
103
116
|
<!-- IMPORT partials/feed/item.tpl -->
|
|
@@ -108,19 +121,6 @@
|
|
|
108
121
|
<!-- IMPORT partials/paginator.tpl -->
|
|
109
122
|
{{{ end }}}
|
|
110
123
|
</div>
|
|
111
|
-
{{{ else }}}
|
|
112
|
-
<div class="col-lg-8 col-sm-12 d-flex gap-3 align-items-top">
|
|
113
|
-
<div>
|
|
114
|
-
<h2 class="fs-4 mb-3">
|
|
115
|
-
<i class="fa fa-comment-nodes"></i>
|
|
116
|
-
[[world:onboard.title]]
|
|
117
|
-
</h2>
|
|
118
|
-
<p>[[world:onboard.what]]</p>
|
|
119
|
-
<p>[[world:onboard.why]]</p>
|
|
120
|
-
<p>[[world:onboard.how]]</p>
|
|
121
|
-
</div>
|
|
122
|
-
</div>
|
|
123
|
-
{{{ end }}}
|
|
124
124
|
</div>
|
|
125
125
|
</div>
|
|
126
126
|
</div>
|