Explorar el Código

Merge pull request #595 from aledeg/filter-cat

Add a link to filter categories
Alexandre Alapetite hace 11 años
padre
commit
845cde2456
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      app/views/configure/categorize.phtml

+ 3 - 0
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>