Tidy up admin cp article related views

This commit is contained in:
Jonny Barnes 2017-03-02 18:15:44 +00:00
parent abeb5c68f7
commit 7c11b08feb
10 changed files with 14 additions and 14 deletions

View file

@ -0,0 +1,14 @@
@extends('master')
@section('title')
List Articles « Admin CP
@stop
@section('content')
<p>Select article to edit:</p>
<ol reversed>
@foreach($posts as $post)
<li><a href="/admin/blog/edit/{{ $post['id'] }}">{{ $post['title'] }}</a>@if($post['published'] == '0')<span class="notpublished">not published</span>@endif <a href="/admin/blog/delete/{{ $post['id'] }}">Delete?</a>
@endforeach
</ol>
@stop