Skip to content

Commit

Permalink
Rename templates to match audit classes and views
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Jun 21, 2024
1 parent 87fabaf commit 31ff6d0
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions primed/cdsa/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ def form_valid(self, form):
class AccessorAudit(AnVILConsortiumManagerStaffViewRequired, TemplateView):
"""View to show accessor audit results for `SignedAgreements`."""

template_name = "cdsa/signedagreement_accessor_audit.html"
template_name = "cdsa/accessor_audit.html"

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
Expand All @@ -791,7 +791,7 @@ def get_context_data(self, **kwargs):

class AccessorAuditResolve(AnVILConsortiumManagerStaffEditRequired, FormView):
form_class = Form
template_name = "cdsa/signedagreement_accessor_audit_resolve.html"
template_name = "cdsa/accessor_audit_resolve.html"
htmx_success = """<i class="bi bi-check-circle-fill"></i> Handled!"""
htmx_error = """<i class="bi bi-x-circle-fill"></i> Error!"""

Expand Down
File renamed without changes.

0 comments on commit 31ff6d0

Please sign in to comment.