summaryrefslogtreecommitdiff
path: root/app/views/index
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-13 23:34:30 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-13 23:34:30 +0100
commit6fe1e1bad0c0164e187ce4c560c2f35bafdff9a5 (patch)
tree9d5211cdd786094fc2cda8a0b251f653581b168a /app/views/index
parent803cd05a58c93b91dc73db32fd95cc11372aa82f (diff)
Ajout d'un bouton pour effacer les logs
https://github.com/marienfressinaud/FreshRSS/issues/242
Diffstat (limited to 'app/views/index')
-rw-r--r--app/views/index/logs.phtml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/index/logs.phtml b/app/views/index/logs.phtml
index 09f0c4ecd..71a55a1b7 100644
--- a/app/views/index/logs.phtml
+++ b/app/views/index/logs.phtml
@@ -2,6 +2,10 @@
<a href="<?php echo _url ('index', 'index'); ?>"><?php echo Translate::t ('back_to_rss_feeds'); ?></a>
<h1><?php echo Translate::t ('logs'); ?></h1>
+ <form method="post" action="<?php echo _url ('index', 'logs'); ?>"><p>
+ <input type="hidden" name="clearLogs" />
+ <button type="submit" class="btn"><?php echo Translate::t ('clear_logs'); ?></button>
+ </p></form>
<?php $items = $this->logsPaginator->items (); ?>