nodebb-theme-harmony 1.0.6 → 1.0.8
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/partials/category/tags.tpl +1 -1
- package/templates/partials/category/tools.tpl +6 -0
- package/templates/partials/chats/message-window.tpl +1 -1
- package/templates/partials/topic/topic-menu-list.tpl +1 -0
- package/templates/partials/topics_list.tpl +3 -3
- package/templates/topic.tpl +1 -1
package/package.json
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
{{{ each tags }}}
|
|
2
|
-
<a href="{config.relative_path}/tags/{
|
|
2
|
+
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="badge border border-gray-300 fw-normal tag tag-class-{./class}" data-tag="{./value}">{./valueEscaped}</span></a>
|
|
3
3
|
{{{ end }}}
|
|
@@ -53,6 +53,12 @@
|
|
|
53
53
|
</a>
|
|
54
54
|
</li>
|
|
55
55
|
|
|
56
|
+
<li>
|
|
57
|
+
<a component="topic/tag" href="#" class="dropdown-item rounded-1 d-flex align-items-center gap-2">
|
|
58
|
+
<i class="fa fa-fw text-muted fa-tag"></i> [[topic:thread_tools.tag]]
|
|
59
|
+
</a>
|
|
60
|
+
</li>
|
|
61
|
+
|
|
56
62
|
<li class="dropdown-divider"></li>
|
|
57
63
|
|
|
58
64
|
<li>
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<!-- IMPORT partials/chats/messages.tpl -->
|
|
23
23
|
</ul>
|
|
24
24
|
<div component="chat/composer" class="d-flex flex-column flex-md-row gap-2 border-top pt-2 align-items-start align-items-md-end">
|
|
25
|
-
<div class="w-100 flex-grow-1 position-relative input-group">
|
|
25
|
+
<div class="w-100 flex-grow-1 flex-nowrap position-relative input-group">
|
|
26
26
|
<button component="chat/upload/button" class="btn btn-outline-primary btn-sm align-self-stretch px-3 px-md-2" type="button"><i class="fa fa-fw fa-upload"></i></button>
|
|
27
27
|
<div class="flex-grow-1 position-relative">
|
|
28
28
|
<textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="form-control chat-input mousetrap rounded-0" style="height:0;max-height:30vh;resize:none;"></textarea>
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
<li><a component="topic/move" class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#"><i class="fa fa-fw text-muted fa-arrows"></i> [[topic:thread_tools.move]]</a></li>
|
|
8
8
|
<li><a component="topic/merge" class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#"><i class="fa fa-fw text-muted fa-code-fork"></i> [[topic:thread_tools.merge]]</a></li>
|
|
9
9
|
<li><a component="topic/fork" class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#"><i class="fa fa-fw text-muted fa-code-fork"></i> [[topic:thread_tools.fork]]</a></li>
|
|
10
|
+
<li><a component="topic/tag" class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#"><i class="fa fa-fw text-muted fa-tag"></i> [[topic:thread_tools.tag]]</a></li>
|
|
10
11
|
{{{ if !scheduled }}}
|
|
11
12
|
<li><a component="topic/move-posts" class="dropdown-item rounded-1 d-flex align-items-center gap-2" href="#"><i class="fa fa-fw text-muted fa-arrows"></i> [[topic:thread_tools.move-posts]]</a></li>
|
|
12
13
|
{{{ end }}}
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
{{{ if !template.category }}}
|
|
50
50
|
<a class="lh-1" href="{config.relative_path}/category/{./category.slug}">{function.buildCategoryLabel, ./category, "border"}</a>
|
|
51
51
|
{{{ end }}}
|
|
52
|
-
|
|
53
|
-
<span class="lh-1 tag-list hidden-xs d-flex flex-wrap gap-1">
|
|
52
|
+
|
|
53
|
+
<span data-tid="{./tid}" component="topic/tags" class="lh-1 tag-list hidden-xs d-flex flex-wrap gap-1 {{{ if !./tags.length }}}hidden{{{ end }}}">
|
|
54
54
|
{{{ each ./tags }}}
|
|
55
55
|
<a href="{config.relative_path}/tags/{./valueEncoded}"><span class="badge border border-gray-300 fw-normal tag tag-class-{./class}" data-tag="{./value}">{./valueEscaped}</span></a>
|
|
56
56
|
{{{ end }}}
|
|
57
57
|
</span>
|
|
58
|
-
|
|
58
|
+
|
|
59
59
|
<a href="{config.relative_path}/topic/{./slug}" class="hidden-xs badge bg-transparent text-muted fw-normal timeago" title="{./timestampISO}"></a>
|
|
60
60
|
{{{ if !config.theme.mobileTopicTeasers}}}
|
|
61
61
|
<span class="visible-xs-inline badge bg-transparent text-muted fw-normal timeago" title="{{{ if ./teaser.timestampISO }}}{./teaser.timestampISO}{{{ else }}}{./timestampISO}{{{ end }}}"></span>
|
package/templates/topic.tpl
CHANGED
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}
|
|
35
35
|
</span>
|
|
36
36
|
<a class="lh-1" href="{config.relative_path}/category/{category.slug}">{function.buildCategoryLabel, category, "border"}</a>
|
|
37
|
-
<div class="lh-1 tags tag-list d-flex flex-wrap hidden-xs gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
|
|
37
|
+
<div data-tid="{./tid}" component="topic/tags" class="lh-1 tags tag-list d-flex flex-wrap hidden-xs gap-2"><!-- IMPORT partials/topic/tags.tpl --></div>
|
|
38
38
|
<div class="d-flex hidden-xs gap-2">
|
|
39
39
|
<!-- IMPORT partials/topic/stats.tpl -->
|
|
40
40
|
</div>
|