<div class="splash-image" id="updatePasswordSplash">
    <img src="{{ url('/') }}/public/images/notifications.png" alt="404 - Not found" />
</div>
<div class="splash-text">
    {{ cleanLang(__('lang.notify_me_about_these_events')) }}
</div>
<div class="splash-subtext">
    {{ cleanLang(__('lang.events_such_as')) }}
</div>

<!--notifications_new_assignement-->
@if(auth()->user()->is_team)
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.new_assignment')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_new_assignement" data-allow-clear="false"
            name="notifications_new_assignement">
            <option value="yes" {{ runtimePreselected('yes', auth()->user()->notifications_new_assignement) }}>
                {{ cleanLang(__('lang.notification_only')) }}</option>
            <option value="yes_email" {{ runtimePreselected('yes_email', auth()->user()->notifications_new_assignement) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_new_assignement) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>
@endif


<!--notifications_billing_activity-->
@if(auth()->user()->is_team)
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.billing')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_billing_activity" data-allow-clear="false"
            name="notifications_billing_activity">
            <option value="yes" {{ runtimePreselected('yes', auth()->user()->notifications_billing_activity) }}>
                {{ cleanLang(__('lang.notification_only')) }}</option>
            <option value="yes_email" {{ runtimePreselected('yes_email', auth()->user()->notifications_billing_activity) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_billing_activity) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>
@endif


<!--notifications_new_project-->
@if(auth()->user()->is_client)
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.new_project')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_new_project" data-allow-clear="false"
            name="notifications_new_project">
            <option value="yes_email"
                {{ runtimePreselected('yes_email', auth()->user()->notifications_new_project) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_new_project) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>
@endif

<!--notifications_projects_activity-->
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.projects')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_projects_activity" data-allow-clear="false"
            name="notifications_projects_activity">
            <option value="yes" {{ runtimePreselected('yes', auth()->user()->notifications_projects_activity) }}>
                {{ cleanLang(__('lang.notification_only')) }}</option>
            <option value="yes_email"
                {{ runtimePreselected('yes_email', auth()->user()->notifications_projects_activity) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_projects_activity) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>

<!--notifications_leads_activity-->
@if(auth()->user()->is_team)
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.leads')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_leads_activity" data-allow-clear="false"
            name="notifications_leads_activity">
            <option value="yes" {{ runtimePreselected('yes', auth()->user()->notifications_leads_activity) }}>
                {{ cleanLang(__('lang.notification_only')) }}</option>
            <option value="yes_email"
                {{ runtimePreselected('yes_email', auth()->user()->notifications_leads_activity) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_leads_activity) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>
@endif

<!--notifications_tasks_activity-->
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.tasks')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_tasks_activity" data-allow-clear="false"
            name="notifications_tasks_activity">
            <option value="yes" {{ runtimePreselected('yes', auth()->user()->notifications_tasks_activity) }}>
                {{ cleanLang(__('lang.notification_only')) }}</option>
            <option value="yes_email"
                {{ runtimePreselected('yes_email', auth()->user()->notifications_tasks_activity) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_tasks_activity) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>

<!--notifications_tickets_activity-->
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.support_tickets')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_tickets_activity" data-allow-clear="false"
            name="notifications_tickets_activity">
            <option value="yes" {{ runtimePreselected('yes', auth()->user()->notifications_tickets_activity) }}>
                {{ cleanLang(__('lang.notification_only')) }}</option>
            <option value="yes_email"
                {{ runtimePreselected('yes_email', auth()->user()->notifications_tickets_activity) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_tickets_activity) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>

<!--notifications_reminders-->
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">@lang('lang.reminders')</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_reminders" data-allow-clear="false"
            name="notifications_reminders">
            <option value="email"
                {{ runtimePreselected('email', auth()->user()->notifications_reminders) }}>
                {{ cleanLang(__('lang.email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_reminders) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>


<!--notifications_system-->
<div class="form-group form-group-checkbox row">
    <label class="col-7 col-form-label text-left">{{ cleanLang(__('lang.system_notifications')) }}</label>
    <div class="col-5 text-right p-t-5">
        <select class="select2-basic form-control form-control-sm text-left" id="notifications_system" data-allow-clear="false"
            name="notifications_system">
            <option value="yes" {{ runtimePreselected('yes', auth()->user()->notifications_system) }}>
                {{ cleanLang(__('lang.notification_only')) }}</option>
            <option value="yes_email"
                {{ runtimePreselected('yes_email', auth()->user()->notifications_system) }}>
                {{ cleanLang(__('lang.notification_and_email')) }}</option>
            <option value="no" {{ runtimePreselected('no', auth()->user()->notifications_system) }}>
                {{ cleanLang(__('lang.nothing')) }}</option>
        </select>
    </div>
</div>