summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-26 17:53:00 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-08-26 17:53:00 +0200
commit845cde2456e1d367ca407d09b118471534d1af4e (patch)
treeeb5bc6596efdf18ecf6e6fb2edf1c2035dc34b8c
parent907f1b473a9f32e491d41c48c6813b168aebe306 (diff)
parent3c6ace51e09aa6d0db4067c4550db85ecd35c303 (diff)
Merge pull request #595 from aledeg/filter-cat
Add a link to filter categories
-rw-r--r--app/views/configure/categorize.phtml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/configure/categorize.phtml b/app/views/configure/categorize.phtml
index 9bae99b39..2f0e554ca 100644
--- a/app/views/configure/categorize.phtml
+++ b/app/views/configure/categorize.phtml
@@ -18,6 +18,9 @@
<input type="text" id="cat_<?php echo $cat->id (); ?>" name="categories[]" value="<?php echo $cat->name (); ?>" />
<?php if ($cat->nbFeed () > 0) { ?>
+ <a class="btn" href="<?php echo _url('index', 'index', 'get', 'c_' . $cat->id ()); ?>">
+ <?php echo _i('link'); ?>
+ </a>
<button type="submit" class="btn btn-attention confirm" formaction="<?php echo _url ('feed', 'delete', 'id', $cat->id (), 'type', 'category'); ?>"><?php echo Minz_Translate::t ('ask_empty'); ?></button>
<?php } ?>
</div>