nodebb-theme-harmony 2.2.40 → 2.2.42
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/templates/category.tpl +1 -1
- package/templates/topic.tpl +5 -5
package/package.json
CHANGED
package/templates/category.tpl
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
</a>
|
|
25
25
|
{{{ end }}}
|
|
26
26
|
{{{ if (!feeds:disableRSS && rssFeedUrl) }}}
|
|
27
|
-
<a class="
|
|
27
|
+
<a class="badge text-body text-decoration-none border border-gray-300 d-flex align-items-center align-self-stretch" target="_blank" href="{rssFeedUrl}" itemprop="item" title="[[global:rss-feed]]"><i class="fa fa-rss fa-sm text-muted lh-1"></i></a>
|
|
28
28
|
{{{ end }}}
|
|
29
29
|
</div>
|
|
30
30
|
</div>
|
package/templates/topic.tpl
CHANGED
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
|
|
39
39
|
<div class="topic-info d-flex gap-2 align-items-center flex-wrap {{{ if config.theme.centerHeaderElements }}}justify-content-center{{{ end }}}">
|
|
40
40
|
<span component="topic/labels" class="d-flex gap-2 {{{ if (!scheduled && (!pinned && (!locked && (!icons.length && (!oldCid || (oldCid == "-1")))))) }}}hidden{{{ end }}}">
|
|
41
|
-
<span component="topic/scheduled" class="badge
|
|
41
|
+
<span component="topic/scheduled" class="badge border border-gray-300 text-body {{{ if !scheduled }}}hidden{{{ end }}}">
|
|
42
42
|
<i class="fa fa-clock-o"></i> [[topic:scheduled]]
|
|
43
43
|
</span>
|
|
44
|
-
<span component="topic/pinned" class="
|
|
44
|
+
<span component="topic/pinned" class=" badge border border-gray-300 text-body {{{ if (scheduled || !pinned) }}}hidden{{{ end }}}">
|
|
45
45
|
<i class="fa fa-thumb-tack"></i> {{{ if !pinExpiry }}}[[topic:pinned]]{{{ else }}}[[topic:pinned-with-expiry, {isoTimeToLocaleString(./pinExpiryISO, config.userLang)}]]{{{ end }}}
|
|
46
46
|
</span>
|
|
47
|
-
<span component="topic/locked" class="badge
|
|
47
|
+
<span component="topic/locked" class="badge border border-gray-300 text-body {{{ if !locked }}}hidden{{{ end }}}">
|
|
48
48
|
<i class="fa fa-lock"></i> [[topic:locked]]
|
|
49
49
|
</span>
|
|
50
|
-
<a component="topic/moved" href="{config.relative_path}/category/{oldCid}" class="badge
|
|
50
|
+
<a component="topic/moved" href="{config.relative_path}/category/{oldCid}" class="badge border border-gray-300 text-body text-decoration-none {{{ if (!oldCid || (oldCid == "-1")) }}}hidden{{{ end }}}">
|
|
51
51
|
<i class="fa fa-arrow-circle-right"></i> {{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}
|
|
52
52
|
</a>
|
|
53
53
|
{{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
<div class="d-flex gap-2" component="topic/stats"><!-- IMPORT partials/topic/stats.tpl --></div>
|
|
58
58
|
|
|
59
59
|
{{{ if (!feeds:disableRSS && rssFeedUrl) }}}
|
|
60
|
-
<a class="
|
|
60
|
+
<a class="badge border border-gray-300 text-body text-decoration-none d-flex align-items-center align-self-stretch" target="_blank" href="{rssFeedUrl}" title="[[global:rss-feed]]"><i class="fa fa-rss fa-sm text-muted lh-1"></i></a>
|
|
61
61
|
{{{ end }}}
|
|
62
62
|
</div>
|
|
63
63
|
</div>
|