Skip to content

Commit

Permalink
nfctokens: show reader location when claiming a token
Browse files Browse the repository at this point in the history
  • Loading branch information
timhawes committed May 19, 2024
1 parent 63a1951 commit 307b729
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hackdb/templates/nfctokens/mytokens_claim.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
{% if tokens %}
<p>
Select your new token or card from the list below. If you don't see it
or aren't sure then swipe wipe your new token on one of the doors, and
or aren't sure then swipe your new token on one of the readers, and
select <em>Refresh</em>.
</p>
<table class="table table-striped">
<tr>
<th>Time</th>
<th>Location</th>
<th>UID</th>
</tr>
{% for token in tokens %}
<tr>
<td>{{ token.last_seen|time:"H:i:s" }}</td>
<td>{{ token.last_location }}</td>
<td><a href="{% url 'nfctokens_mytokens_add_uid' token.uid %}">{{ token.uid }}</a></td>
</tr>
{% endfor %}
Expand Down

0 comments on commit 307b729

Please sign in to comment.