Tidy up admin cp article related views
This commit is contained in:
parent
abeb5c68f7
commit
7c11b08feb
10 changed files with 14 additions and 14 deletions
14
resources/views/admin/articles/list.blade.php
Normal file
14
resources/views/admin/articles/list.blade.php
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue