Skip to content

Commit

Permalink
improves readability
Browse files Browse the repository at this point in the history
  • Loading branch information
LGD-Fr committed Sep 9, 2015
1 parent 149781f commit f15ea81
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions paiji2_carpooling/templates/carpooling/carpool/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ <h3>{% trans 'Last carpools list' %}</h3>
{% profile_link cov.author %}

{% if cov.annonce_type == 0 %}
<span class="label label-success">
<span class="label {% if cov.isGood %}label-success{% else %}label-default{% endif %}">
{% trans 'Offer' context "1st p sg" %}
</span>
{% else %}
<span class="label label-danger">
<span class="label {% if cov.isGood %}label-danger{% else %}label-default{% endif %}">
{% trans 'Search' context "1st p sg" %}
</span>
{% endif %}

<span class="label label-primary">
<span class="label {% if cov.isGood %}label-primary{% else %}label-default{% endif %}">
{{ cov.good_until|date:'DATETIME_FORMAT' }}
</span>

Expand Down

0 comments on commit f15ea81

Please sign in to comment.