diff options
author | Simon L. <szaimen@e.mail.de> | 2024-04-26 15:52:11 +0200 |
---|---|---|
committer | Simon L <szaimen@e.mail.de> | 2024-05-14 15:37:38 +0200 |
commit | 620d10c842b2fb06f750e9cd2dca29b5c9227b26 (patch) | |
tree | 66f664c71a189e2fae2da9b5dff34df3f2ef804d /core | |
parent | 177b13fd815aa8aab17e9037c09cc091bbc62aea (diff) | |
download | nextcloud-server-620d10c842b2fb06f750e9cd2dca29b5c9227b26.tar.gz nextcloud-server-620d10c842b2fb06f750e9cd2dca29b5c9227b26.zip |
feat(exception-template): allow to link to specific documentation for how to retreive server log
Signed-off-by: Simon L <szaimen@e.mail.de>
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/exception.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/templates/exception.php b/core/templates/exception.php index ee35510b26f..da64633c3c9 100644 --- a/core/templates/exception.php +++ b/core/templates/exception.php @@ -25,6 +25,9 @@ function print_exception(Throwable $e, \OCP\IL10N $l): void { <p><?php p($l->t('The server was unable to complete your request.')) ?></p> <p><?php p($l->t('If this happens again, please send the technical details below to the server administrator.')) ?></p> <p><?php p($l->t('More details can be found in the server log.')) ?></p> + <?php if (isset($_['serverLogsDocumentation']) && $_['serverLogsDocumentation'] !== ''): ?> + <p><a href="<?php print_unescaped($_['serverLogsDocumentation']) ?>" target="_blank" rel="noopener"><?php p($l->t('See this documentation how to retreive them.')) ?></a></p> + <?php endif; ?> <h3><?php p($l->t('Technical details')) ?></h3> <ul> |