mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 22:41:27 +00:00
Update contact view
This commit is contained in:
parent
8430a8419a
commit
fc12f1eba5
1 changed files with 5 additions and 3 deletions
|
@ -36,10 +36,12 @@
|
||||||
@endif
|
@endif
|
||||||
@else
|
@else
|
||||||
<p class="lead">
|
<p class="lead">
|
||||||
@if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true)
|
@if(config('instance.email') && config('instance.contact.enabled'))
|
||||||
You can contact the admins by sending an email to {{config('instance.email')}}.
|
You can contact the admins by sending an email to <span class="font-weight-bold">{{config('instance.email')}}</span> or log in to send a message.
|
||||||
@elseif (config('instance.contact.enabled'))
|
@elseif (!config('instance.email') && config('instance.contact.enabled'))
|
||||||
The admins have not set a contact email address. Please log in to send a message.
|
The admins have not set a contact email address. Please log in to send a message.
|
||||||
|
@elseif (config('instance.email') && !config('instance.contact.enabled'))
|
||||||
|
You can contact the admins by sending an email to <span class="font-weight-bold">{{config('instance.email')}}</span>.
|
||||||
@endif
|
@endif
|
||||||
</p>
|
</p>
|
||||||
@endauth
|
@endauth
|
||||||
|
|
Loading…
Reference in a new issue