mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 16:24:29 +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
|
||||
@else
|
||||
<p class="lead">
|
||||
@if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true)
|
||||
You can contact the admins by sending an email to {{config('instance.email')}}.
|
||||
@elseif (config('instance.contact.enabled'))
|
||||
@if(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> or log in to send a message.
|
||||
@elseif (!config('instance.email') && config('instance.contact.enabled'))
|
||||
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
|
||||
</p>
|
||||
@endauth
|
||||
|
|
Loading…
Reference in a new issue