Browse Source

Update category-list.html.php

pull/436/head
danpros 4 years ago
parent
commit
cddf8c9255
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      system/admin/views/category-list.html.php

+ 1
- 1
system/admin/views/category-list.html.php View File

@ -1,7 +1,7 @@
<h2 class="post-index"><?php echo $category->title ?></h2> <h2 class="post-index"><?php echo $category->title ?></h2>
<div><?php echo $category->body;?></div> <div><?php echo $category->body;?></div>
<br> <br>
<?php if ($category->url !== site_url() . 'category/uncategorized'):?><a class="btn btn-primary right" href="<?php echo $category->url;?>/edit">Edit category</a><?php endif;?>
<?php if ($category->url !== site_url() . 'category/uncategorized'):?><a class="btn btn-primary right" href="<?php echo $category->url;?>/edit?destination=admin/categories">Edit category</a><?php endif;?>
<br><br> <br><br>
<?php if (!empty($posts)) { ?> <?php if (!empty($posts)) { ?>
<table class="table post-list"> <table class="table post-list">


Loading…
Cancel
Save