1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-15 15:42:51 +01:00
invoiceninja/resources/views/portal/ninja2020/generic/email_preferences.blade.php

44 lines
1.5 KiB
PHP
Raw Normal View History

2024-01-17 17:41:54 +01:00
@extends('portal.ninja2020.layout.clean') @section('meta_title',
ctrans('texts.preferences')) @section('body')
<div class="flex h-screen">
<div class="m-auto md:w-1/3 lg:w-1/5">
<div class="flex flex-col items-center">
<img
2024-01-19 03:45:24 +01:00
src="{{ $company->present()->logo() }}"
2024-01-17 17:41:54 +01:00
class="border-gray-100 h-18 pb-4"
2024-01-19 03:45:24 +01:00
alt="{{ $company->present()->name() }}"
2024-01-17 17:41:54 +01:00
/>
<h1 class="text-center text-2xl mt-10">
2024-01-19 15:20:23 +01:00
{{ ctrans('texts.email_preferences') }}
2024-01-17 17:41:54 +01:00
</h1>
2024-01-19 15:20:23 +01:00
<form class="my-4 flex flex-col items-center text-center" method="post">
@csrf @method('put')
@if($receive_emails)
<p>{{ ctrans('texts.subscribe_help') }}</p>
<button
name="action"
value="unsubscribe"
class="button button-secondary mt-4"
>
{{ ctrans('texts.unsubscribe') }}
</button>
@else
<p>{{ ctrans('texts.unsubscribe_help') }}</p>
2024-01-17 17:41:54 +01:00
2024-01-19 15:20:23 +01:00
<button
name="action"
value="subscribe"
class="button button-secondary mt-4"
>
{{ ctrans('texts.subscribe') }}
2024-01-17 17:41:54 +01:00
</button>
2024-01-19 15:20:23 +01:00
@endif
2024-01-17 17:41:54 +01:00
</form>
</div>
</div>
</div>
@stop