nodebb-theme-persona 12.1.11 → 12.1.12
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,9 +1,9 @@
|
|
|
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>
|
|
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
9
|
</div>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<!-- IF ../isSection -->
|
|
2
|
-
{../name}
|
|
3
|
-
<!-- ELSE -->
|
|
4
|
-
<!-- IF ../link -->
|
|
5
|
-
<a href="{../link}" itemprop="url">
|
|
6
|
-
<!-- ELSE -->
|
|
7
|
-
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
-
<!-- ENDIF ../link -->
|
|
9
|
-
{../name}
|
|
10
|
-
</a>
|
|
1
|
+
<!-- IF ../isSection -->
|
|
2
|
+
{../name}
|
|
3
|
+
<!-- ELSE -->
|
|
4
|
+
<!-- IF ../link -->
|
|
5
|
+
<a href="{../link}" itemprop="url">
|
|
6
|
+
<!-- ELSE -->
|
|
7
|
+
<a href="{config.relative_path}/category/{../slug}" itemprop="url">
|
|
8
|
+
<!-- ENDIF ../link -->
|
|
9
|
+
{../name}
|
|
10
|
+
</a>
|
|
11
11
|
<!-- ENDIF ../isSection -->
|
package/templates/topic.tpl
CHANGED
|
@@ -71,11 +71,7 @@
|
|
|
71
71
|
|
|
72
72
|
<!-- IMPORT partials/topic/post.tpl -->
|
|
73
73
|
</li>
|
|
74
|
-
{
|
|
75
|
-
{{{ each ./events}}}
|
|
76
|
-
<!-- IMPORT partials/topic/event.tpl -->
|
|
77
|
-
{{{ end }}}
|
|
78
|
-
{{{ end }}}
|
|
74
|
+
{renderTopicEvents(@index, config.topicPostSort)}
|
|
79
75
|
{{{end}}}
|
|
80
76
|
</ul>
|
|
81
77
|
|
package/theme.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
{
|
|
2
|
-
"id": "nodebb-theme-persona",
|
|
3
|
-
"name": "Persona",
|
|
4
|
-
"description": "The default theme for NodeBB. Uses a standard approach to forum design.",
|
|
5
|
-
"url": "https://github.com/psychobunny/nodebb-theme-persona",
|
|
6
|
-
"screenshot": "screenshot.png"
|
|
1
|
+
{
|
|
2
|
+
"id": "nodebb-theme-persona",
|
|
3
|
+
"name": "Persona",
|
|
4
|
+
"description": "The default theme for NodeBB. Uses a standard approach to forum design.",
|
|
5
|
+
"url": "https://github.com/psychobunny/nodebb-theme-persona",
|
|
6
|
+
"screenshot": "screenshot.png"
|
|
7
7
|
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
<li component="topic/event" class="timeline-event" data-topic-event-id="{./id}" data-topic-event-type="{./type}">
|
|
2
|
-
<div class="timeline-badge">
|
|
3
|
-
<i class="fa {{{ if ./icon }}}{./icon}{{{ else }}}fa-circle{{{ end }}}"></i>
|
|
4
|
-
</div>
|
|
5
|
-
<span class="timeline-text">
|
|
6
|
-
{{{ if ./href}}}
|
|
7
|
-
<a href="{config.relative_path}{./href}">{./text}</a>
|
|
8
|
-
{{{ else }}}
|
|
9
|
-
{./text}
|
|
10
|
-
{{{ end }}}
|
|
11
|
-
|
|
12
|
-
</span>
|
|
13
|
-
{{{ if ./user }}}
|
|
14
|
-
{{{ if ./user.system }}}
|
|
15
|
-
<span class="timeline-text">[[global:system-user]]</span>
|
|
16
|
-
{{{ else }}}
|
|
17
|
-
<span><a href="{config.relative_path}/user/{./user.userslug}">{buildAvatar(./user, "xs", true)} {./user.username}</a></span>
|
|
18
|
-
{{{ end }}}
|
|
19
|
-
{{{ end }}}
|
|
20
|
-
<span class="timeago timeline-text" title="{./timestampISO}"></span>
|
|
21
|
-
|
|
22
|
-
{{{ if privileges.isAdminOrMod }}}
|
|
23
|
-
<span component="topic/event/delete" data-topic-event-id="{./id}" data-topic-event-type="{./type}" class="timeline-text pointer" title="[[topic:delete-event]]"><i class="fa fa-trash"></i></span>
|
|
24
|
-
{{{ end }}}
|
|
25
|
-
</li>
|
|
26
|
-
|