              <table class="reputation-ranking" border=0 cellspacing="0" cellpadding="0">
                <thead>
                  <tr>
                    <th>Top</th>
                    <th style="width:140">{{'code'|trans}}</th>
                    <th style="width:40">{{'description'|trans}}</th>                    
                    <th style="width:40">{{'average-short'|trans}}</th>
                    <th style="width:40">{{'reviews'|trans}}</th>
                  </tr>
                </thead>
              {% for location in locations %}
                <tr class="{{location.color}} {{ cycle(['semi', ''], loop.index) }}">
                  <td>{{loop.index}}</td>
                  <td style="width:140;">{{location.code|length > 23 ? location.code|slice(0, 23) ~ '...' : location.code}}</td>
                  <td style="width:40;">{{location.description|length > 6 ? location.description|slice(0, 5) ~ '...' : location.description}}</td>                  
                  <td style="width:40;">{{location.score.formatted}}</td>
                  <td style="width:40;">{{location.reviews.formatted}}</td>
                </tr>
              {% else %}
                <tr>
                  <td colspan="100%">{{'no-locals'|trans}}</td>
                </tr>
              {% endfor %}
              </table>