mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Added dedicated link in backend services page.
This commit is contained in:
parent
ea55bc54f5
commit
9b5428a91d
3 changed files with 15 additions and 1 deletions
|
@ -555,6 +555,11 @@ body .form-horizontal .controls {
|
|||
border: none;
|
||||
}
|
||||
|
||||
#services-page .record-details h3 a {
|
||||
font-size: 24px;
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
/* BACKEND USERS PAGE
|
||||
-------------------------------------------------------------------- */
|
||||
#users-page h2 {
|
||||
|
|
|
@ -69,6 +69,15 @@
|
|||
}
|
||||
});
|
||||
|
||||
// Add dedicated provider link.
|
||||
var dedicatedUrl = GlobalVariables.baseUrl + '/index.php?service=' + encodeURIComponent(service.id);
|
||||
var linkHtml = '<a href="' + dedicatedUrl + '"><span class="glyphicon glyphicon-link"></span></a>';
|
||||
$('#services .record-details h3')
|
||||
.find('a')
|
||||
.remove()
|
||||
.end()
|
||||
.append(linkHtml);
|
||||
|
||||
instance.display(service);
|
||||
$('#filter-services .selected').removeClass('selected');
|
||||
$(this).addClass('selected');
|
||||
|
|
|
@ -393,7 +393,7 @@
|
|||
$('#provider-notifications').removeClass('active');
|
||||
}
|
||||
|
||||
// Add dedicated provider link.
|
||||
// Add dedicated provider link.
|
||||
var dedicatedUrl = GlobalVariables.baseUrl + '/index.php?provider=' + encodeURIComponent(provider.id);
|
||||
var linkHtml = '<a href="' + dedicatedUrl + '"><span class="glyphicon glyphicon-link"></span></a>';
|
||||
$('#providers .details-view h3')
|
||||
|
|
Loading…
Reference in a new issue