nodebb-theme-persona 13.0.41 → 13.0.43
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/library.js
CHANGED
|
@@ -69,6 +69,16 @@ library.defineWidgetAreas = async function (areas) {
|
|
|
69
69
|
});
|
|
70
70
|
|
|
71
71
|
areas = areas.concat([
|
|
72
|
+
{
|
|
73
|
+
name: 'Main post header',
|
|
74
|
+
template: 'topic.tpl',
|
|
75
|
+
location: 'mainpost-header',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
name: 'Main post footer',
|
|
79
|
+
template: 'topic.tpl',
|
|
80
|
+
location: 'mainpost-footer',
|
|
81
|
+
},
|
|
72
82
|
{
|
|
73
83
|
name: 'Account Header',
|
|
74
84
|
template: 'account/profile.tpl',
|
package/package.json
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
{{{ if (!./index && widgets.mainpost-header.length) }}}
|
|
2
|
+
<div data-widget-area="mainpost-header">
|
|
3
|
+
{{{ each widgets.mainpost-header }}}
|
|
4
|
+
{widgets.mainpost-header.html}
|
|
5
|
+
{{{ end }}}
|
|
6
|
+
</div>
|
|
7
|
+
{{{ end }}}
|
|
8
|
+
|
|
1
9
|
<div class="clearfix post-header">
|
|
2
10
|
<div class="icon float-start">
|
|
3
11
|
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
|
|
@@ -111,4 +119,11 @@
|
|
|
111
119
|
</small>
|
|
112
120
|
</div>
|
|
113
121
|
<div component="post/replies/container"></div>
|
|
114
|
-
</div>
|
|
122
|
+
</div>
|
|
123
|
+
{{{ if (!./index && widgets.mainpost-footer.length) }}}
|
|
124
|
+
<div data-widget-area="mainpost-footer">
|
|
125
|
+
{{{ each widgets.mainpost-footer }}}
|
|
126
|
+
{widgets.mainpost-footer.html}
|
|
127
|
+
{{{ end }}}
|
|
128
|
+
</div>
|
|
129
|
+
{{{ end }}}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<div class="form-group">
|
|
2
|
-
<label for="agree-terms">[[register:terms_of_use]]</label>
|
|
3
|
-
<div class="tos">{termsOfUse}</div>
|
|
4
|
-
<div class="checkbox">
|
|
5
|
-
<label>
|
|
6
|
-
<input type="checkbox" name="agree-terms" id="agree-terms"> [[register:agree_to_terms_of_use]]
|
|
7
|
-
</label>
|
|
8
|
-
</div>
|
|
9
|
-
</div>
|