@if (!headerDetails) { } @if (headerDetails?.title) { @if (headerDetails?.title?.logoimage != null) { logo } @if (headerDetails?.title?.logoimage1 != null;) { logo } }
@if (headerDetails?.user?.email) {
  • @if (headerDetails?.unreadNotifications?.length == '0') { 0 } @else { {{ headerDetails?.unreadNotifications?.length }} }
    @if (headerDetails?.unreadNotifications?.length == '0') { {{'Mark all as read' | translate}} } @else { {{'Mark all as read' | translate}} }
    @if (headerDetails?.unreadNotifications?.length) { @for (notification of (headerDetails?.unreadNotifications ? headerDetails?.unreadNotifications.slice(0,2): []); track notification; let i = $index) { @if (notification?.data?.['reasonofinfo'] && notification?.data?.['reasonofinfo'] == 'adminreset2fa') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'Your two factor authentication details are removed by admin' | translate}}

    @if(notification?.created_at){
    {{ notification?.created_at | dateAgo : timezone }}
    }
    } @if (notification?.data?.['status'] == 'New') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'Your new ticket has been created' | translate}} {{ notification?.data?.['ticket_id'] }}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if (notification?.data?.['status'] == 'Closed') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'Your ticket has been closed' | translate}} {{ notification?.data?.['ticket_id'] }}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if (notification?.data?.['status'] == 'On-Hold') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'Your ticket status is On-Hold' | translate}} {{ notification?.data?.['ticket_id'] }}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if (notification?.data?.['status'] == 'Re-Open') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'Your ticket has been Reopened' | translate}} {{ notification?.data?.['ticket_id'] }}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if (notification?.data?.['status'] == 'Inprogress') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'You got a new reply on this ticket' | translate}} {{ notification?.data?.['ticket_id'] }}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if (notification?.data?.['status'] == 'overdue') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'Your ticket status is Overdue' | translate}} {{ notification?.data?.['ticket_id'] }}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if (notification?.data?.['status'] == 'Suspend') {
    {{ notification?.data?.['title'].slice(0,30) }}

    {{'Your ticket status is Suspend' | translate}} {{ notification?.data?.['ticket_id'] }}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if (notification?.data?.['status'] == 'mail') {
    {{notification?.data?.['mailsubject']}}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if((notification?.data['status'] == 'invoice') && (notification?.data['itemStatus'] == 'paid')) {
    {{'Invoice Marked as Paid.'| translate}}

    {{'A custom invoice marked as Paid'| translate}}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if(notification?.data['status'] === 'invoice' && notification?.data['itemStatus'] === 'pending'){
    {{'New custom invoice created.'| translate}}

    {{'A new custom invoice is created'| translate}}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if(['refundRejected'].includes(notification?.data['itemStatus'])){
    {{'Your refund request rejected.'| translate}}

    {{'Your refund request is rejected.'| translate}}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if(['refunded'].includes(notification?.data['itemStatus'])){
    {{'Your refund request is approved.'| translate}}

    {{'Your refund request has been approved.'| translate}}

    {{ notification?.created_at | dateAgo : timezone }}
    } @if(notification?.data['link'] === 'refunded'){
    {{'Your refund request approved.'| translate}}

    {{'Your refund request is approved.'| translate}}

    {{ notification?.created_at | dateAgo : timezone }}
    } } } @else {

    {{'There are no new notifications to display' | translate}}

    }
    {{'See All Notifications' | translate}}
  • {{DropDownName}}
    @for (data of languageDetails; track data) { {{data.languagename}} }
  • {{ headerDetails?.user?.username }}

    {{ headerDetails?.user?.email }}

    {{ "Dashboard" | translate }}
    {{ "Profile" | translate }}
    {{ "Tickets" | translate }}
}
    @if (headerDetails?.setting?.original?.defaultlogin_on == 'off') {
  • {{"Home" | translate}}
  • } @if (headerDetails?.setting?.original?.KNOWLEDGE_ENABLE == 'yes') {
  • {{ "Knowledge" | translate }}
  • } @if (headerDetails?.setting?.original?.FAQ_ENABLE == 'yes') {
  • {{ "FAQ’s" | translate }}
  • } @if (headerDetails?.setting?.original?.CONTACT_ENABLE == 'yes') {
  • {{ "Contact Us" | translate }}
  • } @if (headerDetails?.page) { @for (pages of headerDetails?.page; track pages) { @if ( pages?.status == '1' && (pages?.viewonpages == 'both' || pages?.viewonpages == 'header') ) {
  • {{ pages?.pagename }}
  • } } } @if (headerDetails?.user?.email) {
  • @if (notifications) { {{Notificationlength}} }
    {{'Mark all as read' | translate}}
    @if (Notificationlength == 0 ) {

    {{'There are no new notifications to display' | translate}}

    } @else { @for (notify of notifications; track notify) { @if (notify?.data?.reasonofinfo && notify.data.reasonofinfo === 'adminreset2fa' ) {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{ notify?.data?.['ticket_id'] }} {{'Your two factor authentication details are removed by admin.' | translate}}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if (notify?.data['ticketassign'] == 'yes') {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{ notify?.data?.['ticket_id'] }} {{'Ticket is assigned' | translate}}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if (notify?.data['status'] == 'New') {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{'A new ticket has been created' | translate}} {{ notify?.data?.['ticket_id'] }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if (notify?.data['status'] == 'Closed') {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{'This ticket has been closed' | translate}} {{ notify?.data?.['ticket_id'] }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if (notify?.data['status'] == 'On-Hold') {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{'This ticket status is On-Hold' | translate}} {{ notify?.data?.['ticket_id'] }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if (notify?.data['status'] == 'Re-Open') {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{'This ticket has been reopened' | translate}} {{ notify?.data?.['ticket_id'] }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if (notify?.data['status'] == 'Inprogress') { @if (notify?.data['overduestatus'] == 'Overdue') {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{'This ticket status is overdue' | translate}} {{ notify?.data?.['ticket_id'] }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else {
    {{ notify?.data?.['title'].slice(0,30) }}

    {{'You got a new reply on this ticket' | translate}} {{ notify?.data?.['ticket_id'] }}

    {{ notify?.created_at | dateAgo : timezone }}
    } } @else if (notify?.data['status'] == 'mail') {
    {{notify?.data['mailsubject']}}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if(notify?.data['status'] === 'invoice' && notify?.data['itemStatus'] === 'pending'){
    {{'New custom invoice created.' | translate }}

    {{'A new custom invoice is created' | translate }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if((notify?.data['status'] == 'invoice') && (notify?.data['itemStatus'] == 'paid')) {
    {{'Invoice Marked as Paid.' | translate }}

    {{'A custom invoice marked as Paid' | translate }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if(['refundRejected'].includes(notify?.data['itemStatus'])){
    {{'Your refund request rejected.' | translate }}

    {{'Your refund request is rejected.' | translate }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if(['refunded'].includes(notify?.data['itemStatus'])){
    {{'Your refund request is approved.' | translate }}

    {{'Your refund request has been approved.' | translate }}

    {{ notify?.created_at | dateAgo : timezone }}
    } @else if(notify?.data['link'] === 'refunded'){
    {{'Your refund request approved.' | translate }}

    {{'Your refund request is approved.' | translate }}

    {{ notify?.created_at | dateAgo : timezone }}
    } } }
    {{'See All Notifications' | translate}}
  • {{DropDownName}}
    @for (data of languageDetails; track data) { {{data.languagename}} }
  • {{currencySel}}
    @for (data of headerDetails?.currencies; track data) { {{data.code}} }
  • {{ headerDetails?.user?.username }}

    {{ headerDetails?.user?.email }}

    {{ "Dashboard" | translate }}
    {{ "Profile" | translate }}
    {{ "Tickets" | translate }}
  • } @else {
  • {{DropDownName}}
    @for (data of languageDetails; track data) { {{data.languagename}} }
  • {{currencySel}}
    @for (data of headerDetails?.currencies; track data) { {{data.code}} }
  • @if (headerDetails?.setting?.original?.REGISTER_POPUP == 'yes') {
  • {{ "Login" | translate }}
  • @if (headerDetails?.setting?.original?.REGISTER_DISABLE == 'on') {
  • {{ "Register" | translate }}
  • } } @else {
  • {{ "Login" | translate }}
  • @if (headerDetails?.setting?.original?.REGISTER_DISABLE == 'on') {
  • {{ "Register" | translate }}
  • } } @if (headerDetails?.setting?.original?.GUEST_TICKET == 'yes') {
  • {{ "Submit Ticket" | translate }}
  • } }
{{ "Login" | translate }}
@if (headerDetails?.socialAuthSettings?.envato_status == 'enable' || headerDetails?.socialAuthSettings?.google_status == 'enable' || headerDetails?.socialAuthSettings?.facebook_status == 'enable'|| headerDetails?.socialAuthSettings?.twitter_status == 'enable') {
@if (headerDetails?.socialAuthSettings?.envato_status == 'enable') { } @if (headerDetails?.socialAuthSettings?.google_status == 'enable') { } @if (headerDetails?.socialAuthSettings?.facebook_status == 'enable') { } @if (headerDetails?.socialAuthSettings?.twitter_status == 'enable') { } @if (headerDetails?.setting?.original?.only_social_logins != 'on') { Or }
}
@if (headerDetails?.setting?.original?.login_disable == 'on') {
{{headerDetails?.setting?.original?.login_disable_statement}}
} @if (headerDetails?.setting?.original?.only_social_logins != 'on') {
@if ((email.invalid && email.touched) || email.dirty) {
@if (email.errors?.['required']) { {{'Email address is required' | translate}} } @if (email.errors?.['pattern']) { {{'Please check Email Format' | translate}} }
}
@if ((pswd.invalid && pswd.touched) || pswd.dirty) {
@if (pswd.errors?.['required']) { {{'Password is required' | translate}} }
}
@if (headerDetails?.setting?.original?.CAPTCHATYPE == 'manual' && headerDetails?.setting?.original?.RECAPTCH_ENABLE_LOGIN == 'yes') {
@if (captchaMessage) { {{captchaMessage | translate}} }
} @if (headerDetails?.setting?.original?.CAPTCHATYPE == 'google' && headerDetails?.setting?.original?.RECAPTCH_ENABLE_LOGIN == 'yes') {
}
{{'Forgot Password?' | translate}} @if (headerDetails?.setting?.original?.REGISTER_DISABLE == 'on') {

{{'Don’t have account?' | translate}} {{'Register' | translate}}

}
}
{{ "Register" | translate }}
@if (headerDetails?.socialAuthSettings?.envato_status == 'enable' || headerDetails?.socialAuthSettings?.google_status == 'enable' || headerDetails?.socialAuthSettings?.facebook_status == 'enable'|| headerDetails?.socialAuthSettings?.twitter_status == 'enable') {
@if (headerDetails?.socialAuthSettings?.envato_status == 'enable') { } @if (headerDetails?.socialAuthSettings?.google_status == 'enable') { } @if (headerDetails?.socialAuthSettings?.facebook_status == 'enable') { } @if (headerDetails?.socialAuthSettings?.twitter_status == 'enable') { } Or
}
@if (headerDetails?.setting?.original?.REGISTER_DISABLE == 'off') {
{{headerDetails?.setting?.original?.login_disable_statement}}
}
@if ((firstname.invalid && firstname.touched) || firstname.dirty) {
@if (firstname.errors?.['required']) { {{'First Name is required' | translate}} }
}
@if ((lastaname.invalid && lastaname.touched) || lastaname.dirty) {
@if (lastaname.errors?.['required']) { {{'Last Name is required' | translate}} }
}
@if ((emailField.invalid && emailField.touched) || emailField.dirty) {
@if (emailField.errors?.['required']) { {{'Email address is required' | translate}} } @if (emailField.errors?.['pattern']) { {{'Please check Email Format' | translate}} }
}
@if ((pswdfield.invalid && pswdfield.touched) || pswdfield.dirty) {
@if (pswdfield.errors?.['required']) { {{'Password is required' | translate}} }
}
@if ((confPswd.invalid && confPswd.touched) || confPswd.dirty) {
@if (confPswd.errors?.['required']) { {{'Confirm Password is required' | translate}} }
}
@if (headerDetails?.customfields.length) { @for (customfield of headerDetails?.customfields; track customfield) { @if (customfield?.status == '1') {
@if (customfield.fieldtypes == 'text') { @if ((c_text.invalid && c_text.touched) || c_text.dirty) {
@if (c_text.errors?.['required']) { {{'Field is required' | translate}} }
} } @if (customfield.fieldtypes == 'email') { @if ((c_email.invalid && c_email.touched) || c_email.dirty) {
@if (c_email.errors?.['required']) { {{'Email address is required' | translate}} } @if (c_email.errors?.['pattern']) { {{'Please check Email Format' | translate}} }
} } @if (customfield.fieldtypes == 'textarea') { @if ((c_textarea.invalid && c_textarea.touched) || c_textarea.dirty) {
@if (c_textarea.errors?.['required']) { {{'Field is required' | translate}} }
} } @if (customfield.fieldtypes == 'select') { @for (seoption of customfield.fieldoptions?.split(','); track seoption) { {{seoption}} } @if ((c_select.invalid && c_select.touched) || c_select.dirty) {
@if (c_select.errors?.['required']) { {{'Field is required' | translate}} }
} } @if (customfield.fieldtypes == 'checkbox') { @for (coption of customfield.fieldoptions?.split(','); track coption) { } } @if (customfield.fieldtypes == 'radio') { @for (roption of customfield.fieldoptions?.split(','); track roption) { } }
} } }
@if (headerDetails?.setting?.original?.CAPTCHATYPE =='manual' && headerDetails?.setting?.original?.RECAPTCH_ENABLE_REGISTER =='yes') {
@if (captchaMessage) { {{captchaMessage | translate}} }
} @if (headerDetails?.setting?.original?.CAPTCHATYPE =='google' && headerDetails?.setting?.original?.RECAPTCH_ENABLE_REGISTER =='yes') {
}

{{'Already have an account?' | translate}} {{'Login' | translate}}

{{ "Forgot Password?" | translate }}
@if ((c_email.invalid && c_email.touched) || c_email.dirty) {
@if (c_email.errors?.['required']) { {{'Email address is required' | translate}} } @if (c_email.errors?.['pattern']) { {{'Please check Email Format' | translate}} }
}

{{'Already have an account?' | translate}}{{'Login' | translate}}