cmsmanage/rentals/dashboard.py
2024-02-06 00:42:14 -05:00

13 lines
315 B
Python

from django.urls import reverse
import dashboard
from dashboard import Link
@dashboard.register
class RentalsDashboardFragment(dashboard.LinksCardDashboardFragment):
name = "Rentals"
template = "dashboard/links_card.dj.html"
links = [Link("Locker Index", reverse("rentals:index"), permission=None)]