nodebb-theme-persona 15.1.9 → 15.2.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.json +2 -2
- package/templates/account/profile.tpl +1 -1
- package/templates/account/uploads.tpl +24 -21
- package/templates/partials/categories/lastpost.tpl +1 -1
- package/templates/partials/posts_list_item.tpl +1 -1
- package/templates/partials/search/results.tpl +1 -1
- package/templates/partials/topic/navigation-post.tpl +1 -1
- package/templates/partials/topic/post.tpl +2 -2
- package/templates/partials/topics_list.tpl +1 -1
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
{{{ end }}}
|
|
37
37
|
|
|
38
38
|
<!-- IF aboutme -->
|
|
39
|
-
<div component="aboutme" class="text-center aboutme text-secondary w-75 mx-auto text-center">{{
|
|
39
|
+
<div component="aboutme" class="text-center aboutme text-secondary w-75 mx-auto text-center">{{aboutmeParsed}}</div>
|
|
40
40
|
<!-- ENDIF aboutme -->
|
|
41
41
|
|
|
42
42
|
<div class="account-stats fs-1 text-center mb-3">
|
|
@@ -10,27 +10,30 @@
|
|
|
10
10
|
<div class="alert alert-warning text-center">{{tx("uploads:no-uploads-found")}}</div>
|
|
11
11
|
<!-- ENDIF !uploads.length -->
|
|
12
12
|
|
|
13
|
-
<div class="
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
<
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
<
|
|
29
|
-
</
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
13
|
+
<div class="row row-cols-2 row-cols-lg-3 row-cols-xl-4 g-4 mb-4">
|
|
14
|
+
{{{ each uploads }}}
|
|
15
|
+
<div class="" data-name="{./name}">
|
|
16
|
+
<div class="card h-100">
|
|
17
|
+
<div class="card-body d-flex flex-column justify-content-between">
|
|
18
|
+
<div class="mb-2 text-center d-flex flex-column gap-2">
|
|
19
|
+
<a class="text-sm" href="{config.relative_path}{./url}" target="_blank">
|
|
20
|
+
{{{ if ./isImage}}}
|
|
21
|
+
<img src="{config.relative_path}{./url}" class="img-fluid rounded mb-2" alt="{./name}" style="width:auto; max-width: 6.33rem; height: 6.0rem; object-fit: contain;">
|
|
22
|
+
{{{ else }}}
|
|
23
|
+
<div class="mx-auto d-flex align-items-center justify-content-center" style="width:auto; max-width: 6.33rem; height: 6.0rem; object-fit: contain;">
|
|
24
|
+
<i class="fa-regular fa-file-lines fa-4x mb-2 text-secondary" ></i>
|
|
25
|
+
</div>
|
|
26
|
+
{{{ end }}}
|
|
27
|
+
</a>
|
|
28
|
+
<a class="text-xs text-break text-secondary" target="_blank" href="{config.relative_path}{./url}">{./name}</a>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="d-flex justify-content-center">
|
|
31
|
+
<button class="btn btn-ghost btn-sm" data-action="delete" aria-label="{{tx("aria:delete-upload-button")}}"><i class="fa fa-trash text-danger"></i> {{tx("uploads:delete-upload")}}</button>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
{{{ end }}}
|
|
34
37
|
</div>
|
|
35
38
|
|
|
36
39
|
<!-- IMPORT partials/paginator.tpl -->
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
<div class="post-content text-xs text-break line-clamp-sm-2 lh-sm position-relative flex-fill">
|
|
10
10
|
<a class="stretched-link" tabindex="-1" href="{config.relative_path}/topic/{./topic.slug}{{{ if ./index }}}/{./index}{{{ end }}}" aria-label="{{tx("global:lastpost")}}"></a>
|
|
11
|
-
{{
|
|
11
|
+
{{./content}}
|
|
12
12
|
</div>
|
|
13
13
|
</div>
|
|
14
14
|
{{{ end }}}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
</a>
|
|
6
6
|
|
|
7
7
|
<div component="post/content" class="content mb-3 text-break">
|
|
8
|
-
{{{ if ./txContent }}}{{tx(./content)}}{{{ else }}}{{
|
|
8
|
+
{{{ if ./txContent }}}{{tx(./content)}}{{{ else }}}{{./content}}{{{ end }}}
|
|
9
9
|
</div>
|
|
10
10
|
|
|
11
11
|
<div class="mb-3">
|
|
@@ -72,12 +72,12 @@
|
|
|
72
72
|
<br />
|
|
73
73
|
|
|
74
74
|
<div class="content" component="post/content" itemprop="text">
|
|
75
|
-
{{{ if posts.txContent }}}{{tx(posts.content)}}{{{ else }}}{{
|
|
75
|
+
{{{ if posts.txContent }}}{{tx(posts.content)}}{{{ else }}}{{posts.content}}{{{ end }}}
|
|
76
76
|
</div>
|
|
77
77
|
|
|
78
78
|
<div class="post-footer">
|
|
79
79
|
{{{ if posts.user.signature }}}
|
|
80
|
-
<div component="post/signature" data-uid="{posts.user.uid}" class="post-signature">{{
|
|
80
|
+
<div component="post/signature" data-uid="{posts.user.uid}" class="post-signature">{{posts.user.signature}}</div>
|
|
81
81
|
{{{ end }}}
|
|
82
82
|
|
|
83
83
|
<div class="clearfix">
|
|
@@ -121,7 +121,7 @@
|
|
|
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
|
-
{{
|
|
124
|
+
{{./teaser.content}}
|
|
125
125
|
</div>
|
|
126
126
|
{{{ end }}}
|
|
127
127
|
{{{ end }}}
|