mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 02:39:10 -04:00
Update Message UI in Admin Dashboard
This commit is contained in:
@@ -36,6 +36,9 @@
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@if($n->files != [""] && isset($n->files))
|
||||
<span class="badge badge-pill badge-secondary">Fichier joint</span>
|
||||
@endif
|
||||
</div>
|
||||
@if($n->publish == 0) <span class="badge badge-warning float-right">Brouillon</span> @endif</p>
|
||||
</div>
|
||||
@@ -44,6 +47,11 @@
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
<div class="btn-group">
|
||||
@if(!isset($n->event_id))
|
||||
<a href="/news/{{$n->id}}" type="button" class="btn btn-secondary" target="_blank"><i class="fa fa-external-link-alt"></i> Afficher</a>
|
||||
@else
|
||||
<a href="/news/{{$n->event_id}}?type=msg" type="button" class="btn btn-secondary" target="_blank"><i class="fa fa-external-link-alt"></i> Afficher</a>
|
||||
@endif
|
||||
@if(\Auth::user()->p('news_edit') == 1 && !isset($n->event_id))
|
||||
<a href="/admin/news/edit/{{$n->id}}" type="button" class="btn btn-secondary"><i class="fa fa-cog"></i> Modifier</a>
|
||||
@else
|
||||
|
||||
Reference in New Issue
Block a user