nodebb-theme-persona 15.3.1 → 15.3.3
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.3",
|
|
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.3",
|
|
10
10
|
"license": "BSD-2-Clause",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"pulling": "^2.0.0"
|
package/package.json
CHANGED
|
@@ -5,7 +5,14 @@
|
|
|
5
5
|
</a>
|
|
6
6
|
|
|
7
7
|
<div component="post/content" class="content mb-3 text-break">
|
|
8
|
+
{{{ if ./contentWarning }}}
|
|
9
|
+
<details class="content-warning">
|
|
10
|
+
<summary>{./contentWarning}</summary>
|
|
8
11
|
{{{ if ./txContent }}}{{tx(./content)}}{{{ else }}}{{./content}}{{{ end }}}
|
|
12
|
+
</details>
|
|
13
|
+
{{{ else }}}
|
|
14
|
+
{{{ if ./txContent }}}{{tx(./content)}}{{{ else }}}{{./content}}{{{ end }}}
|
|
15
|
+
{{{ end }}}
|
|
9
16
|
</div>
|
|
10
17
|
|
|
11
18
|
<div class="mb-3">
|
|
@@ -9,4 +9,13 @@
|
|
|
9
9
|
</small>
|
|
10
10
|
</div>
|
|
11
11
|
|
|
12
|
-
<div>
|
|
12
|
+
<div>
|
|
13
|
+
{{{ if post.contentWarning }}}
|
|
14
|
+
<details class="content-warning">
|
|
15
|
+
<summary>{post.contentWarning}</summary>
|
|
16
|
+
{{{ if post.txContent }}}{{tx(post.content)}}{{{ else }}}{{post.content}}{{{ end }}}
|
|
17
|
+
</details>
|
|
18
|
+
{{{ else }}}
|
|
19
|
+
{{{ if post.txContent }}}{{tx(post.content)}}{{{ else }}}{{post.content}}{{{ end }}}
|
|
20
|
+
{{{ end }}}
|
|
21
|
+
</div>
|
|
@@ -65,7 +65,14 @@
|
|
|
65
65
|
<br />
|
|
66
66
|
|
|
67
67
|
<div class="content" component="post/content" itemprop="text">
|
|
68
|
+
{{{ if posts.contentWarning }}}
|
|
69
|
+
<details class="content-warning">
|
|
70
|
+
<summary>{posts.contentWarning}</summary>
|
|
68
71
|
{{{ if posts.txContent }}}{{tx(posts.content)}}{{{ else }}}{{posts.content}}{{{ end }}}
|
|
72
|
+
</details>
|
|
73
|
+
{{{ else }}}
|
|
74
|
+
{{{ if posts.txContent }}}{{tx(posts.content)}}{{{ else }}}{{posts.content}}{{{ end }}}
|
|
75
|
+
{{{ end }}}
|
|
69
76
|
</div>
|
|
70
77
|
|
|
71
78
|
<div class="post-footer">
|
|
@@ -92,34 +99,36 @@
|
|
|
92
99
|
</a>
|
|
93
100
|
{{{ end }}}
|
|
94
101
|
|
|
95
|
-
<small class="d-flex justify-content-end align-items-center gap-1" component="post/actions">
|
|
102
|
+
<small class="d-flex flex-wrap justify-content-end align-items-center gap-1" component="post/actions">
|
|
96
103
|
<!-- IMPORT partials/topic/reactions.tpl -->
|
|
97
|
-
<
|
|
98
|
-
<
|
|
99
|
-
|
|
100
|
-
|
|
104
|
+
<div class="d-flex gap-1">
|
|
105
|
+
<span class="post-tools">
|
|
106
|
+
<a component="post/reply" href="#" class="btn btn-sm btn-link user-select-none <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">{{tx("topic:reply")}}</a>
|
|
107
|
+
<a component="post/quote" href="#" class="btn btn-sm btn-link user-select-none <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">{{tx("topic:quote")}}</a>
|
|
108
|
+
</span>
|
|
101
109
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
110
|
+
{{{ if ./announces }}}
|
|
111
|
+
<a component="post/announce-count" href="#" class="btn-ghost-sm" title="{{tx("topic:announcers")}}"><i class="fa fa-share-alt text-primary"></i> {./announces}</a>
|
|
112
|
+
{{{ end }}}
|
|
105
113
|
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
114
|
+
{{{ if !reputation:disabled }}}
|
|
115
|
+
<span class="votes">
|
|
116
|
+
<a component="post/upvote" href="#" class="btn btn-sm btn-link <!-- IF posts.upvoted -->upvoted<!-- ENDIF posts.upvoted -->">
|
|
117
|
+
<i class="fa fa-chevron-up"></i>
|
|
118
|
+
</a>
|
|
111
119
|
|
|
112
|
-
|
|
120
|
+
<span class="btn btn-sm btn-link" component="post/vote-count" data-votes="{posts.votes}">{posts.votes}</span>
|
|
113
121
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
122
|
+
<!-- IF !downvote:disabled -->
|
|
123
|
+
<a component="post/downvote" href="#" class="btn btn-sm btn-link <!-- IF posts.downvoted -->downvoted<!-- ENDIF posts.downvoted -->">
|
|
124
|
+
<i class="fa fa-chevron-down"></i>
|
|
125
|
+
</a>
|
|
126
|
+
<!-- ENDIF !downvote:disabled -->
|
|
127
|
+
</span>
|
|
128
|
+
{{{ end }}}
|
|
121
129
|
|
|
122
|
-
|
|
130
|
+
<!-- IMPORT partials/topic/post-menu.tpl -->
|
|
131
|
+
</div>
|
|
123
132
|
</small>
|
|
124
133
|
</div>
|
|
125
134
|
<div component="post/replies/container"></div>
|
|
@@ -121,7 +121,14 @@
|
|
|
121
121
|
</div>
|
|
122
122
|
<div class="post-content text-xs ps-2 line-clamp-sm-2 lh-sm text-break position-relative flex-fill">
|
|
123
123
|
<a class="stretched-link" tabindex="-1" href="{config.relative_path}/topic/{./slug}/{./teaser.index}" aria-label="{{tx("global:lastpost")}}"></a>
|
|
124
|
+
{{{ if ./teaser.contentWarning }}}
|
|
125
|
+
<details class="content-warning">
|
|
126
|
+
<summary>{./teaser.contentWarning}</summary>
|
|
124
127
|
{{./teaser.content}}
|
|
128
|
+
</details>
|
|
129
|
+
{{{ else }}}
|
|
130
|
+
{{./teaser.content}}
|
|
131
|
+
{{{ end }}}
|
|
125
132
|
</div>
|
|
126
133
|
{{{ end }}}
|
|
127
134
|
{{{ end }}}
|