Skip to content

Commit

Permalink
Small cosmetic patch to System Patches list view
Browse files Browse the repository at this point in the history
When viewing installed patchlist on 2.3+ the commit URLs are quite long and cause the main table to extend beyond the screen boundary. This looks weird. Seeing the commit URL on the list doesn't add too much as far as usability and it can be seen anyway if needed on the edit/detail page. So this patch removes it and I think the output looks much cleaner.
  • Loading branch information
luckman212 authored Jul 16, 2016
1 parent bedcc94 commit 75e486f
Showing 1 changed file with 1 addition and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@
<thead>
<tr>
<th width="5%">&nbsp;</th>
<th width="5%"><?=gettext("Description")?></th>
<th width="60%"><?=gettext("URL/ID")?></th>
<th width="65%"><?=gettext("Description")?></th>
<th width="5%"><?=gettext("Fetch")?></th>
<th width="5%"><?=gettext("Test")?></th>
<th width="5%"><?=gettext("Apply")?></th>
Expand Down Expand Up @@ -212,15 +211,6 @@
<td id="frd<?=$i?>" onclick="fr_toggle(<?=$i?>)">
<?=$thispatch['descr']?>
</td>
<td id="frd<?=$i?>">
<?php
if (!empty($thispatch['location'])) {
echo $thispatch['location'];
} elseif (!empty($thispatch['patch'])) {
echo gettext("Saved Patch");
}
?>
</td>
<td id="frd<?=$i?>" onclick="fr_toggle(<?=$i?>)">
<?php if (empty($thispatch['patch'])): ?>
<a href="system_patches.php?id=<?=$i?>&amp;act=fetch" class="btn btn-sm btn-primary"><i class="fa fa-download"></i> <?=gettext("Fetch"); ?></a>
Expand Down

0 comments on commit 75e486f

Please sign in to comment.