mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-12-22 22:52:35 +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');
|
||||
|
|
Loading…
Reference in a new issue