From 41053f417ee3853b48aaf793c352b35bb1e05944 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 7 Feb 2019 12:12:13 -0700 Subject: [PATCH] Add admin hashtag views --- resources/views/admin/hashtags/home.blade.php | 43 +++++++++++++++++++ resources/views/admin/hashtags/show.blade.php | 0 2 files changed, 43 insertions(+) create mode 100644 resources/views/admin/hashtags/home.blade.php create mode 100644 resources/views/admin/hashtags/show.blade.php diff --git a/resources/views/admin/hashtags/home.blade.php b/resources/views/admin/hashtags/home.blade.php new file mode 100644 index 00000000..6fa2a1de --- /dev/null +++ b/resources/views/admin/hashtags/home.blade.php @@ -0,0 +1,43 @@ +@extends('admin.partial.template-full') + +@section('section') +
+

Hashtags

+
+
+ + + + + + + + + + + + + @foreach($hashtags as $tag) + + + + + + + + + @endforeach + +
#HashtagStatus CountNSFWBannedCreated
+ + {{$tag->id}} + + {{$tag->name}} + + {{$tag->posts()->count()}} + + {{$tag->is_nsfw ? 'true' : 'false'}}{{$tag->is_banned ? 'true' : 'false'}}{{$tag->created_at->diffForHumans()}}
+
+ {{$hashtags->links()}} +
+@endsection diff --git a/resources/views/admin/hashtags/show.blade.php b/resources/views/admin/hashtags/show.blade.php new file mode 100644 index 00000000..e69de29b