cmsmanage/rentals/dashboard.py

13 lines
315 B
Python
Raw Normal View History

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)]