nodebb-theme-persona 14.1.14 → 14.1.16
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 +1 -1
- package/scss/topic.scss +6 -0
- package/templates/category.tpl +1 -1
- package/templates/partials/topic/thumbs.tpl +3 -0
- package/templates/popular.tpl +1 -1
- package/templates/tag.tpl +1 -1
- package/templates/top.tpl +1 -1
- package/templates/topic.tpl +1 -1
- package/templates/unread.tpl +1 -1
- package/templates/world.tpl +1 -1
package/package.json
CHANGED
package/scss/topic.scss
CHANGED
package/templates/category.tpl
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<!-- IMPORT partials/category/subcategory.tpl -->
|
|
10
10
|
|
|
11
11
|
{{{ if (topics.length || privileges.topics:create) }}}
|
|
12
|
-
<div class="topic-list-header
|
|
12
|
+
<div class="topic-list-header sticky-top btn-toolbar justify-content-between align-items-center px-1 py-2 mb-2 flex-nowrap">
|
|
13
13
|
<div class="d-flex gap-1">
|
|
14
14
|
{{{ if privileges.topics:create }}}
|
|
15
15
|
<a href="{config.relative_path}/compose?cid={cid}" component="category/post" id="new_topic" class="btn btn-primary btn-sm text-nowrap" data-ajaxify="false" role="button">[[category:new-topic-button]]</a>
|
|
@@ -2,4 +2,7 @@
|
|
|
2
2
|
<a class="d-inline-block" href="{./url}">
|
|
3
3
|
<img class="rounded-1 bg-light" style="width:auto; max-width: 4rem; height: 3.33rem;object-fit: contain;" src="{./url}" />
|
|
4
4
|
</a>
|
|
5
|
+
{{{ end }}}
|
|
6
|
+
{{{ if greaterthan(thumbs.length, "4") }}}
|
|
7
|
+
<button component="topic/thumb/list/expand" class="btn btn-light fw-semibold" style="width:auto; max-width: 5.33rem; height: 3.33rem; object-fit: contain;">+{increment(thumbs.length, "-3")}</button>
|
|
5
8
|
{{{ end }}}
|
package/templates/popular.tpl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{{{end}}}
|
|
6
6
|
</div>
|
|
7
7
|
<div class="popular">
|
|
8
|
-
<div class="topic-list-header
|
|
8
|
+
<div class="topic-list-header sticky-top btn-toolbar justify-content-between align-items-center px-1 py-2 mb-2 gap-1">
|
|
9
9
|
<div class="d-flex gap-1">
|
|
10
10
|
{{{ if canPost }}}
|
|
11
11
|
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
package/templates/tag.tpl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{{{end}}}
|
|
6
6
|
</div>
|
|
7
7
|
<div class="tag">
|
|
8
|
-
<div class="topic-list-header
|
|
8
|
+
<div class="topic-list-header sticky-top btn-toolbar justify-content-between align-items-center px-1 py-2 mb-2 gap-1">
|
|
9
9
|
<div class="d-flex gap-1">
|
|
10
10
|
{{{ if loggedIn }}}
|
|
11
11
|
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
package/templates/top.tpl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{{{end}}}
|
|
6
6
|
</div>
|
|
7
7
|
<div class="top">
|
|
8
|
-
<div class="topic-list-header
|
|
8
|
+
<div class="topic-list-header sticky-top btn-toolbar justify-content-between align-items-center px-1 py-2 mb-2 gap-1">
|
|
9
9
|
<div class="d-flex gap-1">
|
|
10
10
|
{{{ if canPost }}}
|
|
11
11
|
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
package/templates/topic.tpl
CHANGED
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
</div>
|
|
57
57
|
</div>
|
|
58
58
|
</div>
|
|
59
|
-
<div class="d-flex flex-wrap gap-2 align-items-center hidden-empty" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
|
|
59
|
+
<div class="d-flex flex-wrap gap-2 align-items-center hidden-empty {{{ if greaterthan(thumbs.length, "4") }}}thumbs-collapsed{{{ end }}}" component="topic/thumb/list"><!-- IMPORT partials/topic/thumbs.tpl --></div>
|
|
60
60
|
</div>
|
|
61
61
|
</div>
|
|
62
62
|
{{{ if merger }}}
|
package/templates/unread.tpl
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
{{{end}}}
|
|
6
6
|
</div>
|
|
7
7
|
<div class="unread">
|
|
8
|
-
<div class="topic-list-header
|
|
8
|
+
<div class="topic-list-header sticky-top btn-toolbar justify-content-between align-items-center px-1 py-2 mb-2 gap-1">
|
|
9
9
|
<div class="d-flex gap-1">
|
|
10
10
|
<!-- IMPORT partials/buttons/newTopic.tpl -->
|
|
11
11
|
<a href="{config.relative_path}/{selectedFilter.url}{querystring}" class="d-inline-block">
|
package/templates/world.tpl
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
</ul>
|
|
37
37
|
|
|
38
38
|
{{{ if (topics.length || privileges.topics:create) }}}
|
|
39
|
-
<div class="topic-list-header
|
|
39
|
+
<div class="topic-list-header sticky-top btn-toolbar justify-content-between px-1 py-2 mb-2 gap-1 flex-nowrap">
|
|
40
40
|
<div class="d-flex gap-1 align-items-stretch">
|
|
41
41
|
{{{ if privileges.topics:create }}}
|
|
42
42
|
<a href="{config.relative_path}/compose?cid={cid}" component="category/post" id="new_topic" class="btn btn-primary text-nowrap" data-ajaxify="false" role="button">[[category:new-topic-button]]</a>
|