Skip to content

Commit

Permalink
Add breadcrumbs
Browse files Browse the repository at this point in the history
  • Loading branch information
Rieven committed Jan 8, 2025
1 parent 48fa856 commit ea90b5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rocky/crisis_room/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
import structlog
from django.conf import settings
from django.http.request import HttpRequest
from django.urls import reverse
from django.views.generic import TemplateView
from pydantic import TypeAdapter
from reports.report_types.findings_report.report import SEVERITY_OPTIONS
Expand Down Expand Up @@ -138,6 +139,7 @@ def get_user_organizations(self) -> list[Organization]:

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["breadcrumbs"] = [{"url": reverse("crisis_room"), "text": "CRISIS ROOM"}]
context["organizations_dashboards"] = self.organizations_findings
context["organizations_findings_summary"] = self.organizations_findings_summary
return context

0 comments on commit ea90b5c

Please sign in to comment.