diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-14 09:56:40 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2015-06-14 17:58:56 +0200 |
commit | fb42ec696cac974ea87e9a24ba009b58a7fe2c13 (patch) | |
tree | d4bb647cee27e6db2eede6c9ee05346af927acb5 /web/template | |
parent | a2f79eb2e1ff74e7d2403bf194a52b41cc7f3c0c (diff) | |
download | aur-fb42ec696cac974ea87e9a24ba009b58a7fe2c13.tar.gz aur-fb42ec696cac974ea87e9a24ba009b58a7fe2c13.tar.xz |
Show co-maintainers next to maintainers in details
Implements FS#45313.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/template')
-rw-r--r-- | web/template/pkg_details.php | 3 | ||||
-rw-r--r-- | web/template/pkgbase_details.php | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/web/template/pkg_details.php b/web/template/pkg_details.php index 7b75210a..ae49e246 100644 --- a/web/template/pkg_details.php +++ b/web/template/pkg_details.php @@ -15,6 +15,7 @@ $keywords = pkgbase_get_keywords($base_id); $submitter = username_from_id($row["SubmitterUID"]); $maintainer = username_from_id($row["MaintainerUID"]); +$comaintainers = pkgbase_get_comaintainers($base_id); $packager = username_from_id($row["PackagerUID"]); $votes = $row['NumVotes']; @@ -293,7 +294,7 @@ if (has_credential(CRED_PKGBASE_SET_KEYWORDS, array($row["MaintainerUID"]))): </tr> <tr> <th><?= __('Maintainer') .': ' ?></th> - <td><?= html_format_username($maintainer) ?></td> + <td><?= html_format_maintainers($maintainer, $comaintainers) ?></td> </tr> <tr> <th><?= __('Last Packager') .': ' ?></th> diff --git a/web/template/pkgbase_details.php b/web/template/pkgbase_details.php index 2ceb35f0..fa24e121 100644 --- a/web/template/pkgbase_details.php +++ b/web/template/pkgbase_details.php @@ -14,6 +14,7 @@ $keywords = pkgbase_get_keywords($base_id); $submitter = username_from_id($row["SubmitterUID"]); $maintainer = username_from_id($row["MaintainerUID"]); +$comaintainers = pkgbase_get_comaintainers($base_id); $packager = username_from_id($row["PackagerUID"]); $votes = $row['NumVotes']; @@ -152,7 +153,7 @@ if (has_credential(CRED_PKGBASE_SET_KEYWORDS, array($row["MaintainerUID"]))): </tr> <tr> <th><?= __('Maintainer') .': ' ?></th> - <td><?= html_format_username($maintainer) ?></td> + <td><?= html_format_maintainers($maintainer, $comaintainers) ?></td> </tr> <tr> <th><?= __('Last Packager') .': ' ?></th> |