Skip to content

Commit

Permalink
add parenthesis around ccs
Browse files Browse the repository at this point in the history
  • Loading branch information
nsyed22 committed Dec 5, 2024
1 parent 53f7743 commit 5c52c8c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/account/user_pref_metadata.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
<p><strong>Language(s):</strong> {{form.data.languages|join(', ') }}</p>
{% endif %}
{% if form.data.locations %}
<p><strong>Location(s):</strong> {{form.data.locations|join(', ') }}</p>
<p><strong>Location(s):</strong>
{% for location in form.data.locations %} {{ '(' ~ location ~ ')' if location|length == 2 else location }}{% if not loop.last %}, {% endif %} {% endfor %}
</p>
{% endif %}
{% if form.data.work_hours_from %}
<p><strong>Available:</strong> {{form.data.work_hours_from}} - {{form.data.work_hours_to}} {{form.data.timezone}}</p>
Expand Down

0 comments on commit 5c52c8c

Please sign in to comment.