Skip to content

Commit

Permalink
details-table: Added country flags to takeoff and landing airports
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jul 29, 2012
1 parent 02e1709 commit aac66f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions skylines/templates/flights/details-table.html
Expand Up @@ -49,6 +49,7 @@
<th>Take-off</th>
<td>
<py:if test="flight.takeoff_airport is not None">
<span class="flag-${flight.takeoff_airport.country_code.lower()}" style="float:right;margin:3px"></span>
<a py:content="flight.takeoff_airport.name" href="/flights/airport/${flight.takeoff_airport_id}">Airport</a>
<br />
at
Expand All @@ -61,6 +62,7 @@
<th>Landing</th>
<td>
<py:if test="flight.landing_airport is not None">
<span class="flag-${flight.landing_airport.country_code.lower()}" style="float:right;margin:3px"></span>
<a py:content="flight.landing_airport.name" href="/flights/airport/${flight.landing_airport_id}">Airport</a>
<br />
at
Expand Down

0 comments on commit aac66f8

Please sign in to comment.