Skip to content

Commit 09b0294

Browse files
committed
Whitespace, break long line
1 parent 60e87d4 commit 09b0294

File tree

1 file changed

+14
-6
lines changed

1 file changed

+14
-6
lines changed

Source/pages/view.php

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757

5858
<div class="col-md-12 col-xs-12">
5959
<div class="space-10"></div>
60-
60+
6161
<?php if ( $t_update_form ) { ?>
6262
<form action="<?php echo plugin_page( 'update' ) ?>" method="post">
6363
<input type="hidden" name="id" value="<?php echo $t_changeset->id ?>"/>
@@ -83,7 +83,7 @@
8383
<a class="btn btn-xs btn-primary btn-white btn-round" href="<?php echo plugin_page( 'list' ) . '&id=' . $t_repo->id . '&offset=' . $f_offset ?>">
8484
<?php echo plugin_lang_get( 'back_repo' ) ?>
8585
</a>
86-
</div>
86+
</div>
8787

8888
<table class="table table-striped table-bordered table-condensed">
8989
<tbody>
@@ -152,7 +152,7 @@
152152
$t_bug_row['project_id']
153153
);
154154

155-
echo ( $t_first ? '' : '<tr>' );
155+
echo ( $t_first ? '' : "<tr>\n" );
156156
?>
157157
<td colspan="<?php echo $t_columns-( $t_can_update ? 2 : 1 ) ?>"><?php
158158
# Status color box with tooltip
@@ -165,8 +165,15 @@
165165
string_display_line( $t_bug_row['summary'] ) ?>
166166
</td>
167167
<?php if ( $t_can_update ) { ?>
168-
<td class="center">
169-
<?php print_small_button( plugin_page( 'detach' ) . '&id=' . $t_changeset->id . '&bug_id=' . $t_bug_id . form_security_param( 'plugin_Source_detach' ), plugin_lang_get( 'detach' ) ) ?>
168+
<td class="center"><?php
169+
print_small_button(
170+
plugin_page( 'detach' )
171+
. '&id=' . $t_changeset->id
172+
. '&bug_id=' . $t_bug_id
173+
. form_security_param( 'plugin_Source_detach' ),
174+
plugin_lang_get( 'detach' )
175+
) ?>
176+
</td>
170177
<?php } ?>
171178
</tr>
172179

@@ -185,7 +192,8 @@
185192
<input type="text" class="input-sm" name="bug_ids" size="15"/>
186193
<input type="submit" class="btn btn-sm btn-primary btn-white btn-round" value="<?php echo plugin_lang_get( 'attach' ) ?>"/>
187194
</form>
188-
</td></tr>
195+
</td>
196+
</tr>
189197
<?php } ?>
190198

191199
<tr class="spacer" />

0 commit comments

Comments
 (0)