nodebb-theme-harmony 3.1.8 → 3.1.10

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": "3.1.8",
3
+ "version": "3.1.10",
4
4
  "nbbpm": {
5
5
  "compatibility": "^4.14.0"
6
6
  },
@@ -45,7 +45,7 @@
45
45
  "@fontsource/poppins": "5.2.7"
46
46
  },
47
47
  "devDependencies": {
48
- "eslint": "10.7.0",
48
+ "eslint": "10.8.0",
49
49
  "eslint-config-nodebb": "^2.0.2"
50
50
  }
51
51
  }
@@ -73,7 +73,7 @@
73
73
  {{{ end }}}
74
74
  </div>
75
75
 
76
- <input type="text" class="form-control form-control-sm" id="chatAllowListAdd" placeholder="[[user:chat-list-add-user]]"/>
76
+ <input type="text" class="form-control form-control-sm" id="chatAllowListAdd" placeholder="{{tx("user:chat-list-add-user")}}"/>
77
77
  </div>
78
78
 
79
79
  <div class="d-flex flex-column mb-3">
@@ -104,7 +104,7 @@
104
104
  <i class="fa fa-fw fa-chevron-down" component="post/replies/open"></i>
105
105
  </a>
106
106
  {{{ end }}}
107
- <div component="post/actions" class="d-flex flex-grow-1 align-items-center justify-content-end gap-1 post-tools">
107
+ <div component="post/actions" class="d-flex flex-grow-1 align-items-start align-items-lg-center justify-content-end gap-1 post-tools">
108
108
  <!-- IMPORT partials/topic/reactions.tpl -->
109
109
  <a component="post/reply" href="#" class="btn btn-ghost btn-sm {{{ if !privileges.topics:reply }}}hidden{{{ end }}}" title="{{tx("topic:reply")}}"><i class="fa fa-fw fa-reply text-primary"></i></a>
110
110
  <a component="post/quote" href="#" class="btn btn-ghost btn-sm {{{ if !privileges.topics:reply }}}hidden{{{ end }}}" title="{{tx("topic:quote")}}"><i class="fa fa-fw fa-quote-right text-primary"></i></a>
@@ -114,14 +114,14 @@
114
114
  {{{ end }}}
115
115
 
116
116
  {{{ if !reputation:disabled }}}
117
- <div class="d-flex votes align-items-center">
117
+ <div class="d-flex gap-1 votes align-items-center">
118
118
  <a component="post/upvote" href="#" class="btn btn-ghost btn-sm{{{ if posts.upvoted }}} upvoted{{{ end }}}" title="{{tx("topic:upvote-post")}}">
119
119
  <i class="fa fa-fw fa-chevron-up text-primary"></i>
120
120
  </a>
121
121
 
122
122
  <meta itemprop="upvoteCount" content="{posts.upvotes}">
123
123
  <meta itemprop="downvoteCount" content="{posts.downvotes}">
124
- <a href="#" class="px-2 mx-1 btn btn-ghost btn-sm" component="post/vote-count" data-votes="{posts.votes}" title="{{tx("global:voters")}}">{posts.votes}</a>
124
+ <a href="#" class="px-2 btn btn-ghost btn-sm" component="post/vote-count" data-votes="{posts.votes}" title="{{tx("global:voters")}}">{posts.votes}</a>
125
125
 
126
126
  {{{ if !downvote:disabled }}}
127
127
  <a component="post/downvote" href="#" class="btn btn-ghost btn-sm{{{ if posts.downvoted }}} downvoted{{{ end }}}" title="{{tx("topic:downvote-post")}}">
@@ -1,5 +1,5 @@
1
1
  <div component="topic/reply/container" class="btn-group {{{ if !privileges.topics:reply }}}hidden{{{ end }}}">
2
- <a href="{config.relative_path}/compose?tid={tid}" class="d-flex {{{ if !config.theme.topicSidebarTools}}}px-3{{{ end }}} gap-2 align-items-center btn btn-sm btn-primary fw-semibold" component="topic/reply" data-ajaxify="false" role="button"><i class="fa fa-fw fa-reply d-none {{{ if config.theme.topicSidebarTools}}} d-md-block{{{ end }}}"></i><span class="text-truncate text-nowrap">{{{ if tid }}}{{tx("topic:reply")}}{{{ else }}}{{tx("topic:create")}}{{{ end }}}</span></a>
2
+ <a href="{config.relative_path}/compose?tid={tid}" class="d-flex {{{ if !config.theme.topicSidebarTools}}}px-3{{{ end }}} gap-2 align-items-center btn btn-sm btn-primary fw-semibold" component="topic/reply" data-ajaxify="false" role="button"><i class="fa fa-fw fa-reply d-none {{{ if config.theme.topicSidebarTools}}} d-md-block{{{ end }}}"></i><span class="text-truncate text-nowrap">{{tx("topic:reply")}}</span></a>
3
3
  <button type="button" class="btn btn-sm btn-primary dropdown-toggle flex-0" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="{{tx("topic:reply-options")}}">
4
4
  <span class="caret"></span>
5
5
  </button>