Skip to content

Commit

Permalink
Closes: #67 - Linkify Vendor and SKU on SupportContract Info detailed…
Browse files Browse the repository at this point in the history
… view (#75)
  • Loading branch information
DanSheps authored Jan 31, 2025
2 parents 20b3539 + 383feb2 commit 3fa8cb1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,17 @@
<h5 class="card-header">Support Contract</h5>
{% if support_contract %}
<table class="table table-hover attr-table">
<tr>
<th scope="row">Vendor</th>
<td>{{ support_contract.contract.vendor|linkify|placeholder }}</td>
</tr>
<tr>
<th scope="row"><span title="Contract Number">Contract Number</span></th>
<td>{{ support_contract.contract.contract_id|linkify|placeholder }}</td>
<td>{{ support_contract.contract|linkify:"contract_id"|placeholder }}</td>
</tr>
<tr>
<th scope="row">Support SKU</th>
<td>{{ support_contract.sku }}</td>
<td>{{ support_contract.sku|linkify|placeholder }}</td>
</tr>
<tr>
<th scope="row">Start Date</th>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ <h5 class="card-header">Contract</h5>
<table class="table table-hover attr-table">
<tr>
<th>Manufacturer</th>
<td>{{ object.manufacturer|linkify }}</td>
<td>{{ object.manufacturer|linkify|placeholder }}</td>
</tr>
<tr>
<th>Vendor</th>
<td>{{ object.vendor|linkify }}</td>
<td>{{ object.vendor|linkify|placeholder }}</td>
</tr>
<tr>
<th>Contract ID</th>
Expand Down

0 comments on commit 3fa8cb1

Please sign in to comment.