mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
Make url and pkgdesc fields optional
The url and pkgdesc PKGBUILD variables are optional, so they should be in the AUR as well. Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
5d9a80a546
commit
61cdf09cd0
4 changed files with 24 additions and 5 deletions
|
@ -189,11 +189,19 @@ $sources = pkg_sources($row["ID"]);
|
|||
</tr>
|
||||
<tr>
|
||||
<th><?= __('Description') . ': ' ?></th>
|
||||
<?php if (!empty($row['Description'])): ?>
|
||||
<td class="wrap"><?= htmlspecialchars($row['Description']); ?></td>
|
||||
<?php else: ?>
|
||||
<td class="wrap"><?= __('None') ?></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<tr>
|
||||
<th><?= __('Upstream URL') . ': ' ?></th>
|
||||
<?php if (!empty($row['URL'])): ?>
|
||||
<td><a href="<?= htmlspecialchars($row['URL'], ENT_QUOTES) ?>" title="<?= __('Visit the website for') . ' ' . htmlspecialchars( $row['Name'])?>"><?= htmlspecialchars($row['URL'], ENT_QUOTES) ?></a></td>
|
||||
<?php else: ?>
|
||||
<td class="wrap"><?= __('None') ?></td>
|
||||
<?php endif; ?>
|
||||
</tr>
|
||||
<?php
|
||||
if (has_credential(CRED_PKGBASE_SET_KEYWORDS, $maintainers) || count($keywords) > 0):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue