Skip to content

Commit

Permalink
feat(record_links): add links for asset and staff details (#189)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Rahamim <[email protected]>
  • Loading branch information
drahamim and drahamim authored Oct 15, 2024
1 parent c9f6c32 commit ebf3bb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/invenflask/templates/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<tbody>
{% for asset in assets %}
<tr>
<td>{{ asset.assetid }}</td>
<td>{{ asset.staffid }}</td>
<td><a href='/single_history/asset/{{asset.assetid}}'> {{ asset.assetid }}</a></td>
<td><a href='/single_history/asset/{{asset.staffid}}'>{{ asset.staffid }}</a></td>
<td>{{ asset.department }}</td>
<td>{{ asset.division }}</td>
<td>{{ moment(timestamp=asset.checkouttime).format('LLL') }}</td>
Expand Down
4 changes: 2 additions & 2 deletions src/invenflask/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ <h4>Checked Out Assets</h4>
<tbody>
{% for item in checkouts %}
<tr>
<td>{{ item.assetid }}</td>
<td>{{ item.staffid }}</td>
<td><a href='/single_history/asset/{{item.assetid}}'> {{ item.assetid }}</a></td>
<td><a href='/single_history/asset/{{item.staffid}}'>{{ item.staffid }}</a></td>
<td>{{ item.department }}</td>
<td>{{ moment(item.timestamp).format('LLL') }}</td>
</td>
Expand Down

0 comments on commit ebf3bb4

Please sign in to comment.