diff options
Diffstat (limited to 'app/views/configure/feed.phtml')
| -rw-r--r-- | app/views/configure/feed.phtml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/configure/feed.phtml b/app/views/configure/feed.phtml index 33483f72d..ec2ff3bdb 100644 --- a/app/views/configure/feed.phtml +++ b/app/views/configure/feed.phtml @@ -7,9 +7,19 @@ <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"> + <label class="group-name" for="name"><?php echo Translate::t ('title'); ?></label> + <div class="group-controls"> + <input type="text" name="name" id="name" value="<?php echo $this->flux->name () ; ?>" /> + </div> + </div> + <div class="form-group"> <label class="group-name"><?php echo Translate::t ('website_url'); ?></label> <div class="group-controls"> <span class="control"><a target="_blank" href="<?php echo $this->flux->website (); ?>"><?php echo $this->flux->website (); ?></a></span> @@ -22,6 +32,14 @@ </div> </div> <div class="form-group"> + <label class="group-name"></label> + <div class="group-controls"> + <a class="btn" href="<?php echo _url ('feed', 'actualize', 'id', $this->flux->id ()); ?>"> + <i class="icon i_refresh"></i> <?php echo Translate::t('actualize'); ?> + </a> + </div> + </div> + <div class="form-group"> <label class="group-name"><?php echo Translate::t ('number_articles'); ?></label> <div class="group-controls"> <span class="control"><?php echo $this->flux->nbEntries (); ?></span> |
