Improve the display of the booking link for services, providers and service-provider combinations.
This commit is contained in:
parent
42534ffcb3
commit
03010184f6
30 changed files with 61 additions and 8 deletions
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,6 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['copy'] = 'Copy';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -360,4 +360,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -361,4 +361,5 @@ $lang['private'] = 'Private';
|
||||||
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
$lang['private_hint'] = 'Private records will not be displayed or processed in public pages such as the booking page.';
|
||||||
$lang['reset'] = 'Reset';
|
$lang['reset'] = 'Reset';
|
||||||
$lang['all'] = 'All';
|
$lang['all'] = 'All';
|
||||||
|
$lang['booking_link'] = 'Booking Link';
|
||||||
// End
|
// End
|
||||||
|
|
|
@ -652,8 +652,10 @@ body .form-horizontal .controls {
|
||||||
}
|
}
|
||||||
|
|
||||||
#services-page .record-details h3 a {
|
#services-page .record-details h3 a {
|
||||||
font-size: 24px;
|
display: block;
|
||||||
margin-left: 10px;
|
margin: 1rem 0;
|
||||||
|
font-size: 1rem;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BACKEND USERS PAGE
|
/* BACKEND USERS PAGE
|
||||||
|
@ -767,12 +769,20 @@ body .form-horizontal .controls {
|
||||||
}
|
}
|
||||||
|
|
||||||
#providers-page #providers .record-details h3 a {
|
#providers-page #providers .record-details h3 a {
|
||||||
font-size: 24px;
|
display: block;
|
||||||
margin-left: 10px;
|
margin: 1rem 0;
|
||||||
|
font-size: 1rem;
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
#providers-page #providers .record-details #provider-services .checkbox a {
|
#providers-page #providers .record-details #provider-services .checkbox a {
|
||||||
margin-left: 5px;
|
display: block;
|
||||||
|
text-decoration: none;
|
||||||
|
text-transform: uppercase;
|
||||||
|
font-size: 75%;
|
||||||
|
margin-top: 5px;
|
||||||
|
margin-left: -20px;
|
||||||
|
margin-bottom: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BACKEND SETTINGS PAGE
|
/* BACKEND SETTINGS PAGE
|
||||||
|
|
|
@ -395,9 +395,14 @@ App.Pages.Providers = (function () {
|
||||||
let dedicatedUrl = App.Utils.Url.siteUrl('?provider=' + encodeURIComponent(provider.id));
|
let dedicatedUrl = App.Utils.Url.siteUrl('?provider=' + encodeURIComponent(provider.id));
|
||||||
let $link = $('<a/>', {
|
let $link = $('<a/>', {
|
||||||
'href': dedicatedUrl,
|
'href': dedicatedUrl,
|
||||||
|
'target': '_blank',
|
||||||
'html': [
|
'html': [
|
||||||
|
$('<i/>', {
|
||||||
|
'class': 'fas fa-link me-2'
|
||||||
|
}),
|
||||||
|
|
||||||
$('<span/>', {
|
$('<span/>', {
|
||||||
'class': 'fas fa-link'
|
'text': lang('booking_link')
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
@ -423,9 +428,14 @@ App.Pages.Providers = (function () {
|
||||||
|
|
||||||
$link = $('<a/>', {
|
$link = $('<a/>', {
|
||||||
'href': dedicatedUrl,
|
'href': dedicatedUrl,
|
||||||
|
'target': '_blank',
|
||||||
'html': [
|
'html': [
|
||||||
|
$('<i/>', {
|
||||||
|
'class': 'fas fa-link me-2'
|
||||||
|
}),
|
||||||
|
|
||||||
$('<span/>', {
|
$('<span/>', {
|
||||||
'class': 'fas fa-link'
|
'text': lang('booking_link')
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
|
@ -69,9 +69,14 @@ App.Pages.Services = (function () {
|
||||||
|
|
||||||
const $link = $('<a/>', {
|
const $link = $('<a/>', {
|
||||||
'href': dedicatedUrl,
|
'href': dedicatedUrl,
|
||||||
|
'target': '_blank',
|
||||||
'html': [
|
'html': [
|
||||||
|
$('<i/>', {
|
||||||
|
'class': 'fas fa-link me-2'
|
||||||
|
}),
|
||||||
|
|
||||||
$('<span/>', {
|
$('<span/>', {
|
||||||
'class': 'fas fa-link'
|
'text': lang('booking_link')
|
||||||
})
|
})
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue