Improve the display of the booking link for services, providers and service-provider combinations.

This commit is contained in:
Alex Tselegidis 2022-01-24 22:37:05 +01:00
parent 42534ffcb3
commit 03010184f6
30 changed files with 61 additions and 8 deletions

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['copy'] = 'Copy';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -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['reset'] = 'Reset';
$lang['all'] = 'All';
$lang['booking_link'] = 'Booking Link';
// End

View file

@ -652,8 +652,10 @@ body .form-horizontal .controls {
}
#services-page .record-details h3 a {
font-size: 24px;
margin-left: 10px;
display: block;
margin: 1rem 0;
font-size: 1rem;
text-decoration: none;
}
/* BACKEND USERS PAGE
@ -767,12 +769,20 @@ body .form-horizontal .controls {
}
#providers-page #providers .record-details h3 a {
font-size: 24px;
margin-left: 10px;
display: block;
margin: 1rem 0;
font-size: 1rem;
text-decoration: none;
}
#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

View file

@ -395,9 +395,14 @@ App.Pages.Providers = (function () {
let dedicatedUrl = App.Utils.Url.siteUrl('?provider=' + encodeURIComponent(provider.id));
let $link = $('<a/>', {
'href': dedicatedUrl,
'target': '_blank',
'html': [
$('<i/>', {
'class': 'fas fa-link me-2'
}),
$('<span/>', {
'class': 'fas fa-link'
'text': lang('booking_link')
})
]
});
@ -423,9 +428,14 @@ App.Pages.Providers = (function () {
$link = $('<a/>', {
'href': dedicatedUrl,
'target': '_blank',
'html': [
$('<i/>', {
'class': 'fas fa-link me-2'
}),
$('<span/>', {
'class': 'fas fa-link'
'text': lang('booking_link')
})
]
});

View file

@ -69,9 +69,14 @@ App.Pages.Services = (function () {
const $link = $('<a/>', {
'href': dedicatedUrl,
'target': '_blank',
'html': [
$('<i/>', {
'class': 'fas fa-link me-2'
}),
$('<span/>', {
'class': 'fas fa-link'
'text': lang('booking_link')
})
]
});