nodebb-theme-harmony 2.0.0-pre.26 → 2.0.0-pre.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nodebb-theme-harmony",
3
- "version": "2.0.0-pre.26",
3
+ "version": "2.0.0-pre.27",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.7.0"
6
6
  },
@@ -103,16 +103,16 @@
103
103
 
104
104
  {{{ if !reputation:disabled }}}
105
105
  <div class="d-flex votes align-items-center">
106
- <a component="post/upvote" href="#" class="btn-ghost-sm {{{ if posts.upvoted }}}upvoted{{{ end }}}" title="[[topic:upvote-post]]">
106
+ <a component="post/upvote" href="#" class="btn-ghost-sm{{{ if posts.upvoted }}} upvoted{{{ end }}}" title="[[topic:upvote-post]]">
107
107
  <i class="fa fa-fw fa-chevron-up text-primary"></i>
108
108
  </a>
109
109
 
110
110
  <meta itemprop="upvoteCount" content="{posts.upvotes}">
111
111
  <meta itemprop="downvoteCount" content="{posts.downvotes}">
112
- <a href="#" class="px-2 mx-1 btn-ghost-sm ff-secondary" component="post/vote-count" data-votes="{posts.votes}" title="[[global:voters]]">{posts.votes}</a>
112
+ <a href="#" class="px-2 mx-1 btn-ghost-sm" component="post/vote-count" data-votes="{posts.votes}" title="[[global:voters]]">{posts.votes}</a>
113
113
 
114
114
  {{{ if !downvote:disabled }}}
115
- <a component="post/downvote" href="#" class="btn-ghost-sm {{{ if posts.downvoted }}}downvoted{{{ end }}}" title="[[topic:downvote-post]]">
115
+ <a component="post/downvote" href="#" class="btn-ghost-sm{{{ if posts.downvoted }}} downvoted{{{ end }}}" title="[[topic:downvote-post]]">
116
116
  <i class="fa fa-fw fa-chevron-down text-primary"></i>
117
117
  </a>
118
118
  {{{ end }}}
@@ -44,7 +44,7 @@
44
44
  <i class="fa fa-lock"></i>
45
45
  <span>[[topic:locked]]</span>
46
46
  </span>
47
- <span component="topic/moved" class="badge border border-gray-300 text-body {{{ if !./oldCid }}}hidden{{{ end }}}">
47
+ <span component="topic/moved" class="badge border border-gray-300 text-body {{{ if (!./oldCid || (./oldCid == "-1")) }}}hidden{{{ end }}}">
48
48
  <i class="fa fa-arrow-circle-right"></i>
49
49
  <span>[[topic:moved]]</span>
50
50
  </span>
@@ -35,7 +35,7 @@
35
35
  <span component="topic/locked" class="badge badge border border-gray-300 text-body {{{ if !locked }}}hidden{{{ end }}}">
36
36
  <i class="fa fa-lock"></i> [[topic:locked]]
37
37
  </span>
38
- <a component="topic/moved" href="{config.relative_path}/category/{oldCid}" class="badge badge border border-gray-300 text-body text-decoration-none {{{ if !oldCid }}}hidden{{{ end }}}">
38
+ <a component="topic/moved" href="{config.relative_path}/category/{oldCid}" class="badge badge border border-gray-300 text-body text-decoration-none {{{ if (!oldCid || (oldCid == "-1")) }}}hidden{{{ end }}}">
39
39
  <i class="fa fa-arrow-circle-right"></i> {{{ if privileges.isAdminOrMod }}}[[topic:moved-from, {oldCategory.name}]]{{{ else }}}[[topic:moved]]{{{ end }}}
40
40
  </a>
41
41
  {{{each icons}}}<span class="lh-1">{@value}</span>{{{end}}}