Skip to content

Commit

Permalink
Update files from Jelix
Browse files Browse the repository at this point in the history
  • Loading branch information
Gustry committed Dec 13, 2023
1 parent 659c89e commit 2cd27c5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lizmap/www/assets/jelix/js/jacl2db_admin.js
Original file line number Diff line number Diff line change
Expand Up @@ -494,6 +494,12 @@ $("document").ready( function () {
if (type === 'display') {
let content = tplUserLinks.cloneNode(true);
$(content).find('.user-rights-link').attr('href', data.rights);
if (data.profile) {
$(content).find('.user-profile-link').attr('href', data.profile);
}
else {
$(content).find('.user-profile-link').remove();
}

let div = document.createElement("div");
div.appendChild(content);
Expand Down

0 comments on commit 2cd27c5

Please sign in to comment.