diff options
author | lukehamburg <luke.hamburg@gmail.com> | 2016-07-15 23:21:33 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-07-17 23:48:45 -0500 |
commit | e712a1aaba4c3eb900f5c81667ea8c75b77cdb8a (patch) | |
tree | 48bdce529aa1139ca62065daa07f309c107275c1 | |
parent | 178462f9787a7c73a5bca4192e3077093b2c94dd (diff) | |
download | FreeBSD-ports-e712a1aaba4c3eb900f5c81667ea8c75b77cdb8a.zip FreeBSD-ports-e712a1aaba4c3eb900f5c81667ea8c75b77cdb8a.tar.gz |
Small cosmetic patch to System Patches list view
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.
-rw-r--r-- | sysutils/pfSense-pkg-System_Patches/files/usr/local/www/system_patches.php | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/sysutils/pfSense-pkg-System_Patches/files/usr/local/www/system_patches.php b/sysutils/pfSense-pkg-System_Patches/files/usr/local/www/system_patches.php index f11e458..cea22f7 100644 --- a/sysutils/pfSense-pkg-System_Patches/files/usr/local/www/system_patches.php +++ b/sysutils/pfSense-pkg-System_Patches/files/usr/local/www/system_patches.php @@ -180,8 +180,7 @@ if ($savemsg) { <thead> <tr> <th width="5%"> </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> @@ -212,15 +211,6 @@ foreach ($a_patches as $thispatch): <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?>&act=fetch" class="btn btn-sm btn-primary"><i class="fa fa-download"></i> <?=gettext("Fetch"); ?></a> |