-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Gather all reports by phone number in a new web page
See URL "/report/[phone_number]".
- Loading branch information
Showing
6 changed files
with
240 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{% extends "templates/base.html.jinja" %} | ||
|
||
{% block title %} | ||
Historique des appels pour {{ phone_number }} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
<!-- History of calls --> | ||
<div class="col-span-full space-y-4"> | ||
<div class="p-4 space-y-4 rounded-md lg:ring-1 ring-neutral-200/60 dark:ring-neutral-700/60"> | ||
<h2 class="text-lg">📞 Historique des appels pour {{ phone_number }}</h2> | ||
{% for call in calls %} | ||
<div> | ||
<a class="hover:underline" href="/report/{{ call.phone_number | quote_plus }}/{{ call.call_id | quote_plus }}"><span class="font-mono">#{{ call.claim.claim_id }}</span> ({{ call.created_at.strftime('%d %b %Y %H:%M') }})</a> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.