1
0
Fork 0
mirror of synced 2024-07-01 20:50:49 +12:00
appwrite/app/views/general/error.phtml

22 lines
707 B
PHTML
Raw Normal View History

2019-05-09 18:54:39 +12:00
<?php
$code = $this->getParam('code', 500);
$errorID = $this->getParam('errorID', 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
$message = $this->getParam('message', '');
$projectName = $this->getParam('projectName', '');
$projectURL = $this->getParam('projectURL', '');
?>
2020-04-09 01:15:04 +12:00
<section class="zone large margin-top padding">
2019-05-09 18:54:39 +12:00
<h1 class="margin-bottom">Error <?php echo $code; ?></h1>
<p><?php echo $message; ?></p>
<small>Error ID: <?php echo $errorID; ?></small>
2019-10-01 12:15:44 +13:00
<?php if (!empty($projectURL)): ?>
2019-05-09 18:54:39 +12:00
<hr class="margin-top margin-bottom" />
<p><a href="<?php echo $this->escape($projectURL); ?>" rel="noopener">Back to <?php echo $projectName; ?></a></p>
<?php endif; ?>
</section>