Skip to content

Commit

Permalink
apps/plans/templates: fix for PR #4041 syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
sabinammm committed Dec 9, 2021
1 parent 18fa38d commit ece0d23
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 30 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ <h3 class="list-item__title">
<span class="label label--big">{{ object.budget|intcomma }}€</span>
{% endif %}
{% if object.moderator_feedback %}
<span class=
"label
label--big
label--{{object.moderator_feedback|classify|lower }}
list-item__label--moderator-feedback"
>
<span class="label label--big label--{{object.moderator_feedback|classify|lower }} list-item__label--moderator-feedback">
{{ object.get_moderator_feedback_display }}
</span>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ <h3 class="list-item__title">
<span class="label label--big">{{ object.category }}</span>
{% endif %}
{% if object.moderator_feedback %}
<span class=
"label
label--big
label--{{ object.moderator_feedback|classify|lower }}
list-item__label--moderator-feedback"
>
<span class="label label--big label--{{ object.moderator_feedback|classify|lower }} list-item__label--moderator-feedback">
{{ object.get_moderator_feedback_display }}
</span>
{% endif %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,7 @@ <h3 class="list-item__title">
</span>
{% endif %}
{% if object.moderator_feedback %}
<span class=
"label
label--big
label--{{ object.moderator_feedback|classify|lower }}
list-item__label--moderator-feedback"
>
<span class="label label--big label--{{ object.moderator_feedback|classify|lower }} list-item__label--moderator-feedback">
{{ object.get_moderator_feedback_display }}
</span>
{% endif %}
Expand Down
14 changes: 2 additions & 12 deletions meinberlin/apps/plans/templates/meinberlin_plans/plan_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -124,19 +124,9 @@ <h1 class="item-detail__title u-break-word">
{% endif %}
</div>
</div>
{% if object.contact_name or
object.contact_address_text or
object.contact_email or
object.contact_phone or
object.contact_url or
object.organisation.address or
object.organisation.url %}
{% if object.contact_name or object.contact_address_text or object.contact_email or object.contact_phone or object.contact_url or object.organisation.address or object.organisation.url %}
<div class="l-tiles-2 u-spacer-bottom">
{% if object.contact_name or
object.contact_address_text or
object.contact_email or
object.contact_phone or
object.contact_url %}
{% if object.contact_name or object.contact_address_text or object.contact_email or object.contact_phone or object.contact_url %}
<div>
<h3>{% trans 'Contact for questions' %}</h3>
{% if object.contact_name %}
Expand Down

0 comments on commit ece0d23

Please sign in to comment.