Skip to content

Commit

Permalink
refactor: Fix conditional statement in dashboard.html for application…
Browse files Browse the repository at this point in the history
… note

The conditional statement in the dashboard.html template has been fixed to properly check for the presence of an application note. This change ensures that the note icon is displayed correctly based on whether a note exists or not.
  • Loading branch information
QA2A committed Sep 5, 2024
1 parent 8d17d24 commit 63d2e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/templates/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@
{% endfor %}
</select>
</form>
{% if application.note and application.note != "None" %}
{% if application.note and application.note != None %}
<span class="note-icon note-icon-bordered" title="{{ application.note }}" hx-get="{% url 'edit_note' application.id %}" hx-target="#note-form-container-{{ application.id }}" hx-swap="outerHTML">📝</span>
{% else %}
<span class="note-icon" title="No Note" hx-get="{% url 'edit_note' application.id %}" hx-target="#note-form-container-{{ application.id }}" hx-swap="outerHTML">📝</span>
Expand Down

0 comments on commit 63d2e0a

Please sign in to comment.