Jul 15 - Update Issue details page - add Follow button

This commit is contained in:
2026-07-15 17:23:16 -04:00
parent c64df7ca34
commit 593c630e1b
+8 -2
View File
@@ -307,10 +307,16 @@
</div> </div>
{% elif current_user.role == 'customer' %} {% elif current_user.role == 'customer' %}
<div class="card-body py-2"> <div class="card-body py-2 d-flex align-items-center gap-2 flex-wrap">
<p class="text-muted small mb-0"> <p class="text-muted small mb-0">
<i class="bi bi-bell me-1"></i>Follow this issue to add comments. <i class="bi bi-bell me-1"></i>To add comments, click on the Follow button
</p> </p>
<form method="post" action="{{ url_for('issues.follow', issue_id=issue.id) }}" class="mb-0">
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}">
<button type="submit" class="btn btn-outline-primary btn-sm">
<i class="bi bi-bell"></i> Follow
</button>
</form>
</div> </div>
{% else %} {% else %}