13 lines
315 B
Python
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)]
|