summaryrefslogtreecommitdiffstats
path: root/core/templates/error.php
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2017-05-17 15:35:10 +0200
committerJan-Christoph Borchardt <hey@jancborchardt.net>2017-08-12 18:48:48 +0200
commit9f67fb86c8d508dbf127577994735b141c5b96e9 (patch)
tree00162504502c3a80bdb1e0c9b70ddb1e31f91803 /core/templates/error.php
parent6b5c6e580bf1025d9e506748bd5c38bd799011b5 (diff)
downloadnextcloud-server-9f67fb86c8d508dbf127577994735b141c5b96e9.tar.gz
nextcloud-server-9f67fb86c8d508dbf127577994735b141c5b96e9.zip
Improve design of various error messages
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'core/templates/error.php')
-rw-r--r--core/templates/error.php11
1 files changed, 7 insertions, 4 deletions
diff --git a/core/templates/error.php b/core/templates/error.php
index b5e8c8eab3f..929e8dd3984 100644
--- a/core/templates/error.php
+++ b/core/templates/error.php
@@ -1,10 +1,13 @@
-<ul class="error-wide">
+<div class="error">
+ <h2><?php p($l->t('Error')) ?></h2>
+ <ul>
<?php foreach($_["errors"] as $error):?>
- <li class='error'>
- <?php p($error['error']) ?><br>
+ <li>
+ <p><?php p($error['error']) ?></p>
<?php if(isset($error['hint']) && $error['hint']): ?>
<p class='hint'><?php p($error['hint']) ?></p>
<?php endif;?>
</li>
<?php endforeach ?>
-</ul>
+ </ul>
+</div>