Show name before mmsi
[ais.git] / html_templates / vessels.html
index 279df559cd02bd11fe3dcf59dd1c99d6c912f7f4..1f9ca85bce5322abc7263c6657c3102b12d60da9 100644 (file)
 {% if vessels %}
 <table>
 <tr>
 {% if vessels %}
 <table>
 <tr>
-  <th>MMSI
   <th>Name
   <th>Name
+  <th>MMSI
   <th>IMO
   <th>Callsign
 {% for vessel in vessels %}
 <tr>
   <th>IMO
   <th>Callsign
 {% for vessel in vessels %}
 <tr>
-  <td><a href='/vessel/{{vessel.mmsi|sqlmmsi_to_strmmsi}}/'>{{ vessel.mmsi|sqlmmsi_to_strmmsi }}</a>
   <td><a href='/vessel/{{vessel.mmsi|sqlmmsi_to_strmmsi}}/'>{{ vessel.name }}</a>
   <td><a href='/vessel/{{vessel.mmsi|sqlmmsi_to_strmmsi}}/'>{{ vessel.name }}</a>
+  <td><a href='/vessel/{{vessel.mmsi|sqlmmsi_to_strmmsi}}/'>{{ vessel.mmsi|sqlmmsi_to_strmmsi }}</a>
   <td>{{ vessel.imo|default_if_none:""}}
   <td>{{ vessel.callsign }}
 {% endfor %}
   <td>{{ vessel.imo|default_if_none:""}}
   <td>{{ vessel.callsign }}
 {% endfor %}