Skip to content

Commit

Permalink
fix double slash
Browse files Browse the repository at this point in the history
  • Loading branch information
jperelli committed Jun 28, 2024
1 parent b2a3c6e commit e709c93
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions templates/catastro/ver_administrativearea.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta property="og:url" content="{{ obj.get_absolute_url | add_lang_qs:request }}" />
<meta property="og:title" content="{% blocktrans %}How to get around in{% endblocktrans %} {{adminarea|i18name:request|title}}{% for a in adminareaancestors %}, {{a|i18name:request|title}}{% endfor %}" />
<meta property="og:description" content="{% blocktrans %}List of all the public transport that go through{% endblocktrans %} {{adminarea|i18name:request|title}}{% for a in adminareaancestors %}, {{a|i18name:request|title}}{% endfor %}. {% blocktrans %}See how to get from where you are{% endblocktrans %}" />
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}/{{ obj.img_cuadrada.url }}" />{% endif %}
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}{{ obj.img_cuadrada.url }}" />{% endif %}
{% endblock %}

{% block bloque_izquierda %}
Expand Down Expand Up @@ -74,7 +74,7 @@ <h1><span itemprop="name">{{obj|i18name:request|title}}</span></h1>
</a>
{% if obj.img_panorama %}
<div id="map" style="background:lightblue;min-height:300px;">
<img style="height:300px;object-fit:cover" src="{{HOME_URL}}/{{ obj.img_panorama | pngorwebpurl }}" alt="Mapa de ubicacion de {{ obj|i18name:request }}{% if parent %} en {{parent.nombre|title}}{% endif %}." />
<img style="height:300px;object-fit:cover" src="{{HOME_URL}}{{ obj.img_panorama | pngorwebpurl }}" alt="Mapa de ubicacion de {{ obj|i18name:request }}{% if parent %} en {{parent.nombre|title}}{% endif %}." />
</div>
{% endif %}
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/catastro/ver_poi.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<meta property="og:url" content="{{ poi.get_absolute_url | add_lang_qs:request }}" />
<meta property="og:title" content="{% blocktrans %}How to get to{% endblocktrans %} {{poi|i18name:request|title}} {% blocktrans %}in{% endblocktrans %} {% for a in adminareas %}{% if not forloop.first %}, {% endif %}{{a|i18name:request|title}}{% endfor %}" />
<meta property="og:description" content="{% blocktrans %}List of all the public transport that go through{% endblocktrans %} {{poi|i18name:request|title}} {% blocktrans %}in{% endblocktrans %} {% for a in adminareas %}{% if not forloop.first %}, {% endif %}{{a|i18name:request|title}}{% endfor %}. {% blocktrans %}See how to get from where you are{% endblocktrans %}" />
{% if poi.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}/{{ poi.img_cuadrada.url }}" />{% endif %}
{% if poi.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}{{ poi.img_cuadrada.url }}" />{% endif %}
{% endblock %}

{% block bloque_izquierda %}
Expand Down Expand Up @@ -92,7 +92,7 @@ <h1>{% blocktrans %}How to get to{% endblocktrans %} <span itemprop="name">{{poi
<a href="/mapa/{{adminareas.0|i18name:request|uslugify}}|{{adminareas.0.geometry.centroid.0|stringformat:'f'}},{{adminareas.0.geometry.centroid.1|stringformat:'f'}}/geolocation|{{poi.latlng.0|stringformat:'f'}},{{poi.latlng.1|stringformat:'f'}},{{poi|i18name:request}}" class="btn btn-primary" style="z-index:1;position:absolute; margin:6px">{% blocktrans %}See in interactive map{% endblocktrans %}</a>
{% if poi.img_panorama %}
<div id="map" style="background:lightblue;min-height:300px;">
<img style="height:300px;object-fit:cover" itemprop="image" src="{{HOME_URL}}/{{ poi.img_panorama | pngorwebpurl }}" alt="Mapa de ubicacion de {{ poi|i18name:request }} en {% for a in adminareas %}{% if not forloop.first %}, {% endif %}{{a|i18name:request|title}}{% endfor %}." />
<img style="height:300px;object-fit:cover" itemprop="image" src="{{HOME_URL}}{{ poi.img_panorama | pngorwebpurl }}" alt="Mapa de ubicacion de {{ poi|i18name:request }} en {% for a in adminareas %}{% if not forloop.first %}, {% endif %}{{a|i18name:request|title}}{% endfor %}." />
</div>
{% endif %}
</div>
Expand Down
4 changes: 2 additions & 2 deletions templates/core/ver_linea.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<meta property="og:url" content="{{ obj.get_absolute_url | add_lang_qs:request }}" />
<meta property="og:title" content="{% blocktrans %}Line{% endblocktrans %} {{obj.nombre|title}}" />
<meta property="og:description" content="{% blocktrans %}All the information about routes, trips, stops, schedules and fares of the line{% endblocktrans %} {{obj.nombre|title}} {% blocktrans %}that passes through{% endblocktrans %} {{adminarea|i18name:request|title}}{% for a in adminareaancestors %}, {{a|i18name:request|title}}{% endfor %}" />
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}/{{ obj.img_cuadrada.url }}" />{% endif %}
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}{{ obj.img_cuadrada.url }}" />{% endif %}
{% endblock %}

{% block bloque_izquierda %}
Expand Down Expand Up @@ -100,7 +100,7 @@ <h2>{% blocktrans %}Routes of the line{% endblocktrans %} {{obj.nombre}}</h2>
{% if obj.img_panorama %}
<div class="thumbnail">
<div id="map" style="background:lightblue;min-height:300px;">
<img style="height:300px;object-fit:cover" src="{{HOME_URL}}/{{ obj.img_panorama | pngorwebpurl }}" alt="{% blocktrans %}Public transportation coverage of the line{% endblocktrans %} {{ obj.nombre }} {% blocktrans %}in{% endblocktrans %} {{ adminarea|i18name:request }}." />
<img style="height:300px;object-fit:cover" src="{{HOME_URL}}{{ obj.img_panorama | pngorwebpurl }}" alt="{% blocktrans %}Public transportation coverage of the line{% endblocktrans %} {{ obj.nombre }} {% blocktrans %}in{% endblocktrans %} {{ adminarea|i18name:request }}." />
</div>
</div>
{% endif %}
Expand Down
4 changes: 2 additions & 2 deletions templates/core/ver_recorrido.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<meta property="og:url" content="{{ obj.get_absolute_url | add_lang_qs:request }}" />
<meta property="og:title" content="{{linea.nombre|title}} - {{obj.nombre|title}}" />
<meta property="og:description" content="{% blocktrans %}Line{% endblocktrans %} {{linea.nombre|title}}, {% blocktrans %}branch{% endblocktrans %} {{obj.nombre|title}} {% blocktrans %}in{% endblocktrans %} {{adminarea|i18name:request|title}}{% for a in adminareaancestors %}, {{a|i18name:request|title}}{% endfor %} - Cualbondi{% if obj.inicio and obj.fin %}, {% blocktrans %}Route from{% endblocktrans %} {{obj.inicio}} {% blocktrans %}to{% endblocktrans %} {{obj.fin}} {% endif %} {% blocktrans %}in{% endblocktrans %} {{adminarea|i18name:request|title}}: {% blocktrans %}Description of the route of the bus{% endblocktrans %}" />
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}/{{ obj.img_cuadrada.url }}" />{% endif %}
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}{{ obj.img_cuadrada.url }}" />{% endif %}
{% endblock %}

{% block bloque_izquierda %}
Expand Down Expand Up @@ -103,7 +103,7 @@ <h2>{% blocktrans %}Streets that compose this route{% endblocktrans %}</h2>
<div class="thumbnail">
<a href="/mapa/{{adminarea|i18name:request|uslugify}}|{{adminarea.geometry.centroid.0|stringformat:'f'}},{{adminarea.geometry.centroid.1|stringformat:'f'}}/recorridos/{% if linea %}{{linea.nombre}} {% endif %}{{obj.nombre}}/" class="btn btn-primary" style="position:absolute; margin:6px">{% blocktrans %}See in interactive map{% endblocktrans %}</a>
<div id="map" style="background:lightblue;min-height:300px;">
<img style="height:300px;object-fit:cover" itemprop="image" src="{{HOME_URL}}/{{ obj.img_panorama | pngorwebpurl }}" alt="Mapa del recorrido {{ obj.nombre }} de la línea {{ linea.nombre }} en {{ adminarea|i18name:request }}." />
<img style="height:300px;object-fit:cover" itemprop="image" src="{{HOME_URL}}{{ obj.img_panorama | pngorwebpurl }}" alt="Mapa del recorrido {{ obj.nombre }} de la línea {{ linea.nombre }} en {{ adminarea|i18name:request }}." />
</div>
</div>
<br />
Expand Down
2 changes: 1 addition & 1 deletion templates/editor/revision.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta property="og:url" content="{{HOME_URL}}{{ revision.get_absolute_url }}" />
<meta property="og:title" content="Edición por {{ revision.get_pretty_user }} de {{original.linea.nombre|title}} - {{original.nombre|title}}" />
<meta property="og:description" content="Edición del recorrido {{original.linea.nombre|title}} {{original.nombre|title}} creada por el usuario {{ revision.get_pretty_user }} en Cualbondi. Visualización de la edición del recorrido en el estado {{ revision.get_moderacion_last.get_newStatus_display }}" />
{% if original.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}/{{ original.img_cuadrada.url }}" />{% endif %}
{% if original.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}{{ original.img_cuadrada.url }}" />{% endif %}

<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.4/leaflet.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/leaflet/1.3.4/leaflet.js"></script>
Expand Down
4 changes: 2 additions & 2 deletions templates_jinja2/ver_administrativearea.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta property="og:url" content="{{ obj.get_absolute_url() }}" />
<meta property="og:title" content="{% trans %}How to get around in{% endtrans %} {{adminarea.name|title}}{% for a in adminareaancestors %}, {{a.name|title}}{% endfor %}" />
<meta property="og:description" content="{% trans %}List of all the public transport that go through{% endtrans %} {{adminarea.name|title}}{% for a in adminareaancestors %}, {{a.name|title}}{% endfor %}. {% trans %}See how to get from where you are{% endtrans %}" />
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}/{{ obj.img_cuadrada.url }}" />{% endif %}
{% if obj.img_cuadrada %}<meta property="og:image" content="{{HOME_URL}}{{ obj.img_cuadrada.url }}" />{% endif %}
{% endblock %}

{% block content %}
Expand Down Expand Up @@ -62,7 +62,7 @@ <h1><span itemprop="name">{{obj.name|title}}</span></h1>
</a>
{% if obj.img_panorama %}
<div id="map" style="background:lightblue;min-height:300px;">
<img style="height:300px;object-fit:cover" src="{{HOME_URL}}/{{ obj.img_panorama.url }}" alt="Mapa de ubicacion de {{ obj.nom }}{% if parent %} en {{parent.nombre|title}}{% endif %}." />
<img style="height:300px;object-fit:cover" src="{{HOME_URL}}{{ obj.img_panorama.url }}" alt="Mapa de ubicacion de {{ obj.nom }}{% if parent %} en {{parent.nombre|title}}{% endif %}." />
</div>
{% endif %}
</div>
Expand Down

0 comments on commit e709c93

Please sign in to comment.