summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlukehamburg <luke.hamburg@gmail.com>2016-07-15 23:21:33 -0400
committerChris Buechler <cmb@pfsense.org>2016-07-17 23:48:45 -0500
commite712a1aaba4c3eb900f5c81667ea8c75b77cdb8a (patch)
tree48bdce529aa1139ca62065daa07f309c107275c1
parent178462f9787a7c73a5bca4192e3077093b2c94dd (diff)
downloadFreeBSD-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.php12
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%">&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>
@@ -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?>&amp;act=fetch" class="btn btn-sm btn-primary"><i class="fa fa-download"></i> <?=gettext("Fetch"); ?></a>
OpenPOWER on IntegriCloud