nodebb-theme-persona 13.2.20 → 13.2.22

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-persona",
3
- "version": "13.2.20",
3
+ "version": "13.2.22",
4
4
  "nbbpm": {
5
5
  "compatibility": "^3.3.0"
6
6
  },
@@ -2,12 +2,12 @@
2
2
  <div class="modal-dialog">
3
3
  <div class="modal-content" component="chat/message/window">
4
4
  <div class="modal-header d-flex">
5
- <div class="fs-6 flex-grow-1" component="chat/room/name" data-icon="{icon}">{{{ if ./roomName }}}<i class="fa {icon} text-muted"></i> {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}</div>
6
- <button type="button" class="btn btn-link d-none d-md-block p-2 text-muted align-text-top" data-action="maximize">
5
+ <div class="fs-6 flex-grow-1 fw-semibold tracking-tight text-truncate text-nowrap" component="chat/room/name" data-icon="{icon}">{{{ if ./roomName }}}<i class="fa {icon} text-muted"></i> {roomName}{{{ else }}}{./chatWithMessage}{{{ end}}}</div>
6
+ <button type="button" class="btn btn-link d-none d-md-block p-2 text-muted align-text-top" data-action="maximize" title="[[modules:chat.maximize]]" data-bs-toggle="tooltip" data-bs-placement="bottom">
7
7
  <span aria-hidden="true"><i class="fa fa-fw fa-expand"></i></span>
8
8
  <span class="sr-only">[[modules:chat.maximize]]</span>
9
9
  </button>
10
- <button type="button" class="btn btn-link d-none d-md-block p-2 text-muted align-text-top" data-action="minimize">
10
+ <button type="button" class="btn btn-link d-none d-md-block p-2 text-muted align-text-top" data-action="minimize" title="[[modules:chat.minimize]]" data-bs-toggle="tooltip" data-bs-placement="bottom">
11
11
  <span aria-hidden="true"><i class="fa fa-fw fa-minus"></i></span>
12
12
  <span class="sr-only">[[modules:chat.minimize]]</span>
13
13
  </button>
@@ -0,0 +1 @@
1
+ <!-- This partial intentionally left blank; overwritten by nodebb-plugin-reactions -->
@@ -3,13 +3,13 @@
3
3
  <div component="chat/composer/replying-to-text"></div> <button component="chat/composer/replying-to-cancel" class="btn-ghost-sm px-2 py-1"><i class="fa fa-times"></i></button>
4
4
  </div>
5
5
  <div class="w-100 flex-grow-1 flex-nowrap position-relative d-flex rounded-2 border border-secondary p-1 align-items-end">
6
- <button component="chat/upload/button" class="btn btn-light btn-sm px-2 rounded-1" type="button"><i class="fa fa-fw fa-upload"></i></button>
6
+ <button component="chat/upload/button" class="btn btn-light btn-sm px-2 rounded-1" type="button" title="[[global:upload]]" data-bs-toggle="tooltip"><i class="fa fa-fw fa-upload"></i></button>
7
7
  <div class="flex-grow-1 align-self-center">
8
8
  <textarea component="chat/input" placeholder="[[modules:chat.placeholder.mobile]]" class="bg-transparent text-body form-control chat-input mousetrap rounded-0 border-0 shadow-none ps-1 py-0" style="min-height: 1.5rem;height:0;max-height:30vh;resize:none;"></textarea>
9
9
  </div>
10
10
  <div class="d-flex gap-1">
11
11
  <div component="chat/message/remaining" class="text-xs text-muted me-1 align-self-center">{maximumChatMessageLength}</div>
12
- <button class="btn btn-primary btn-sm px-2 rounded-1" type="button" data-action="send"><i class="fa fa-fw fa-paper-plane"></i></button>
12
+ <button class="btn btn-primary btn-sm px-2 rounded-1" type="button" data-action="send" title="[[modules:chat.send]]" data-bs-toggle="tooltip"><i class="fa fa-fw fa-paper-plane"></i></button>
13
13
  </div>
14
14
  </div>
15
15
  <form class="hidden" component="chat/upload" method="post" enctype="multipart/form-data">
@@ -32,13 +32,14 @@
32
32
  <div component="chat/message/body" class="message-body">
33
33
  {messages.content}
34
34
  </div>
35
-
35
+ <!-- IMPORT partials/chats/reactions.tpl -->
36
36
  <div component="chat/message/controls" class="btn-group controls">
37
- <button class="btn btn-sm btn-link" data-action="reply"><i class="fa fa-reply"></i></button>
38
- {{{ if (!config.disableChatMessageEditing && messages.self) }}}
39
- <button class="btn btn-sm btn-link" data-action="edit"><i class="fa fa-pencil"></i></button>
40
- <button class="btn btn-sm btn-link" data-action="delete"><i class="fa fa-times"></i></button>
41
- <button class="btn btn-sm btn-link" data-action="restore"><i class="fa fa-repeat"></i></button>
37
+ <!-- IMPORT partials/chats/add-reaction.tpl -->
38
+ <button class="btn btn-sm btn-link" data-action="reply" title="[[topic:reply]]"><i class="fa fa-reply"></i></button>
39
+ {{{ if (isAdminOrGlobalMod || (!config.disableChatMessageEditing && messages.self)) }}}
40
+ <button class="btn btn-sm btn-link" data-action="edit" title="[[topic:edit]]"><i class="fa fa-pencil"></i></button>
41
+ <button class="btn btn-sm btn-link" data-action="delete" title="[[topic:delete]]"><i class="fa fa-trash"></i></button>
42
+ <button class="btn btn-sm btn-link" data-action="restore" title="[[topic:restore]]"><i class="fa fa-repeat"></i></button>
42
43
  {{{ end }}}
43
44
  {{{ if isAdminOrGlobalMod }}}
44
45
  <button class="btn btn-sm btn-link chat-ip-button" title="[[modules:chat.show-ip]]"><i class="fa fa-info-circle"></i></button>
@@ -0,0 +1 @@
1
+ <!-- This partial intentionally left blank; overwritten by nodebb-plugin-reactions -->