nodebb-theme-persona 15.3.0 → 15.3.1
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-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nodebb-theme-persona",
|
|
3
|
-
"version": "15.3.
|
|
3
|
+
"version": "15.3.1",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "nodebb-theme-persona",
|
|
9
|
-
"version": "15.3.
|
|
9
|
+
"version": "15.3.1",
|
|
10
10
|
"license": "BSD-2-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"pulling": "^2.0.0"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<!-- IMPORT partials/account/header.tpl -->
|
|
2
2
|
|
|
3
3
|
<div class="profile row">
|
|
4
|
-
<h1 class="fullname text-center fs-2 text-secondary fw-light">{{{ if fullname }}}{fullname}{{{ else }}}{username}{{{ end }}}</h1>
|
|
4
|
+
<h1 class="fullname text-center fs-2 text-secondary fw-light">{{{ if fullname }}}{{renderShortcodeEmoji(fullname, fullnameEmoji)}}{{{ else }}}{username}{{{ end }}}</h1>
|
|
5
5
|
<div class="d-flex gap-2 justify-content-center mb-2" component="user/badges"></div>
|
|
6
6
|
<h2 class="username text-center fs-5">@{username}</h2>
|
|
7
7
|
{{{ if isAdminOrGlobalModeratorOrModerator }}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
<div class="usercard-body w-100 d-flex flex-column justify-content-between gap-2 py-2 px-3 overflow-hidden position-relative">
|
|
6
6
|
|
|
7
7
|
<a href="{config.relative_path}/user/{userslug}" class="text-reset text-truncate d-block">
|
|
8
|
-
<span class="usercard-name fs-5">{{{ if fullname }}}{fullname}{{{ else }}}{username}{{{ end }}}</span>
|
|
8
|
+
<span class="usercard-name fs-5">{{{ if fullname }}}{{renderShortcodeEmoji(fullname, fullnameEmoji)}}{{{ else }}}{username}{{{ end }}}</span>
|
|
9
9
|
</a>
|
|
10
10
|
|
|
11
11
|
<div class="d-flex gap-2 align-items-center">
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
<strong class="text-nowrap" itemprop="author" itemscope itemtype="https://schema.org/Person">
|
|
20
20
|
<meta itemprop="name" content="{./user.username}">
|
|
21
21
|
{{{ if ./user.userslug }}}<meta itemprop="url" content="{config.relative_path}/user/{./user.userslug}">{{{ end }}}
|
|
22
|
-
<a href="{{{ if posts.user.userslug }}}{config.relative_path}/user/{posts.user.userslug}{{{ else }}}#{{{ end }}}" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{{txDisplayname(posts.user)}}</a>
|
|
22
|
+
<a href="{{{ if posts.user.userslug }}}{config.relative_path}/user/{posts.user.userslug}{{{ else }}}#{{{ end }}}" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{{renderShortcodeEmoji(txDisplayname(posts.user), posts.user.fullnameEmoji)}}</a>
|
|
23
23
|
</strong>
|
|
24
24
|
|
|
25
25
|
{{{ each posts.user.selectedGroups }}}
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<div class="flex-grow-1 d-flex flex-wrap gap-1 position-relative">
|
|
23
23
|
<h3 component="topic/header" class="title text-break fs-5 fw-semibold m-0 tracking-tight w-100 {{{ if showSelect }}}me-4 me-lg-0{{{ end }}}">
|
|
24
24
|
<a class="text-reset" href="{{{ if topics.noAnchor }}}#{{{ else }}}{config.relative_path}/topic/{./slug}{{{ if ./bookmark }}}/{./bookmark}{{{ end }}}{{{ end }}}">
|
|
25
|
-
{{{ if ./txTitle }}}{{tx(./title)}}{{{ else }}}{{
|
|
25
|
+
{{{ if ./txTitle }}}{{tx(./title)}}{{{ else }}}{{renderShortcodeEmoji(./title, ./titleEmoji)}}{{{ end }}}
|
|
26
26
|
</a>
|
|
27
27
|
</h3>
|
|
28
28
|
<div component="topic/labels" class="d-flex flex-wrap gap-1 w-100 align-items-center">
|
package/templates/topic.tpl
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div class="d-flex flex-column gap-2 flex-md-shrink-50">
|
|
13
13
|
<h1 component="post/header" class="mb-0" itemprop="name">
|
|
14
14
|
<div class="topic-title d-flex">
|
|
15
|
-
<span class="fs-3" component="topic/title">{{
|
|
15
|
+
<span class="fs-3" component="topic/title">{{renderShortcodeEmoji(title, titleEmoji)}}</span>
|
|
16
16
|
</div>
|
|
17
17
|
</h1>
|
|
18
18
|
|