Commits

danjac  committed da0dc04

Added now labels

  • Participants
  • Parent commits 25c95e9

Comments (0)

Files changed (1)

File rentalerts/apps/apartments/templates/apartments/apartment_detail.html

             </tr>
 
             <tr>
-                <td>Floor</td><td><strong>{{ apartment.floor }}/{{ apartment.num_floors|default:"-" }}{% if not apartment.lift %} NO LIFT {% endif %}</strong></td>
+                <td>Floor</td><td><strong>{{ apartment.floor }}{% if apartment.num_floors %}/{{ apartment.num_floors }}{% endif %}{% if not apartment.lift %} NO LIFT {% endif %}</strong></td>
             </tr>
 
             <tr>
-                <td>
+                <td>Available from</td><td>
                 {% if apartment.available_from %}
-                Available from</td><td><strong>{{ apartment.available_from|date:"d/m/Y" }}{% if apartment.available_to %} - {{ apartment.available_to|date:"d/m/y" }}{% endif %}</strong>
+                <strong>{{ apartment.available_from|date:"d/m/Y" }}{% if apartment.available_to %} - {{ apartment.available_to|date:"d/m/y" }}{% endif %}</strong>
                 {% else %}
                     <span class="label label-important">Now</span>
                 {% endif %}