Archived
1
0
Fork 0
This repository has been archived on 2024-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
SOD/views/admin/departments/index.pug

18 lines
686 B
Text

extends ../../layout
block content
div.card#departmentsManagement
h1=__("admin.departmentsManagement")
a.add(href="/admin/departments/add")
button=__("admin.add")
div
each department in departments
div.department
h2=department.name
div.buttons
a.edit(href="/admin/departments/edit?name="+department.name)
button=__("admin.edit")
a.remove(href="/admin/departments/delete?name="+department.name)
button=__("admin.remove")
script(src="/javascripts/admin/departments.js")