aboutsummaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-05-12 19:21:39 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-05-12 19:21:39 +0200
commit9e219cbf5014c8f4f52f3ca6722f7a20cdcc13dd (patch)
tree61ca24126a92471febcf945b439fc335978fcb2b /app/views
parentbf4552072418268470f81ba3883009da675800e4 (diff)
Fix issue #70 : lorsqu'on rencontre un problème avec un flux, on l'indique à l'utilisateur (couleur rouge)
Diffstat (limited to 'app/views')
-rw-r--r--app/views/configure/feed.phtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml
index 33483f72d..ad9c86d9e 100644
--- a/app/views/configure/feed.phtml
+++ b/app/views/configure/feed.phtml
@@ -7,6 +7,10 @@
<h1><?php echo $this->flux->name (); ?></h1>
<?php echo $this->flux->description (); ?>
+ <?php if ($this->flux->inError ()) { ?>
+ <p class="alert alert-error"><span class="alert-head"><?php echo Translate::t ('damn'); ?></span> <?php echo Translate::t ('feed_in_error'); ?></p>
+ <?php } ?>
+
<form method="post" action="<?php echo _url ('configure', 'feed', 'id', $this->flux->id ()); ?>">
<legend><?php echo Translate::t ('informations'); ?></legend>
<div class="form-group">