nodebb-theme-harmony 1.0.0-beta.26 → 1.0.0-beta.27
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
|
@@ -33,27 +33,24 @@
|
|
|
33
33
|
{{{ end }}}
|
|
34
34
|
</div>
|
|
35
35
|
</div>
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<div class="card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
36
|
+
<div class="row col-md-5 col-sm-3 d-none d-md-flex align-self-start">
|
|
37
|
+
{{{ if !./link }}}
|
|
38
|
+
<div class="col-md-5 d-none d-lg-flex stats text-muted gap-2 px-0">
|
|
39
|
+
<div class="w-50 card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
41
40
|
<span class="{./unread-class} human-readable-number fs-5 fw-semibold ff-secondary" title="{./totalTopicCount}">{./totalTopicCount}</span>
|
|
42
41
|
<span class="text-lowercase text-xs">[[global:topics]]</span>
|
|
43
42
|
</div>
|
|
44
|
-
|
|
45
|
-
<div class="w-50">
|
|
46
|
-
<div class="card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
43
|
+
<div class="w-50 card card-header align-items-center px-0 py-2 border-0 rounded-1">
|
|
47
44
|
<span class="{./unread-class} human-readable-number fs-5 fw-semibold ff-secondary" title="{./totalPostCount}">{./totalPostCount}</span>
|
|
48
45
|
<span class="text-lowercase text-xs">[[global:posts]]</span>
|
|
49
46
|
</div>
|
|
50
47
|
</div>
|
|
51
|
-
</div>
|
|
52
48
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
49
|
+
{{{ if !config.hideCategoryLastPost }}}
|
|
50
|
+
<div class="col-md-7 col-sm-3 teaser d-none d-sm-block" component="topic/teaser">
|
|
51
|
+
<!-- IMPORT partials/categories/lastpost.tpl -->
|
|
52
|
+
</div>
|
|
53
|
+
{{{ end }}}
|
|
54
|
+
{{{ end }}}
|
|
56
55
|
</div>
|
|
57
|
-
{{{ end }}}
|
|
58
|
-
{{{ end }}}
|
|
59
56
|
</li>
|
|
@@ -69,57 +69,58 @@
|
|
|
69
69
|
</div>
|
|
70
70
|
</div>
|
|
71
71
|
</div>
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
<div class="row col-md-5 col-sm-3 d-none d-md-flex align-self-stretch align-self-lg-start">
|
|
73
|
+
<div class="col-md-5 d-none d-lg-flex stats text-muted gap-2 px-0">
|
|
74
|
+
{{{ if !reputation:disabled }}}
|
|
75
|
+
<div class="stats-votes flex-1">
|
|
76
|
+
<div class="align-items-center card card-header px-0 py-2 border-0 rounded-1">
|
|
77
|
+
<span class="human-readable-number fs-5 fw-semibold ff-secondary lh-1" title="{./votes}" data-toFixed="0">{./votes}</span>
|
|
78
|
+
<span class="text-lowercase text-xs">[[global:votes]]</span>
|
|
79
|
+
</div>
|
|
79
80
|
</div>
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
{{{ end }}}
|
|
82
|
+
<div class="stats-postcount flex-1">
|
|
83
|
+
<div class="align-items-center card card-header px-0 py-2 border-0 rounded-1">
|
|
84
|
+
<span class="human-readable-number fs-5 fw-semibold ff-secondary lh-1" title="{./postcount}" data-toFixed="0">{./postcount}</span>
|
|
85
|
+
<span class="text-lowercase text-xs">[[global:posts]]</span>
|
|
86
|
+
</div>
|
|
86
87
|
</div>
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
88
|
+
<div class="stats-viewcount flex-1">
|
|
89
|
+
<div class="align-items-center card card-header px-0 py-2 border-0 rounded-1">
|
|
90
|
+
<span class="human-readable-number fs-5 fw-semibold ff-secondary lh-1" title="{./viewcount}" data-toFixed="0">{./viewcount}</span>
|
|
91
|
+
<span class="text-lowercase text-xs">[[global:views]]</span>
|
|
92
|
+
</div>
|
|
92
93
|
</div>
|
|
93
94
|
</div>
|
|
94
|
-
</div>
|
|
95
95
|
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
96
|
+
<div class="col-md-7 col-sm-3 teaser d-none d-md-block overflow-hidden" component="topic/teaser">
|
|
97
|
+
<div class="lastpost background-link-container border-start border-2 h-100" style="border-color: {./category.bgColor}!important;">
|
|
98
|
+
<a class="background-link" href="{config.relative_path}/topic/{./slug}/{./teaser.index}"></a>
|
|
99
|
+
{{{ if ./unreplied }}}
|
|
100
|
+
<p class="ps-3 text-xs lh-1">
|
|
101
|
+
[[category:no_replies]]
|
|
102
|
+
</p>
|
|
103
|
+
{{{ else }}}
|
|
104
|
+
{{{ if ./teaser.pid }}}
|
|
105
|
+
<p class="ps-3 mb-0 lh-1">
|
|
106
|
+
<a href="{config.relative_path}/user/{./teaser.user.userslug}" class="text-decoration-none">{buildAvatar(./teaser.user, "18px", true, "avatar-tooltip not-responsive")}</a>
|
|
107
|
+
<a class="permalink text-muted timeago text-xs" href="{config.relative_path}/topic/{./slug}/{./teaser.index}" title="{./teaser.timestampISO}">
|
|
108
|
+
</a>
|
|
109
|
+
</p>
|
|
110
|
+
<div class="post-content overflow-hidden text-xs line-clamp-2 ps-3">
|
|
111
|
+
{./teaser.content}
|
|
112
|
+
</div>
|
|
113
|
+
{{{ end }}}
|
|
114
|
+
{{{ end }}}
|
|
112
115
|
</div>
|
|
113
|
-
{{{ end }}}
|
|
114
|
-
{{{ end }}}
|
|
115
116
|
</div>
|
|
116
|
-
</div>
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
118
|
+
{{{ if showSelect }}}
|
|
119
|
+
<div class="position-absolute top-0 end-0 w-auto p-0">
|
|
120
|
+
<i component="topic/select" class="fa fa-square-o fs-5 text-muted pointer"></i>
|
|
121
|
+
</div>
|
|
122
|
+
{{{ end }}}
|
|
121
123
|
</div>
|
|
122
|
-
{{{ end }}}
|
|
123
124
|
</div>
|
|
124
125
|
<hr class="text-muted opacity-25"/>
|
|
125
126
|
</li>
|