Update blade views

This commit is contained in:
Daniel Supernault 2022-08-15 23:52:40 -06:00
parent 1e72683a9e
commit 1b9e50f39b
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7
2 changed files with 4 additions and 1 deletions

View file

@ -37,7 +37,7 @@
</form> </form>
@endif @endif
@if(!$pages->contains('slug', '=', '/site/kb/community-guidelines')) @if(!$pages->contains('slug', '=', '/site/kb/community-guidelines'))
<form class="form-inline" method="post" action="/i/admin/settings/pages/create"> <form class="form-inline mr-1" method="post" action="/i/admin/settings/pages/create">
@csrf @csrf
<input type="hidden" name="page" value="community_guidelines"> <input type="hidden" name="page" value="community_guidelines">
<button type="submit" class="btn btn-default font-weight-bold">Customize Guidelines Page</button> <button type="submit" class="btn btn-default font-weight-bold">Customize Guidelines Page</button>

View file

@ -7,6 +7,9 @@
<a href="{{route('site.terms')}}" class="text-dark p-2">{{__('site.terms')}}</a> <a href="{{route('site.terms')}}" class="text-dark p-2">{{__('site.terms')}}</a>
<a href="{{route('site.privacy')}}" class="text-dark p-2">{{__('site.privacy')}}</a> <a href="{{route('site.privacy')}}" class="text-dark p-2">{{__('site.privacy')}}</a>
<a href="{{route('site.language')}}" class="text-dark p-2">{{__('site.language')}}</a> <a href="{{route('site.language')}}" class="text-dark p-2">{{__('site.language')}}</a>
@if(config_cache('instance.has_legal_notice'))
<a href="/site/legal-notice" class="text-dark p-2">Legal Notice</a>
@endif
</p> </p>
<p class="text-center text-muted small mb-0"> <p class="text-center text-muted small mb-0">
<span class="text-muted">© {{date('Y')}} {{config('pixelfed.domain.app')}}</span> <span class="text-muted">© {{date('Y')}} {{config('pixelfed.domain.app')}}</span>