Skip to content

Commit

Permalink
Shorten template names to match audit classes
Browse files Browse the repository at this point in the history
  • Loading branch information
amstilp committed Jun 21, 2024
1 parent 31ff6d0 commit 8b3c369
Show file tree
Hide file tree
Showing 9 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion primed/cdsa/audit/signed_agreement_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ class SignedAgreementAccessAuditTable(tables.Table):
agreement_type = tables.Column(accessor="signed_agreement__combined_type")
agreement_version = tables.Column(accessor="signed_agreement__version")
note = tables.Column()
action = tables.TemplateColumn(template_name="cdsa/snippets/cdsa_signedagreement_audit_action_button.html")
action = tables.TemplateColumn(template_name="cdsa/snippets/signedagreement_audit_action_button.html")

class Meta:
attrs = {"class": "table align-middle"}
Expand Down
2 changes: 1 addition & 1 deletion primed/cdsa/audit/workspace_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ class WorkspaceAccessAuditTable(tables.Table):
data_affiliate_agreement = tables.Column(linkify=True)
agreement_version = tables.Column(accessor="data_affiliate_agreement__signed_agreement__version")
note = tables.Column()
action = tables.TemplateColumn(template_name="cdsa/snippets/cdsa_workspace_audit_action_button.html")
action = tables.TemplateColumn(template_name="cdsa/snippets/cdsaworkspace_audit_action_button.html")

class Meta:
attrs = {"class": "table align-middle"}
Expand Down
2 changes: 1 addition & 1 deletion primed/templates/cdsa/cdsaworkspace_audit.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ <h1>CDSA workspace audit</h1>

<h2>Audit results</h2>

{% include "cdsa/snippets/cdsa_workspace_audit_explanation.html" %}
{% include "cdsa/snippets/cdsaworkspace_audit_explanation.html" %}

{% include "__audit_tables.html" with verified_table=verified_table needs_action_table=needs_action_table errors_table=errors_table %}

Expand Down
2 changes: 1 addition & 1 deletion primed/templates/cdsa/cdsaworkspace_audit_resolve.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>CDSA workspace audit</h1>

<h2>Audit results</h2>

{% include "cdsa/snippets/cdsa_workspace_audit_explanation.html" %}
{% include "cdsa/snippets/cdsaworkspace_audit_explanation.html" %}

<div class="card container-fluid mt-3 mb-3">
<div class="card-body">
Expand Down
2 changes: 1 addition & 1 deletion primed/templates/cdsa/signedagreement_audit_resolve.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ <h1>Signed Agreement audit</h1>

<h2>Audit results for SignedAgreement {{ object }}</h2>

{% include 'snippets/cdsa_signedagreement_audit_explanation.html' %}
{% include 'cdsa/snippets/signedagreement_audit_explanation.html' %}

<div class="card container-fluid mt-3 mb-3">
<div class="card-body">
Expand Down

0 comments on commit 8b3c369

Please sign in to comment.