summaryrefslogtreecommitdiffstats
path: root/web/template/account_details.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/template/account_details.php')
-rw-r--r--web/template/account_details.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/template/account_details.php b/web/template/account_details.php
index 024bd9c3..fa6b528c 100644
--- a/web/template/account_details.php
+++ b/web/template/account_details.php
@@ -82,6 +82,9 @@
<?php if (can_edit_account($row)): ?>
<li><a href="<?= get_user_uri($row['Username']); ?>edit"><?= __("Edit this user's account") ?></a></li>
<?php endif; ?>
+ <?php if (has_credential(CRED_ACCOUNT_LIST_COMMENTS)): ?>
+ <li><a href="<?= get_user_uri($row['Username']); ?>comments"><?= __("List this user's comments") ?></a></li>
+ <?php endif; ?>
</ul></td>
</tr>
</table>