Browse Source

Update user-draft.html.php , Let tag list look like tag/label

Let tag list look like tag/label
pull/689/head
Huang95 1 year ago
committed by GitHub
parent
commit
03272cb4c2
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      system/admin/views/user-draft.html.php

+ 2
- 2
system/admin/views/user-draft.html.php View File

@ -20,7 +20,7 @@
<td><?php echo $p->title ?></td>
<td><?php echo format_date($p->date) ?></td>
<td><a href="<?php echo str_replace('category', 'admin/categories', $p->categoryUrl); ?>"><?php echo strip_tags($p->category);?></a></td>
<td><?php echo $p->tag ?></td>
<td><?php echo str_replace('rel="tag"', 'rel="tag" class="badge badge-light text-primary font-weight-normal"', $p->tag); ?></td>
<td><a class="btn btn-primary btn-xs" href="<?php echo $p->url ?>/edit?destination=admin/draft"><?php echo i18n('Edit');?></a> <a class="btn btn-danger btn-xs" href="<?php echo $p->url ?>/delete?destination=admin/draft"><?php echo i18n('Delete');?></a></td>
</tr>
<?php endforeach; ?>
@ -90,4 +90,4 @@
</tr>
<?php endforeach; ?>
</table>
<?php endif;?>
<?php endif;?>

Loading…
Cancel
Save