Spaces:
Sleeping
Sleeping
Update app/templates/interrogations.html
Browse files
app/templates/interrogations.html
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
<div class="heading-container">
|
| 7 |
<h1 class="h3">Interrogation Sessions</h1>
|
| 8 |
{# Add a button or link to initiate a new interrogation if applicable, or link to cases #}
|
| 9 |
-
<a href="{{ url_for(
|
| 10 |
</div>
|
| 11 |
|
| 12 |
<div class="card">
|
|
@@ -33,13 +33,13 @@
|
|
| 33 |
', reverse=True) %}
|
| 34 |
<tr>
|
| 35 |
<td>{{ session.id }}</td>
|
| 36 |
-
<td><a href="{{ url_for(
|
| 37 |
<td>{{ session.case.suspect_name }}</td>
|
| 38 |
<td>{{ session.session_date.strftime(\'%Y-%m-%d %H:%M\') }}</td>
|
| 39 |
<td>{{ session.generated_questions | length }}</td>
|
| 40 |
<td>{{ session.summary_notes | truncate(100, True) if session.summary_notes else \'N/A\' }}</td>
|
| 41 |
<td>
|
| 42 |
-
<a href="{{ url_for(
|
| 43 |
</td>
|
| 44 |
</tr>
|
| 45 |
{% endfor %}
|
|
@@ -51,7 +51,7 @@
|
|
| 51 |
<i class="bi bi-mic-mute-fill fs-1 text-muted"></i>
|
| 52 |
<p class="mt-3 text-muted">No interrogation sessions found in the system.</p>
|
| 53 |
<p>Interrogation questions are generated from the individual case detail pages.</p>
|
| 54 |
-
<a href="{{ url_for(
|
| 55 |
</div>
|
| 56 |
{% endif %}
|
| 57 |
</div>
|
|
|
|
| 6 |
<div class="heading-container">
|
| 7 |
<h1 class="h3">Interrogation Sessions</h1>
|
| 8 |
{# Add a button or link to initiate a new interrogation if applicable, or link to cases #}
|
| 9 |
+
<a href="{{ url_for('manage_cases') }}" class="btn btn-outline-primary"><i class="bi bi-folder2-open me-1"></i>View Cases</a>
|
| 10 |
</div>
|
| 11 |
|
| 12 |
<div class="card">
|
|
|
|
| 33 |
', reverse=True) %}
|
| 34 |
<tr>
|
| 35 |
<td>{{ session.id }}</td>
|
| 36 |
+
<td><a href="{{ url_for('view_case', case_id=session.case.id) }}">{{ session.case.case_id_display }}</a></td>
|
| 37 |
<td>{{ session.case.suspect_name }}</td>
|
| 38 |
<td>{{ session.session_date.strftime(\'%Y-%m-%d %H:%M\') }}</td>
|
| 39 |
<td>{{ session.generated_questions | length }}</td>
|
| 40 |
<td>{{ session.summary_notes | truncate(100, True) if session.summary_notes else \'N/A\' }}</td>
|
| 41 |
<td>
|
| 42 |
+
<a href="{{ url_for('view_case', case_id=session.case.id) }}#accordionSession{{session.id}}" class="btn btn-sm btn-outline-primary">View Details in Case</a>
|
| 43 |
</td>
|
| 44 |
</tr>
|
| 45 |
{% endfor %}
|
|
|
|
| 51 |
<i class="bi bi-mic-mute-fill fs-1 text-muted"></i>
|
| 52 |
<p class="mt-3 text-muted">No interrogation sessions found in the system.</p>
|
| 53 |
<p>Interrogation questions are generated from the individual case detail pages.</p>
|
| 54 |
+
<a href="{{ url_for('manage_cases') }}" class="btn btn-primary">Go to Cases</a>
|
| 55 |
</div>
|
| 56 |
{% endif %}
|
| 57 |
</div>
|