Skip to content

Commit

Permalink
Don't show some enpty fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
amanning9 committed Nov 19, 2024
1 parent efc9620 commit d732771
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,16 @@
<p>{{ access.user_reason|markdown }} </p>
{% if for_managers %}
{# CAREFUL, this should only be shown to approvers! #}
{% if access.internal_reason %}
<p>The internal notes the person marking this {{ access.frontend.type|lower }} as {{ access.status|lower }} wrote were:</p>
{% endif %}
<p>{{ access.internal_reason|markdown }}</p>
{% if user.is_staff %}
{% if access.internal_comment %}
<p>The internal notes for CEDA staff on this {{ access.frontend.type|lower }} were:</p>
<p>{{ access.internal_comment|markdown }}</p>
{% endif %}
{% endif %}
{% endif %}
{% if access.frontend.may_apply and access.status == "INCOMPLETE"%}
<a class="btn btn-warning btn-sm" href="{{ access.frontend.apply_url }}">Add Info</a>
Expand Down

0 comments on commit d732771

Please sign in to comment.