Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
Delete unused incident row template and function
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Oct 23, 2024
1 parent 60dc4d6 commit 98b93d8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 29 deletions.
8 changes: 0 additions & 8 deletions src/argus_htmx/incidents/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,6 @@ class HtmxHttpRequest(HttpRequest):


# fetch with htmx
def incident_row(request, pk: int):
incident = get_object_or_404(Incident, d=pk)
context = {
"incident": incident,
}
return render(request, "htmx/incidents/_incident_row.html", context=context)


def incident_detail(request, pk: int):
incident = get_object_or_404(Incident, id=pk)
action_endpoints = {
Expand Down
21 changes: 0 additions & 21 deletions src/argus_htmx/templates/htmx/incidents/_incident_row.html

This file was deleted.

0 comments on commit 98b93d8

Please sign in to comment.