nodebb-theme-persona 12.0.9 → 12.0.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/.eslintrc +2 -2
- package/README.md +14 -14
- package/languages/de/persona.json +3 -3
- package/languages/en-US/persona.json +2 -2
- package/languages/fr/persona.json +3 -3
- package/languages/pl/persona.json +3 -3
- package/languages/pt-PT/persona.json +2 -2
- package/languages/tr/persona.json +4 -4
- package/languages/zh-CN/persona.json +4 -4
- package/less/account.less +2 -2
- package/less/bootstrap/.csscomb.json +297 -297
- package/less/bootstrap/.csslintrc +19 -19
- package/less/bootstrap/alerts.less +73 -73
- package/less/bootstrap/badges.less +66 -66
- package/less/bootstrap/bootstrap.less +50 -50
- package/less/bootstrap/breadcrumbs.less +26 -26
- package/less/bootstrap/button-groups.less +243 -243
- package/less/bootstrap/buttons.less +160 -160
- package/less/bootstrap/carousel.less +269 -269
- package/less/bootstrap/close.less +34 -34
- package/less/bootstrap/code.less +69 -69
- package/less/bootstrap/component-animations.less +33 -33
- package/less/bootstrap/forms.less +574 -574
- package/less/bootstrap/glyphicons.less +305 -305
- package/less/bootstrap/grid.less +84 -84
- package/less/bootstrap/input-groups.less +166 -166
- package/less/bootstrap/jumbotron.less +50 -50
- package/less/bootstrap/labels.less +64 -64
- package/less/bootstrap/list-group.less +124 -124
- package/less/bootstrap/media.less +61 -61
- package/less/bootstrap/mixins/alerts.less +14 -14
- package/less/bootstrap/mixins/background-variant.less +8 -8
- package/less/bootstrap/mixins/border-radius.less +18 -18
- package/less/bootstrap/mixins/buttons.less +52 -52
- package/less/bootstrap/mixins/center-block.less +7 -7
- package/less/bootstrap/mixins/clearfix.less +22 -22
- package/less/bootstrap/mixins/forms.less +85 -85
- package/less/bootstrap/mixins/gradients.less +59 -59
- package/less/bootstrap/mixins/grid-framework.less +91 -91
- package/less/bootstrap/mixins/grid.less +122 -122
- package/less/bootstrap/mixins/hide-text.less +21 -21
- package/less/bootstrap/mixins/image.less +33 -33
- package/less/bootstrap/mixins/labels.less +12 -12
- package/less/bootstrap/mixins/list-group.less +29 -29
- package/less/bootstrap/mixins/nav-divider.less +10 -10
- package/less/bootstrap/mixins/nav-vertical-align.less +9 -9
- package/less/bootstrap/mixins/opacity.less +8 -8
- package/less/bootstrap/mixins/pagination.less +23 -23
- package/less/bootstrap/mixins/panels.less +24 -24
- package/less/bootstrap/mixins/progress-bar.less +10 -10
- package/less/bootstrap/mixins/reset-filter.less +8 -8
- package/less/bootstrap/mixins/resize.less +6 -6
- package/less/bootstrap/mixins/responsive-visibility.less +15 -15
- package/less/bootstrap/mixins/size.less +10 -10
- package/less/bootstrap/mixins/tab-focus.less +9 -9
- package/less/bootstrap/mixins/table-row.less +28 -28
- package/less/bootstrap/mixins/text-emphasis.less +8 -8
- package/less/bootstrap/mixins/text-overflow.less +8 -8
- package/less/bootstrap/mixins/vendor-prefixes.less +227 -227
- package/less/bootstrap/mixins.less +39 -39
- package/less/bootstrap/modals.less +150 -150
- package/less/bootstrap/navbar.less +660 -660
- package/less/bootstrap/navs.less +242 -242
- package/less/bootstrap/normalize.less +427 -427
- package/less/bootstrap/pager.less +54 -54
- package/less/bootstrap/pagination.less +88 -88
- package/less/bootstrap/panels.less +265 -265
- package/less/bootstrap/popovers.less +135 -135
- package/less/bootstrap/print.less +107 -107
- package/less/bootstrap/progress-bars.less +87 -87
- package/less/bootstrap/responsive-embed.less +35 -35
- package/less/bootstrap/responsive-utilities.less +194 -194
- package/less/bootstrap/scaffolding.less +161 -161
- package/less/bootstrap/tables.less +234 -234
- package/less/bootstrap/theme.less +273 -273
- package/less/bootstrap/thumbnails.less +36 -36
- package/less/bootstrap/tooltip.less +102 -102
- package/less/bootstrap/type.less +302 -302
- package/less/bootstrap/utilities.less +55 -55
- package/less/bootstrap/variables.less +861 -861
- package/less/bootstrap/wells.less +29 -29
- package/less/bootstrap-flipped.css +1550 -1550
- package/less/categories.less +235 -235
- package/less/flags.less +42 -42
- package/less/footer.less +17 -17
- package/less/ip-blacklist.less +6 -6
- package/less/keyframes.less +152 -152
- package/less/modules/composer-default.less +16 -16
- package/less/modules/cookie-consent.less +12 -12
- package/less/modules/fab.less +32 -32
- package/less/modules/morph.less +268 -268
- package/less/modules/necro-post.less +8 -8
- package/less/modules/nprogress.less +80 -80
- package/less/modules/usercard.less +64 -64
- package/less/noscript.less +82 -82
- package/less/notifications.less +37 -37
- package/less/outgoing.less +8 -8
- package/less/persona.less +47 -47
- package/less/post-queue.less +19 -19
- package/less/register.less +75 -75
- package/less/rtl.less +132 -132
- package/less/tags.less +36 -36
- package/less/users.less +72 -72
- package/less/variables.less +6 -6
- package/package.json +1 -1
- package/public/.eslintrc +2 -2
- package/public/modules/autohidingnavbar.js +220 -220
- package/templates/account/blocks.tpl +34 -34
- package/templates/account/categories.tpl +28 -28
- package/templates/account/consent.tpl +68 -68
- package/templates/account/edit/email.tpl +30 -30
- package/templates/account/edit/password.tpl +31 -31
- package/templates/account/edit/username.tpl +29 -29
- package/templates/account/followers.tpl +16 -16
- package/templates/account/following.tpl +16 -16
- package/templates/account/groups.tpl +16 -16
- package/templates/account/info.tpl +230 -230
- package/templates/account/posts.tpl +18 -18
- package/templates/account/sessions.tpl +31 -31
- package/templates/account/topics.tpl +30 -30
- package/templates/account/uploads.tpl +42 -42
- package/templates/admin/plugins/persona.tpl +28 -28
- package/templates/alert.tpl +15 -15
- package/templates/categories.tpl +31 -31
- package/templates/category.tpl +62 -62
- package/templates/chats.tpl +16 -16
- package/templates/flags/list.tpl +71 -71
- package/templates/groups/details.tpl +272 -272
- package/templates/groups/list.tpl +46 -46
- package/templates/groups/members.tpl +8 -8
- package/templates/ip-blacklist.tpl +55 -55
- package/templates/modules/usercard.tpl +36 -36
- package/templates/notifications.tpl +64 -64
- package/templates/partials/acceptTos.tpl +8 -8
- package/templates/partials/account/category-item.tpl +22 -22
- package/templates/partials/account/header.tpl +46 -46
- package/templates/partials/account/menu.tpl +1 -1
- package/templates/partials/buttons/newTopic.tpl +15 -15
- package/templates/partials/categories/item.tpl +46 -46
- package/templates/partials/categories/lastpost.tpl +26 -26
- package/templates/partials/categories/link.tpl +10 -10
- package/templates/partials/category/sort.tpl +14 -14
- package/templates/partials/category/subcategory.tpl +17 -17
- package/templates/partials/category/tags.tpl +4 -4
- package/templates/partials/category/tools.tpl +80 -80
- package/templates/partials/category/watch.tpl +22 -22
- package/templates/partials/category-filter-content.tpl +16 -16
- package/templates/partials/category-filter-right.tpl +2 -2
- package/templates/partials/category-filter.tpl +2 -2
- package/templates/partials/category-selector-right.tpl +2 -2
- package/templates/partials/category-selector.tpl +2 -2
- package/templates/partials/change_owner_modal.tpl +22 -22
- package/templates/partials/chats/messages.tpl +6 -6
- package/templates/partials/chats-menu.tpl +40 -40
- package/templates/partials/cookie-consent.tpl +4 -4
- package/templates/partials/delete_posts_modal.tpl +18 -18
- package/templates/partials/fork_thread_modal.tpl +21 -21
- package/templates/partials/groups/list.tpl +20 -20
- package/templates/partials/groups/memberlist.tpl +39 -39
- package/templates/partials/merge_topics_modal.tpl +57 -57
- package/templates/partials/modals/flag_modal.tpl +44 -44
- package/templates/partials/modals/manage_room.tpl +10 -10
- package/templates/partials/modals/manage_room_users.tpl +6 -6
- package/templates/partials/modals/post_history.tpl +36 -36
- package/templates/partials/modals/rename_room.tpl +3 -3
- package/templates/partials/modals/votes_modal.tpl +10 -10
- package/templates/partials/move_thread_modal.tpl +16 -16
- package/templates/partials/paginator.tpl +44 -44
- package/templates/partials/post_bar.tpl +20 -20
- package/templates/partials/posts_list.tpl +7 -7
- package/templates/partials/quick-search-results.tpl +30 -30
- package/templates/partials/slideout-menu.tpl +4 -4
- package/templates/partials/tags_list.tpl +4 -4
- package/templates/partials/thread_tools.tpl +7 -7
- package/templates/partials/topic/badge.tpl +4 -4
- package/templates/partials/topic/deleted-message.tpl +10 -10
- package/templates/partials/topic/navigation-post.tpl +11 -11
- package/templates/partials/topic/necro-post.tpl +2 -2
- package/templates/partials/topic/post-menu-list.tpl +8 -2
- package/templates/partials/topic/post.tpl +105 -105
- package/templates/partials/topic/quickreply.tpl +25 -25
- package/templates/partials/topic/reactions.tpl +1 -0
- package/templates/partials/topic/reply-button.tpl +26 -26
- package/templates/partials/topic/selection-tooltip.tpl +2 -2
- package/templates/partials/topic/sort.tpl +9 -9
- package/templates/partials/topic/stats.tpl +11 -11
- package/templates/partials/topic/tags.tpl +4 -4
- package/templates/partials/topic/watch.tpl +20 -20
- package/templates/partials/users_list_menu.tpl +10 -10
- package/templates/popular.tpl +61 -61
- package/templates/recent.tpl +51 -51
- package/templates/reset.tpl +23 -23
- package/templates/reset_code.tpl +41 -41
- package/templates/tag.tpl +35 -35
- package/templates/tags.tpl +30 -30
- package/templates/top.tpl +61 -61
- package/templates/tos.tpl +4 -4
- package/templates/unread.tpl +49 -49
- package/templates/users.tpl +47 -47
- package/theme.json +6 -6
- package/theme.less +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
<h3>[[global:upvoters]] <small>({upvoteCount})</small></h3>
|
|
2
|
-
{{{each upvoters}}}
|
|
3
|
-
<a href="{config.relative_path}/user/{upvoters.userslug}">{buildAvatar(upvoters, "sm", false)}</a>
|
|
4
|
-
{{{end}}}
|
|
5
|
-
<!-- IF showDownvotes -->
|
|
6
|
-
<h3>[[global:downvoters]] <small>({downvoteCount})</small></h3>
|
|
7
|
-
{{{each downvoters}}}
|
|
8
|
-
<a href="{config.relative_path}/user/{downvoters.userslug}">{buildAvatar(downvoters, "sm", false)}</a>
|
|
9
|
-
{{{end}}}
|
|
10
|
-
<!-- ENDIF showDownvotes -->
|
|
1
|
+
<h3>[[global:upvoters]] <small>({upvoteCount})</small></h3>
|
|
2
|
+
{{{each upvoters}}}
|
|
3
|
+
<a href="{config.relative_path}/user/{upvoters.userslug}">{buildAvatar(upvoters, "sm", false)}</a>
|
|
4
|
+
{{{end}}}
|
|
5
|
+
<!-- IF showDownvotes -->
|
|
6
|
+
<h3>[[global:downvoters]] <small>({downvoteCount})</small></h3>
|
|
7
|
+
{{{each downvoters}}}
|
|
8
|
+
<a href="{config.relative_path}/user/{downvoters.userslug}">{buildAvatar(downvoters, "sm", false)}</a>
|
|
9
|
+
{{{end}}}
|
|
10
|
+
<!-- ENDIF showDownvotes -->
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
<div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Move Topic" aria-hidden="true">
|
|
2
|
-
<div class="modal-dialog">
|
|
3
|
-
<div class="modal-content">
|
|
4
|
-
<div class="modal-header">
|
|
5
|
-
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
6
|
-
<h3>[[topic:move_topic]]</h3>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="modal-body">
|
|
9
|
-
<!-- IMPORT partials/category-selector.tpl -->
|
|
10
|
-
</div>
|
|
11
|
-
<div class="modal-footer">
|
|
12
|
-
<button type="button" class="btn btn-default" data-dismiss="modal" id="move_thread_cancel">[[global:buttons.close]]</button>
|
|
13
|
-
<button type="button" class="btn btn-primary" id="move_thread_commit" disabled>[[topic:confirm_move]]</button>
|
|
14
|
-
</div>
|
|
15
|
-
</div>
|
|
16
|
-
</div>
|
|
1
|
+
<div id="move_thread_modal" class="modal" tabindex="-1" role="dialog" aria-labelledby="Move Topic" aria-hidden="true">
|
|
2
|
+
<div class="modal-dialog">
|
|
3
|
+
<div class="modal-content">
|
|
4
|
+
<div class="modal-header">
|
|
5
|
+
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
|
6
|
+
<h3>[[topic:move_topic]]</h3>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="modal-body">
|
|
9
|
+
<!-- IMPORT partials/category-selector.tpl -->
|
|
10
|
+
</div>
|
|
11
|
+
<div class="modal-footer">
|
|
12
|
+
<button type="button" class="btn btn-default" data-dismiss="modal" id="move_thread_cancel">[[global:buttons.close]]</button>
|
|
13
|
+
<button type="button" class="btn btn-primary" id="move_thread_commit" disabled>[[topic:confirm_move]]</button>
|
|
14
|
+
</div>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
17
|
</div>
|
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
<div component="pagination" class="text-center pagination-container<!-- IF !pagination.pages.length --> hidden<!-- ENDIF !pagination.pages.length -->">
|
|
2
|
-
<ul class="pagination hidden-xs">
|
|
3
|
-
<li class="previous pull-left<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
4
|
-
<a href="?{pagination.prev.qs}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
|
|
5
|
-
</li>
|
|
6
|
-
|
|
7
|
-
{{{each pagination.pages}}}
|
|
8
|
-
<!-- IF pagination.pages.separator -->
|
|
9
|
-
<li component="pagination/select-page" class="page select-page">
|
|
10
|
-
<a href="#"><i class="fa fa-ellipsis-h"></i></a>
|
|
11
|
-
</li>
|
|
12
|
-
<!-- ELSE -->
|
|
13
|
-
<li class="page<!-- IF pagination.pages.active --> active<!-- ENDIF pagination.pages.active -->" >
|
|
14
|
-
<a href="?{pagination.pages.qs}" data-page="{pagination.pages.page}">{pagination.pages.page}</a>
|
|
15
|
-
</li>
|
|
16
|
-
<!-- ENDIF pagination.pages.separator -->
|
|
17
|
-
{{{end}}}
|
|
18
|
-
|
|
19
|
-
<li class="next pull-right<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
20
|
-
<a href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
|
|
21
|
-
</li>
|
|
22
|
-
</ul>
|
|
23
|
-
|
|
24
|
-
<ul class="pagination hidden-sm hidden-md hidden-lg">
|
|
25
|
-
<li class="first<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
26
|
-
<a href="?{pagination.first.qs}" data-page="1"><i class="fa fa-fast-backward"></i> </a>
|
|
27
|
-
</li>
|
|
28
|
-
|
|
29
|
-
<li class="previous<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
30
|
-
<a href="?{pagination.prev.qs}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
|
|
31
|
-
</li>
|
|
32
|
-
|
|
33
|
-
<li component="pagination/select-page" class="page select-page">
|
|
34
|
-
<a href="#">{pagination.currentPage} / {pagination.pageCount}</a>
|
|
35
|
-
</li>
|
|
36
|
-
|
|
37
|
-
<li class="next<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
38
|
-
<a href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
|
|
39
|
-
</li>
|
|
40
|
-
|
|
41
|
-
<li class="last<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
42
|
-
<a href="?{pagination.last.qs}" data-page="{pagination.pageCount}"><i class="fa fa-fast-forward"></i> </a>
|
|
43
|
-
</li>
|
|
44
|
-
</ul>
|
|
1
|
+
<div component="pagination" class="text-center pagination-container<!-- IF !pagination.pages.length --> hidden<!-- ENDIF !pagination.pages.length -->">
|
|
2
|
+
<ul class="pagination hidden-xs">
|
|
3
|
+
<li class="previous pull-left<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
4
|
+
<a href="?{pagination.prev.qs}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
|
|
5
|
+
</li>
|
|
6
|
+
|
|
7
|
+
{{{each pagination.pages}}}
|
|
8
|
+
<!-- IF pagination.pages.separator -->
|
|
9
|
+
<li component="pagination/select-page" class="page select-page">
|
|
10
|
+
<a href="#"><i class="fa fa-ellipsis-h"></i></a>
|
|
11
|
+
</li>
|
|
12
|
+
<!-- ELSE -->
|
|
13
|
+
<li class="page<!-- IF pagination.pages.active --> active<!-- ENDIF pagination.pages.active -->" >
|
|
14
|
+
<a href="?{pagination.pages.qs}" data-page="{pagination.pages.page}">{pagination.pages.page}</a>
|
|
15
|
+
</li>
|
|
16
|
+
<!-- ENDIF pagination.pages.separator -->
|
|
17
|
+
{{{end}}}
|
|
18
|
+
|
|
19
|
+
<li class="next pull-right<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
20
|
+
<a href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
|
|
21
|
+
</li>
|
|
22
|
+
</ul>
|
|
23
|
+
|
|
24
|
+
<ul class="pagination hidden-sm hidden-md hidden-lg">
|
|
25
|
+
<li class="first<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
26
|
+
<a href="?{pagination.first.qs}" data-page="1"><i class="fa fa-fast-backward"></i> </a>
|
|
27
|
+
</li>
|
|
28
|
+
|
|
29
|
+
<li class="previous<!-- IF !pagination.prev.active --> disabled<!-- ENDIF !pagination.prev.active -->">
|
|
30
|
+
<a href="?{pagination.prev.qs}" data-page="{pagination.prev.page}"><i class="fa fa-chevron-left"></i> </a>
|
|
31
|
+
</li>
|
|
32
|
+
|
|
33
|
+
<li component="pagination/select-page" class="page select-page">
|
|
34
|
+
<a href="#">{pagination.currentPage} / {pagination.pageCount}</a>
|
|
35
|
+
</li>
|
|
36
|
+
|
|
37
|
+
<li class="next<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
38
|
+
<a href="?{pagination.next.qs}" data-page="{pagination.next.page}"> <i class="fa fa-chevron-right"></i></a>
|
|
39
|
+
</li>
|
|
40
|
+
|
|
41
|
+
<li class="last<!-- IF !pagination.next.active --> disabled<!-- ENDIF !pagination.next.active -->">
|
|
42
|
+
<a href="?{pagination.last.qs}" data-page="{pagination.pageCount}"><i class="fa fa-fast-forward"></i> </a>
|
|
43
|
+
</li>
|
|
44
|
+
</ul>
|
|
45
45
|
</div>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
<div class="topic-main-buttons pull-right inline-block">
|
|
2
|
-
<span class="loading-indicator btn pull-left hidden" done="0">
|
|
3
|
-
<span class="hidden-xs">[[topic:loading_more_posts]]</span> <i class="fa fa-refresh fa-spin"></i>
|
|
4
|
-
</span>
|
|
5
|
-
|
|
6
|
-
<!-- IF loggedIn -->
|
|
7
|
-
<button component="topic/mark-unread" class="btn btn-sm btn-default" title="[[topic:mark_unread]]">
|
|
8
|
-
<i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"></span>
|
|
9
|
-
</button>
|
|
10
|
-
<!-- ENDIF loggedIn -->
|
|
11
|
-
|
|
12
|
-
<!-- IMPORT partials/topic/watch.tpl -->
|
|
13
|
-
|
|
14
|
-
<!-- IMPORT partials/topic/sort.tpl -->
|
|
15
|
-
|
|
16
|
-
<div class="inline-block">
|
|
17
|
-
<!-- IMPORT partials/thread_tools.tpl -->
|
|
18
|
-
</div>
|
|
19
|
-
<!-- IMPORT partials/topic/reply-button.tpl -->
|
|
20
|
-
</div>
|
|
1
|
+
<div class="topic-main-buttons pull-right inline-block">
|
|
2
|
+
<span class="loading-indicator btn pull-left hidden" done="0">
|
|
3
|
+
<span class="hidden-xs">[[topic:loading_more_posts]]</span> <i class="fa fa-refresh fa-spin"></i>
|
|
4
|
+
</span>
|
|
5
|
+
|
|
6
|
+
<!-- IF loggedIn -->
|
|
7
|
+
<button component="topic/mark-unread" class="btn btn-sm btn-default" title="[[topic:mark_unread]]">
|
|
8
|
+
<i class="fa fa-fw fa-inbox"></i><span class="visible-sm-inline visible-md-inline visible-lg-inline"></span>
|
|
9
|
+
</button>
|
|
10
|
+
<!-- ENDIF loggedIn -->
|
|
11
|
+
|
|
12
|
+
<!-- IMPORT partials/topic/watch.tpl -->
|
|
13
|
+
|
|
14
|
+
<!-- IMPORT partials/topic/sort.tpl -->
|
|
15
|
+
|
|
16
|
+
<div class="inline-block">
|
|
17
|
+
<!-- IMPORT partials/thread_tools.tpl -->
|
|
18
|
+
</div>
|
|
19
|
+
<!-- IMPORT partials/topic/reply-button.tpl -->
|
|
20
|
+
</div>
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<ul component="posts" class="posts-list" data-nextstart="{nextStart}">
|
|
2
|
-
{{{each posts}}}
|
|
3
|
-
<!-- IMPORT partials/posts_list_item.tpl -->
|
|
4
|
-
{{{end}}}
|
|
5
|
-
</ul>
|
|
6
|
-
<div component="posts/loading" class="loading-indicator text-center hidden">
|
|
7
|
-
<i class="fa fa-refresh fa-spin"></i>
|
|
1
|
+
<ul component="posts" class="posts-list" data-nextstart="{nextStart}">
|
|
2
|
+
{{{each posts}}}
|
|
3
|
+
<!-- IMPORT partials/posts_list_item.tpl -->
|
|
4
|
+
{{{end}}}
|
|
5
|
+
</ul>
|
|
6
|
+
<div component="posts/loading" class="loading-indicator text-center hidden">
|
|
7
|
+
<i class="fa fa-refresh fa-spin"></i>
|
|
8
8
|
</div>
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
<ul id="quick-search-results" class="quick-search-results">
|
|
2
|
-
{{{each posts}}}
|
|
3
|
-
<li data-tid="{posts.topic.tid}" data-pid="{posts.pid}">
|
|
4
|
-
<a href="{config.relative_path}/post/{posts.pid}" class="deco-none">
|
|
5
|
-
{buildAvatar(posts.user, "sm", true)}
|
|
6
|
-
<span class="quick-search-title">{posts.topic.title}</span>
|
|
7
|
-
<br/>
|
|
8
|
-
<p class="snippet">
|
|
9
|
-
{posts.snippet}
|
|
10
|
-
</p>
|
|
11
|
-
<small class="post-info pull-right">
|
|
12
|
-
<span class="fa-stack" style="{function.generateCategoryBackground, posts.category}"><i style="color:{posts.category.color};" class="fa {posts.category.icon} fa-stack-1x"></i></span> {posts.category.name} •
|
|
13
|
-
<span class="timeago" title="{posts.timestampISO}"></span>
|
|
14
|
-
</small>
|
|
15
|
-
</a>
|
|
16
|
-
</li>
|
|
17
|
-
<!-- IF !@last -->
|
|
18
|
-
<li role="separator" class="divider"></li>
|
|
19
|
-
<!-- ENDIF -->
|
|
20
|
-
{{{end}}}
|
|
21
|
-
</ul>
|
|
22
|
-
<!-- IF multiplePages -->
|
|
23
|
-
<div class="text-center">
|
|
24
|
-
<a href="{url}">
|
|
25
|
-
[[search:see-more-results, {matchCount}]]
|
|
26
|
-
</a>
|
|
27
|
-
</div>
|
|
28
|
-
<!-- ENDIF multiplePages -->
|
|
29
|
-
{{{if !posts.length}}}
|
|
30
|
-
<div class="text-center no-results">[[search:no-matches]]</li>
|
|
1
|
+
<ul id="quick-search-results" class="quick-search-results">
|
|
2
|
+
{{{each posts}}}
|
|
3
|
+
<li data-tid="{posts.topic.tid}" data-pid="{posts.pid}">
|
|
4
|
+
<a href="{config.relative_path}/post/{posts.pid}" class="deco-none">
|
|
5
|
+
{buildAvatar(posts.user, "sm", true)}
|
|
6
|
+
<span class="quick-search-title">{posts.topic.title}</span>
|
|
7
|
+
<br/>
|
|
8
|
+
<p class="snippet">
|
|
9
|
+
{posts.snippet}
|
|
10
|
+
</p>
|
|
11
|
+
<small class="post-info pull-right">
|
|
12
|
+
<span class="fa-stack" style="{function.generateCategoryBackground, posts.category}"><i style="color:{posts.category.color};" class="fa {posts.category.icon} fa-stack-1x"></i></span> {posts.category.name} •
|
|
13
|
+
<span class="timeago" title="{posts.timestampISO}"></span>
|
|
14
|
+
</small>
|
|
15
|
+
</a>
|
|
16
|
+
</li>
|
|
17
|
+
<!-- IF !@last -->
|
|
18
|
+
<li role="separator" class="divider"></li>
|
|
19
|
+
<!-- ENDIF -->
|
|
20
|
+
{{{end}}}
|
|
21
|
+
</ul>
|
|
22
|
+
<!-- IF multiplePages -->
|
|
23
|
+
<div class="text-center">
|
|
24
|
+
<a href="{url}">
|
|
25
|
+
[[search:see-more-results, {matchCount}]]
|
|
26
|
+
</a>
|
|
27
|
+
</div>
|
|
28
|
+
<!-- ENDIF multiplePages -->
|
|
29
|
+
{{{if !posts.length}}}
|
|
30
|
+
<div class="text-center no-results">[[search:no-matches]]</li>
|
|
31
31
|
{{{end}}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<section class="menu-section" data-section="navigation">
|
|
2
|
-
<ul class="menu-section-list"></ul>
|
|
3
|
-
</section>
|
|
4
|
-
|
|
1
|
+
<section class="menu-section" data-section="navigation">
|
|
2
|
+
<ul class="menu-section-list"></ul>
|
|
3
|
+
</section>
|
|
4
|
+
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{{{each tags}}}
|
|
2
|
-
<h3 class="pull-left tag-container">
|
|
3
|
-
<a href="{config.relative_path}/tags/{tags.valueEncoded}" data-value="{tags.valueEscaped}"><span class="tag-item tag-class-{tags.class}" data-tag="{tags.valueEscaped}">{tags.valueEscaped}</span><span class="tag-topic-count human-readable-number" title="{tags.score}">{tags.score}</span></a>
|
|
4
|
-
</h3>
|
|
1
|
+
{{{each tags}}}
|
|
2
|
+
<h3 class="pull-left tag-container">
|
|
3
|
+
<a href="{config.relative_path}/tags/{tags.valueEncoded}" data-value="{tags.valueEscaped}"><span class="tag-item tag-class-{tags.class}" data-tag="{tags.valueEscaped}">{tags.valueEscaped}</span><span class="tag-topic-count human-readable-number" title="{tags.score}">{tags.score}</span></a>
|
|
4
|
+
</h3>
|
|
5
5
|
{{{end}}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
<!-- IF privileges.view_thread_tools -->
|
|
2
|
-
<div title="[[topic:thread_tools.title]]" class="btn-group thread-tools bottom-sheet">
|
|
3
|
-
<button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button">
|
|
4
|
-
<i class="fa fa-fw fa-gear"></i>
|
|
5
|
-
</button>
|
|
6
|
-
<ul class="dropdown-menu dropdown-menu-right"></ul>
|
|
7
|
-
</div>
|
|
1
|
+
<!-- IF privileges.view_thread_tools -->
|
|
2
|
+
<div title="[[topic:thread_tools.title]]" class="btn-group thread-tools bottom-sheet">
|
|
3
|
+
<button class="btn btn-sm btn-default dropdown-toggle" data-toggle="dropdown" type="button">
|
|
4
|
+
<i class="fa fa-fw fa-gear"></i>
|
|
5
|
+
</button>
|
|
6
|
+
<ul class="dropdown-menu dropdown-menu-right"></ul>
|
|
7
|
+
</div>
|
|
8
8
|
<!-- ENDIF privileges.view_thread_tools -->
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
{{{each posts.user.selectedGroups}}}
|
|
2
|
-
<!-- IF posts.user.selectedGroups.slug -->
|
|
3
|
-
<a href="{config.relative_path}/groups/{posts.user.selectedGroups.slug}"><small class="label group-label inline-block" style="color:{posts.user.selectedGroups.textColor};background-color: {posts.user.selectedGroups.labelColor};"><!-- IF posts.user.selectedGroups.icon --><i class="fa {posts.user.selectedGroups.icon}"></i> <!-- ENDIF posts.user.selectedGroups.icon -->{posts.user.selectedGroups.userTitle}</small></a>
|
|
4
|
-
<!-- ENDIF posts.user.selectedGroups.slug -->
|
|
1
|
+
{{{each posts.user.selectedGroups}}}
|
|
2
|
+
<!-- IF posts.user.selectedGroups.slug -->
|
|
3
|
+
<a href="{config.relative_path}/groups/{posts.user.selectedGroups.slug}"><small class="label group-label inline-block" style="color:{posts.user.selectedGroups.textColor};background-color: {posts.user.selectedGroups.labelColor};"><!-- IF posts.user.selectedGroups.icon --><i class="fa {posts.user.selectedGroups.icon}"></i> <!-- ENDIF posts.user.selectedGroups.icon -->{posts.user.selectedGroups.userTitle}</small></a>
|
|
4
|
+
<!-- ENDIF posts.user.selectedGroups.slug -->
|
|
5
5
|
{{{end}}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
<div component="topic/deleted/message" class="alert alert-warning<!-- IF !deleted --> hidden<!-- ENDIF !deleted --> clearfix">
|
|
2
|
-
<span class="pull-left">[[topic:deleted_message]]</span>
|
|
3
|
-
<span class="pull-right">
|
|
4
|
-
<!-- IF deleter -->
|
|
5
|
-
<a href="{config.relative_path}/user/{deleter.userslug}">
|
|
6
|
-
<strong>{deleter.username}</strong>
|
|
7
|
-
</a>
|
|
8
|
-
<small class="timeago" title="{deletedTimestampISO}"></small>
|
|
9
|
-
<!-- ENDIF deleter -->
|
|
10
|
-
</span>
|
|
1
|
+
<div component="topic/deleted/message" class="alert alert-warning<!-- IF !deleted --> hidden<!-- ENDIF !deleted --> clearfix">
|
|
2
|
+
<span class="pull-left">[[topic:deleted_message]]</span>
|
|
3
|
+
<span class="pull-right">
|
|
4
|
+
<!-- IF deleter -->
|
|
5
|
+
<a href="{config.relative_path}/user/{deleter.userslug}">
|
|
6
|
+
<strong>{deleter.username}</strong>
|
|
7
|
+
</a>
|
|
8
|
+
<small class="timeago" title="{deletedTimestampISO}"></small>
|
|
9
|
+
<!-- ENDIF deleter -->
|
|
10
|
+
</span>
|
|
11
11
|
</div>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
<div class="clearfix">
|
|
2
|
-
<div class="icon pull-left">
|
|
3
|
-
<a href="<!-- IF post.user.userslug -->{config.relative_path}/user/{post.user.userslug}<!-- ELSE -->#<!-- ENDIF post.user.userslug -->">
|
|
4
|
-
{buildAvatar(post.user, "sm", true, "", "user/picture")} {post.user.username}
|
|
5
|
-
</a>
|
|
6
|
-
</div>
|
|
7
|
-
<small class="pull-right">
|
|
8
|
-
<span class="timeago" title="{post.timestampISO}"></span>
|
|
9
|
-
</small>
|
|
10
|
-
</div>
|
|
11
|
-
|
|
1
|
+
<div class="clearfix">
|
|
2
|
+
<div class="icon pull-left">
|
|
3
|
+
<a href="<!-- IF post.user.userslug -->{config.relative_path}/user/{post.user.userslug}<!-- ELSE -->#<!-- ENDIF post.user.userslug -->">
|
|
4
|
+
{buildAvatar(post.user, "sm", true, "", "user/picture")} {post.user.username}
|
|
5
|
+
</a>
|
|
6
|
+
</div>
|
|
7
|
+
<small class="pull-right">
|
|
8
|
+
<span class="timeago" title="{post.timestampISO}"></span>
|
|
9
|
+
</small>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
12
|
<div>{post.content}</div>
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
<li component="topic/necro-post" class="necro-post timeline-event">
|
|
2
|
-
<span class="timeline-text">{text}</span>
|
|
1
|
+
<li component="topic/necro-post" class="necro-post timeline-event">
|
|
2
|
+
<span class="timeline-text">{text}</span>
|
|
3
3
|
</li>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
</li>
|
|
73
73
|
<!-- END -->
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
{{{ if config.loggedIn }}}
|
|
76
76
|
<li>
|
|
77
77
|
<a component="post/bookmark" role="menuitem" tabindex="-1" href="#" data-bookmarked="{posts.bookmarked}">
|
|
78
78
|
<span class="menu-icon">
|
|
@@ -83,7 +83,13 @@
|
|
|
83
83
|
<span component="post/bookmark-count" class="bookmarkCount badge" data-bookmarks="{posts.bookmarks}">{posts.bookmarks}</span>
|
|
84
84
|
</a>
|
|
85
85
|
</li>
|
|
86
|
-
|
|
86
|
+
{{{ end }}}
|
|
87
|
+
|
|
88
|
+
<li>
|
|
89
|
+
<a role="menuitem" tabindex="-1" href="#" data-clipboard-text="{posts.absolute_url}">
|
|
90
|
+
<i class="fa fa-fw fa-link"></i> [[topic:copy-permalink]]
|
|
91
|
+
</a>
|
|
92
|
+
</li>
|
|
87
93
|
|
|
88
94
|
<!-- IF postSharing.length -->
|
|
89
95
|
<!-- IF config.loggedIn --><li class="divider"></li><!-- ENDIF config.loggedIn -->
|
|
@@ -1,106 +1,106 @@
|
|
|
1
|
-
<div class="clearfix post-header">
|
|
2
|
-
<div class="icon pull-left">
|
|
3
|
-
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
|
|
4
|
-
{buildAvatar(posts.user, "sm2x", true, "", "user/picture")}
|
|
5
|
-
<i component="user/status" class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
|
|
6
|
-
</a>
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<small class="pull-left">
|
|
10
|
-
<strong>
|
|
11
|
-
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
|
|
12
|
-
</strong>
|
|
13
|
-
|
|
14
|
-
<!-- IMPORT partials/topic/badge.tpl -->
|
|
15
|
-
|
|
16
|
-
<!-- IF posts.user.banned -->
|
|
17
|
-
<span class="label label-danger">[[user:banned]]</span>
|
|
18
|
-
<!-- ENDIF posts.user.banned -->
|
|
19
|
-
|
|
20
|
-
<span class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
|
|
21
|
-
<!-- IF posts.toPid -->
|
|
22
|
-
<a component="post/parent" class="btn btn-xs btn-default hidden-xs" data-topid="{posts.toPid}" href="{config.relative_path}/post/{posts.toPid}"><i class="fa fa-reply"></i> @<!-- IF posts.parent.username -->{posts.parent.username}<!-- ELSE -->[[global:guest]]<!-- ENDIF posts.parent.username --></a>
|
|
23
|
-
<!-- ENDIF posts.toPid -->
|
|
24
|
-
|
|
25
|
-
<span>
|
|
26
|
-
<!-- IF posts.user.custom_profile_info.length -->
|
|
27
|
-
|
|
|
28
|
-
{{{each posts.user.custom_profile_info}}}
|
|
29
|
-
{posts.user.custom_profile_info.content}
|
|
30
|
-
{{{end}}}
|
|
31
|
-
<!-- ENDIF posts.user.custom_profile_info.length -->
|
|
32
|
-
</span>
|
|
33
|
-
</span>
|
|
34
|
-
|
|
35
|
-
</small>
|
|
36
|
-
<small class="pull-right">
|
|
37
|
-
<span class="bookmarked"><i class="fa fa-bookmark-o"></i></span>
|
|
38
|
-
</small>
|
|
39
|
-
<small class="pull-right">
|
|
40
|
-
<i component="post/edit-indicator" class="fa fa-pencil-square<!-- IF privileges.posts:history --> pointer<!-- END --> edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i>
|
|
41
|
-
|
|
42
|
-
<small data-editor="{posts.editor.userslug}" component="post/editor" class="hidden">[[global:last_edited_by, {posts.editor.username}]] <span class="timeago" title="{posts.editedISO}"></span></small>
|
|
43
|
-
|
|
44
|
-
<span class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
|
|
45
|
-
<a class="permalink" href="{config.relative_path}/post/{posts.pid}"><span class="timeago" title="{posts.timestampISO}"></span></a>
|
|
46
|
-
</span>
|
|
47
|
-
</small>
|
|
48
|
-
</div>
|
|
49
|
-
|
|
50
|
-
<br />
|
|
51
|
-
|
|
52
|
-
<div class="content" component="post/content" itemprop="text">
|
|
53
|
-
{posts.content}
|
|
54
|
-
</div>
|
|
55
|
-
|
|
56
|
-
<div class="post-footer">
|
|
57
|
-
{{{ if posts.user.signature }}}
|
|
58
|
-
<div component="post/signature" data-uid="{posts.user.uid}" class="post-signature">{posts.user.signature}</div>
|
|
59
|
-
{{{ end }}}
|
|
60
|
-
|
|
61
|
-
<div class="clearfix">
|
|
62
|
-
{{{ if !hideReplies }}}
|
|
63
|
-
<a component="post/reply-count" data-target-component="post/replies/container" href="#" class="threaded-replies no-select pull-left {{{ if !posts.replies.count }}}hidden{{{ end }}}">
|
|
64
|
-
<span component="post/reply-count/avatars" class="avatars {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
|
|
65
|
-
{{{each posts.replies.users}}}
|
|
66
|
-
{buildAvatar(posts.replies.users, "xs", true, "")}
|
|
67
|
-
{{{end}}}
|
|
68
|
-
</span>
|
|
69
|
-
|
|
70
|
-
<span class="replies-count" component="post/reply-count/text" data-replies="{posts.replies.count}">{posts.replies.text}</span>
|
|
71
|
-
<span class="replies-last hidden-xs">[[topic:last_reply_time]] <span class="timeago" title="{posts.replies.timestampISO}"></span></span>
|
|
72
|
-
|
|
73
|
-
<i class="fa fa-fw fa-chevron-right" component="post/replies/open"></i>
|
|
74
|
-
<i class="fa fa-fw fa-chevron-down hidden" component="post/replies/close"></i>
|
|
75
|
-
<i class="fa fa-fw fa-spin fa-spinner hidden" component="post/replies/loading"></i>
|
|
76
|
-
</a>
|
|
77
|
-
{{{ end }}}
|
|
78
|
-
|
|
79
|
-
<small class="pull-right">
|
|
80
|
-
<!-- IMPORT partials/topic/reactions.tpl -->
|
|
81
|
-
<span class="post-tools">
|
|
82
|
-
<a component="post/reply" href="#" class="no-select <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">[[topic:reply]]</a>
|
|
83
|
-
<a component="post/quote" href="#" class="no-select <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">[[topic:quote]]</a>
|
|
84
|
-
</span>
|
|
85
|
-
|
|
86
|
-
<!-- IF !reputation:disabled -->
|
|
87
|
-
<span class="votes">
|
|
88
|
-
<a component="post/upvote" href="#" class="<!-- IF posts.upvoted -->upvoted<!-- ENDIF posts.upvoted -->">
|
|
89
|
-
<i class="fa fa-chevron-up"></i>
|
|
90
|
-
</a>
|
|
91
|
-
|
|
92
|
-
<span component="post/vote-count" data-votes="{posts.votes}">{posts.votes}</span>
|
|
93
|
-
|
|
94
|
-
<!-- IF !downvote:disabled -->
|
|
95
|
-
<a component="post/downvote" href="#" class="<!-- IF posts.downvoted -->downvoted<!-- ENDIF posts.downvoted -->">
|
|
96
|
-
<i class="fa fa-chevron-down"></i>
|
|
97
|
-
</a>
|
|
98
|
-
<!-- ENDIF !downvote:disabled -->
|
|
99
|
-
</span>
|
|
100
|
-
<!-- ENDIF !reputation:disabled -->
|
|
101
|
-
|
|
102
|
-
<!-- IMPORT partials/topic/post-menu.tpl -->
|
|
103
|
-
</small>
|
|
104
|
-
</div>
|
|
105
|
-
<div component="post/replies/container"></div>
|
|
1
|
+
<div class="clearfix post-header">
|
|
2
|
+
<div class="icon pull-left">
|
|
3
|
+
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->">
|
|
4
|
+
{buildAvatar(posts.user, "sm2x", true, "", "user/picture")}
|
|
5
|
+
<i component="user/status" class="fa fa-circle status {posts.user.status}" title="[[global:{posts.user.status}]]"></i>
|
|
6
|
+
</a>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<small class="pull-left">
|
|
10
|
+
<strong>
|
|
11
|
+
<a href="<!-- IF posts.user.userslug -->{config.relative_path}/user/{posts.user.userslug}<!-- ELSE -->#<!-- ENDIF posts.user.userslug -->" itemprop="author" data-username="{posts.user.username}" data-uid="{posts.user.uid}">{posts.user.displayname}</a>
|
|
12
|
+
</strong>
|
|
13
|
+
|
|
14
|
+
<!-- IMPORT partials/topic/badge.tpl -->
|
|
15
|
+
|
|
16
|
+
<!-- IF posts.user.banned -->
|
|
17
|
+
<span class="label label-danger">[[user:banned]]</span>
|
|
18
|
+
<!-- ENDIF posts.user.banned -->
|
|
19
|
+
|
|
20
|
+
<span class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
|
|
21
|
+
<!-- IF posts.toPid -->
|
|
22
|
+
<a component="post/parent" class="btn btn-xs btn-default hidden-xs" data-topid="{posts.toPid}" href="{config.relative_path}/post/{posts.toPid}"><i class="fa fa-reply"></i> @<!-- IF posts.parent.username -->{posts.parent.username}<!-- ELSE -->[[global:guest]]<!-- ENDIF posts.parent.username --></a>
|
|
23
|
+
<!-- ENDIF posts.toPid -->
|
|
24
|
+
|
|
25
|
+
<span>
|
|
26
|
+
<!-- IF posts.user.custom_profile_info.length -->
|
|
27
|
+
|
|
|
28
|
+
{{{each posts.user.custom_profile_info}}}
|
|
29
|
+
{posts.user.custom_profile_info.content}
|
|
30
|
+
{{{end}}}
|
|
31
|
+
<!-- ENDIF posts.user.custom_profile_info.length -->
|
|
32
|
+
</span>
|
|
33
|
+
</span>
|
|
34
|
+
|
|
35
|
+
</small>
|
|
36
|
+
<small class="pull-right">
|
|
37
|
+
<span class="bookmarked"><i class="fa fa-bookmark-o"></i></span>
|
|
38
|
+
</small>
|
|
39
|
+
<small class="pull-right">
|
|
40
|
+
<i component="post/edit-indicator" class="fa fa-pencil-square<!-- IF privileges.posts:history --> pointer<!-- END --> edit-icon <!-- IF !posts.editor.username -->hidden<!-- ENDIF !posts.editor.username -->"></i>
|
|
41
|
+
|
|
42
|
+
<small data-editor="{posts.editor.userslug}" component="post/editor" class="hidden">[[global:last_edited_by, {posts.editor.username}]] <span class="timeago" title="{posts.editedISO}"></span></small>
|
|
43
|
+
|
|
44
|
+
<span class="visible-xs-inline-block visible-sm-inline-block visible-md-inline-block visible-lg-inline-block">
|
|
45
|
+
<a class="permalink" href="{config.relative_path}/post/{posts.pid}"><span class="timeago" title="{posts.timestampISO}"></span></a>
|
|
46
|
+
</span>
|
|
47
|
+
</small>
|
|
48
|
+
</div>
|
|
49
|
+
|
|
50
|
+
<br />
|
|
51
|
+
|
|
52
|
+
<div class="content" component="post/content" itemprop="text">
|
|
53
|
+
{posts.content}
|
|
54
|
+
</div>
|
|
55
|
+
|
|
56
|
+
<div class="post-footer">
|
|
57
|
+
{{{ if posts.user.signature }}}
|
|
58
|
+
<div component="post/signature" data-uid="{posts.user.uid}" class="post-signature">{posts.user.signature}</div>
|
|
59
|
+
{{{ end }}}
|
|
60
|
+
|
|
61
|
+
<div class="clearfix">
|
|
62
|
+
{{{ if !hideReplies }}}
|
|
63
|
+
<a component="post/reply-count" data-target-component="post/replies/container" href="#" class="threaded-replies no-select pull-left {{{ if !posts.replies.count }}}hidden{{{ end }}}">
|
|
64
|
+
<span component="post/reply-count/avatars" class="avatars {{{ if posts.replies.hasMore }}}hasMore{{{ end }}}">
|
|
65
|
+
{{{each posts.replies.users}}}
|
|
66
|
+
{buildAvatar(posts.replies.users, "xs", true, "")}
|
|
67
|
+
{{{end}}}
|
|
68
|
+
</span>
|
|
69
|
+
|
|
70
|
+
<span class="replies-count" component="post/reply-count/text" data-replies="{posts.replies.count}">{posts.replies.text}</span>
|
|
71
|
+
<span class="replies-last hidden-xs">[[topic:last_reply_time]] <span class="timeago" title="{posts.replies.timestampISO}"></span></span>
|
|
72
|
+
|
|
73
|
+
<i class="fa fa-fw fa-chevron-right" component="post/replies/open"></i>
|
|
74
|
+
<i class="fa fa-fw fa-chevron-down hidden" component="post/replies/close"></i>
|
|
75
|
+
<i class="fa fa-fw fa-spin fa-spinner hidden" component="post/replies/loading"></i>
|
|
76
|
+
</a>
|
|
77
|
+
{{{ end }}}
|
|
78
|
+
|
|
79
|
+
<small class="pull-right">
|
|
80
|
+
<!-- IMPORT partials/topic/reactions.tpl -->
|
|
81
|
+
<span class="post-tools">
|
|
82
|
+
<a component="post/reply" href="#" class="no-select <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">[[topic:reply]]</a>
|
|
83
|
+
<a component="post/quote" href="#" class="no-select <!-- IF !privileges.topics:reply -->hidden<!-- ENDIF !privileges.topics:reply -->">[[topic:quote]]</a>
|
|
84
|
+
</span>
|
|
85
|
+
|
|
86
|
+
<!-- IF !reputation:disabled -->
|
|
87
|
+
<span class="votes">
|
|
88
|
+
<a component="post/upvote" href="#" class="<!-- IF posts.upvoted -->upvoted<!-- ENDIF posts.upvoted -->">
|
|
89
|
+
<i class="fa fa-chevron-up"></i>
|
|
90
|
+
</a>
|
|
91
|
+
|
|
92
|
+
<span component="post/vote-count" data-votes="{posts.votes}">{posts.votes}</span>
|
|
93
|
+
|
|
94
|
+
<!-- IF !downvote:disabled -->
|
|
95
|
+
<a component="post/downvote" href="#" class="<!-- IF posts.downvoted -->downvoted<!-- ENDIF posts.downvoted -->">
|
|
96
|
+
<i class="fa fa-chevron-down"></i>
|
|
97
|
+
</a>
|
|
98
|
+
<!-- ENDIF !downvote:disabled -->
|
|
99
|
+
</span>
|
|
100
|
+
<!-- ENDIF !reputation:disabled -->
|
|
101
|
+
|
|
102
|
+
<!-- IMPORT partials/topic/post-menu.tpl -->
|
|
103
|
+
</small>
|
|
104
|
+
</div>
|
|
105
|
+
<div component="post/replies/container"></div>
|
|
106
106
|
</div>
|