forked from mirror/pixelfed
Update contact view
This commit is contained in:
parent
fbf483366c
commit
427c4320c8
1 changed files with 9 additions and 5 deletions
|
@ -9,10 +9,14 @@
|
||||||
<section>
|
<section>
|
||||||
@auth
|
@auth
|
||||||
<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')}} or using the form below.
|
You can contact the admins by sending an email to <span class="font-weight-bold">{{config('instance.email')}}</span> or by using the form below.
|
||||||
@else
|
@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>.
|
||||||
|
@elseif(!config('instance.email') && config('instance.contact.enabled'))
|
||||||
You can contact the admins by using the form below.
|
You can contact the admins by using the form below.
|
||||||
|
@else
|
||||||
|
The admins have not set a contact email address.
|
||||||
@endif
|
@endif
|
||||||
</p>
|
</p>
|
||||||
@if(config('instance.contact.enabled'))
|
@if(config('instance.contact.enabled'))
|
||||||
|
@ -34,8 +38,8 @@
|
||||||
<p class="lead">
|
<p class="lead">
|
||||||
@if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true)
|
@if(filter_var(config('instance.email'), FILTER_VALIDATE_EMAIL) == true)
|
||||||
You can contact the admins by sending an email to {{config('instance.email')}}.
|
You can contact the admins by sending an email to {{config('instance.email')}}.
|
||||||
@else
|
@elseif (config('instance.contact.enabled'))
|
||||||
The admins have not listed any public email. Please log in to send a message.
|
The admins have not set a contact email address. Please log in to send a message.
|
||||||
@endif
|
@endif
|
||||||
</p>
|
</p>
|
||||||
@endauth
|
@endauth
|
||||||
|
|
Loading…
Reference in a new issue