App employés/clients
This commit is contained in:
@@ -44,6 +44,18 @@ function injectActorDirectoryMissionPackButton(app, element) {
|
||||
void game.system.donjonEtCie.macros.openMissionPackDialog();
|
||||
});
|
||||
headerActions.append(button);
|
||||
|
||||
// Bouton "Employés / Clients"
|
||||
const empButton = document.createElement("button");
|
||||
empButton.type = "button";
|
||||
empButton.className = "dnc-employes-button";
|
||||
empButton.title = game.i18n.localize("DNC.Dialog.EmployeesTitle");
|
||||
empButton.setAttribute("aria-label", game.i18n.localize("DNC.Dialog.EmployeesTitle"));
|
||||
empButton.innerHTML = `<i class="fa-solid fa-hard-hat" inert></i><span>${game.i18n.localize("DNC.Dialog.EmployeesTitle")}</span>`;
|
||||
empButton.addEventListener("click", () => {
|
||||
void DonjonEtCieEmployesDialog.open();
|
||||
});
|
||||
headerActions.append(empButton);
|
||||
}
|
||||
|
||||
function onChatActionClick(event) {
|
||||
|
||||
Reference in New Issue
Block a user