Revision 0a5fbe89
Added by Jim Pingle over 9 years ago
src/usr/local/www/pkg_mgr.php | ||
---|---|---|
133 | 133 |
$pkgtbl .= $index['desc']; |
134 | 134 |
|
135 | 135 |
if (is_array($index['deps']) && count($index['deps'])) { |
136 |
$pkgtbl .= '<br /><br />' . gettext("Package Dependencies") . ":<ul>\n";
|
|
136 |
$pkgtbl .= '<br /><br />' . gettext("Package Dependencies") . ":<br/>\n";
|
|
137 | 137 |
|
138 | 138 |
foreach ($index['deps'] as $pdep) { |
139 |
$pkgtbl .= '<a target="_blank" href="https://freshports.org/' . $pdep['origin'] . '" class="fa fa-globe"><small> ' . basename($pdep['origin']) . '-' . $pdep['version'] . '</small></a> ' . "\n";
|
|
139 |
$pkgtbl .= '<a target="_blank" href="https://freshports.org/' . $pdep['origin'] . '"> <i class="fa fa-paperclip"></i> ' . basename($pdep['origin']) . '-' . $pdep['version'] . '</a> ' . "\n";
|
|
140 | 140 |
} |
141 | 141 |
|
142 |
$pkgtbl .= '</ul>' . "\n";
|
|
142 |
$pkgtbl .= "\n"; |
|
143 | 143 |
} |
144 | 144 |
|
145 | 145 |
$pkgtbl .= '</td>' . "\n"; |
Also available in: Unified diff
Change dependency icon back to a paperclip (globe seems to imply more than intendend here), fix appearance of the text.
<ul> without <li> is invalid, remove. Also move the icon to a separate i tag, putting it in an a tag changed the font in an undesirable way.