Link delete and report icons
This commit is contained in:
parent
84e96e2497
commit
d2506a587d
1 changed files with 2 additions and 0 deletions
|
|
@ -34,6 +34,8 @@ class lgAdmin {
|
|||
onAfterSlide(event) {
|
||||
const photoId = this.core.galleryItems[event.detail.index].slideName;
|
||||
document.getElementById("lg-admin").href = `https://photos.crans.org/admin/photologue/photo/${photoId}/change/`;
|
||||
document.getElementById("lg-delete").href = `https://photos.crans.org/admin/photologue/photo/${photoId}/delete/`;
|
||||
document.getElementById("lg-report").href = `mailto:photos@crans.org?subject=[ABUS] Photo ${photoId}&body=${encodeURIComponent(window.location.href)}`;
|
||||
}
|
||||
|
||||
// Plugins must have destroy prototype
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue