Skip to content

Commit 3b46c47

Browse files
committed
Fix indentation
1 parent cb30701 commit 3b46c47

27 files changed

+249
-262
lines changed

templates/account/blocks.tpl

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -30,19 +30,19 @@
3030
<!-- IF edit -->
3131
<!-- BEGIN edit -->
3232
<table class="table">
33-
<tr>
34-
<td>
35-
<a href="{config.relative_path}/uid/{../uid}">
36-
<!-- IF ../picture -->
37-
<img class="user-picture" component="user/picture" src="{../picture}" itemprop="image" />
38-
<!-- ELSE -->
39-
<div class="user-icon user-picture" component="user/picture" style="background-color: {../icon:bgColor};">{../icon:text}</div><!-- END -->{../username}
40-
</a>
41-
</td>
42-
<td>
43-
<button class="btn btn-sm btn-primary pull-right" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button>
44-
</td>
45-
</tr>
33+
<tr>
34+
<td>
35+
<a href="{config.relative_path}/uid/{../uid}">
36+
<!-- IF ../picture -->
37+
<img class="user-picture" component="user/picture" src="{../picture}" itemprop="image" />
38+
<!-- ELSE -->
39+
<div class="user-icon user-picture" component="user/picture" style="background-color: {../icon:bgColor};">{../icon:text}</div><!-- END -->{../username}
40+
</a>
41+
</td>
42+
<td>
43+
<button class="btn btn-sm btn-primary pull-right" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button>
44+
</td>
45+
</tr>
4646
</table>
4747
<!-- END -->
4848
<!-- END -->

templates/account/consent.tpl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,5 +70,6 @@
7070
</div>
7171
</div>
7272
</div>
73+
</div>
7374
</div>
7475
</div>

templates/account/edit.tpl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@
5858
<div class="card">
5959
<form class="form-horizontal" role="form">
6060
<div class="card-body card-padding">
61-
6261
<div class="form-group">
6362
<div class="fg-line">
6463
<label>[[user:fullname]]</label>
@@ -152,6 +151,5 @@
152151
</div>
153152
<!-- ENDIF sso.length -->
154153
</div>
155-
156154
</div>
157155
</div>

templates/account/info.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<div class="pull-right">
1818
<!-- IF !../current -->
1919
<!-- IF isSelfOrAdminOrGlobalModerator -->
20-
<button class="btn btn-xs btn-danger" type="button" data-action="revokeSession">Revoke Session</button>
20+
<button class="btn btn-xs btn-danger" type="button" data-action="revokeSession">Revoke Session</button>
2121
<!-- ENDIF isSelfOrAdminOrGlobalModerator -->
2222
<!-- ENDIF !../current -->
2323
{function.userAgentIcons}

templates/account/posts.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- IMPORT partials/account/header.tpl -->
55

66
<!-- IF !posts.length -->
7-
<div class="alert alert-warning">{noItemsFoundKey}</div>
7+
<div class="alert alert-warning">{noItemsFoundKey}</div>
88
<!-- ELSE -->
99
<div class="row">
1010
<div class="col-md-12">
@@ -19,7 +19,7 @@
1919
<!-- ENDIF !posts.length -->
2020

2121
<!-- IF config.usePagination -->
22-
<!-- IMPORT partials/paginator.tpl -->
22+
<!-- IMPORT partials/paginator.tpl -->
2323
<!-- ENDIF config.usePagination -->
24-
24+
2525
</div>

templates/account/profile.tpl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
</div>
5656
<div class="card-body card-padding">
5757
<div component="aboutme" class="text-center">
58-
{aboutme}
58+
{aboutme}
5959
</div>
6060
</div>
6161
</div>
@@ -72,13 +72,11 @@
7272
<!-- ENDIF !posts.length -->
7373
<!-- IMPORT partials/posts_list.tpl -->
7474
<!-- IF config.usePagination -->
75-
<!-- IMPORT partials/paginator.tpl -->
75+
<!-- IMPORT partials/paginator.tpl -->
7676
<!-- ENDIF config.usePagination -->
7777
</div>
78-
7978
</div>
8079
</div>
8180
<br/>
8281
<div id="user-action-alert" class="alert alert-success hide"></div>
83-
8482
</div>

templates/account/topics.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@
22

33
<div class="account user-topics">
44
<!-- IMPORT partials/account/header.tpl -->
5-
5+
66
<div class="card">
77
<div class="card-header ch-alt">
88
<i class="fa fa-fw fa-book"></i> {title}
99
</div>
1010
<div class="listview lv-bordered lv-lg">
1111
<!-- IF !topics.length -->
12-
<div class="alert alert-warning">{noItemsFoundKey}</div>
12+
<div class="alert alert-warning">{noItemsFoundKey}</div>
1313
<!-- ENDIF !topics.length -->
1414
<!-- IMPORT partials/topics_list.tpl -->
1515
</div>
1616
</div>
1717

1818
<!-- IF config.usePagination -->
19-
<!-- IMPORT partials/paginator.tpl -->
19+
<!-- IMPORT partials/paginator.tpl -->
2020
<!-- ENDIF config.usePagination -->
2121
</div>

templates/category.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<!-- IF privileges.topics:create -->
1111
<button id="new_topic" class="btn btn-primary">[[category:new_topic_button]]</button>
1212
<!-- ELSE -->
13-
<!-- IF !loggedIn -->
14-
<a href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
15-
<!-- ENDIF !loggedIn -->
13+
<!-- IF !loggedIn -->
14+
<a href="{config.relative_path}/login" class="btn btn-primary">[[category:guest-login-post]]</a>
15+
<!-- ENDIF !loggedIn -->
1616
<!-- ENDIF privileges.topics:create -->
1717

1818
<a href="{url}">
@@ -38,7 +38,7 @@
3838
</div>
3939
</div>
4040
<!-- IF config.usePagination -->
41-
<!-- IMPORT partials/paginator.tpl -->
41+
<!-- IMPORT partials/paginator.tpl -->
4242
<!-- ENDIF config.usePagination -->
4343
</div>
4444

templates/chat.tpl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@
5050
</div>
5151
<span component="chat/message/remaining">{maximumChatMessageLength}</span>
5252
</div>
53-
5453
</div>
5554
</div>
5655
</div>

templates/footer.tpl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
</div><!-- /.container#content -->
22

3-
<div class="hide">
4-
<!-- IMPORT 500-embed.tpl -->
5-
</div>
6-
73
<!-- IF !isSpider -->
84
<div class="topic-search hidden">
95
<div class="btn-group">

0 commit comments

Comments
 (0)