Skip to content

Commit 84e7d87

Browse files
committed
View page: Move Ported update button next to select
Avoids display of an otherwise empty line. The button only applies to the select anyway.
1 parent 4f2fba6 commit 84e7d87

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Source/pages/view.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@
102102
<option value="<?php echo string_attribute( $t_branch ) ?>" <?php echo check_selected( $t_branch, $t_changeset->ported ) ?>><?php echo string_display_line( $t_branch ) ?></option>
103103
<?php } ?>
104104
</select>
105+
<input type="submit" value="<?php echo plugin_lang_get( 'update' ) ?>"/>
105106
<?php } else {
106107
echo $t_changeset->ported == "0" ? plugin_lang_get( 'na' ) : $t_changeset->ported == "" ? plugin_lang_get( 'pending' ) : string_display_line( $t_changeset->ported );
107108
} ?>
@@ -110,10 +111,6 @@
110111
</tr>
111112

112113
<?php if ( $t_update_form ) { ?>
113-
<tr>
114-
<td colspan="<?php echo $t_columns-1 ?>"></td>
115-
<td class="center"><input type="submit" value="<?php echo plugin_lang_get( 'update' ) ?>"/></td>
116-
</tr>
117114
</form>
118115
<?php } ?>
119116

0 commit comments

Comments
 (0)