2023-04-14 01:24:36 -04:00
|
|
|
from django.urls import reverse
|
|
|
|
|
|
|
|
import dashboard
|
2024-02-06 00:41:01 -05:00
|
|
|
from dashboard import Link
|
2023-04-14 01:24:36 -04:00
|
|
|
|
|
|
|
|
|
|
|
@dashboard.register
|
2024-02-06 00:41:01 -05:00
|
|
|
class RentalsDashboardFragment(dashboard.LinksCardDashboardFragment):
|
2023-04-14 01:24:36 -04:00
|
|
|
name = "Rentals"
|
|
|
|
template = "dashboard/links_card.dj.html"
|
|
|
|
|
2024-02-06 00:41:01 -05:00
|
|
|
links = [Link("Locker Index", reverse("rentals:index"), permission=None)]
|