Skip to content

Commit

Permalink
Fix: comparator page allow notice empty
Browse files Browse the repository at this point in the history
  • Loading branch information
HamoudaAmine committed Mar 21, 2019
1 parent 3235e2c commit c77f5f6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions backend/tpl/comparator.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,11 @@ <h3 class="text-uppercase">{{ site.name_site }} | {{ site.ville.nom_commune }} <
<div class="row mt-3">
<div class="col-lg-5 pl-0 mb-5 text-right">
<div class="map-wrapper" ref="map"></div>
{% if site.path_file_guide_site: %}
<a class="btn btn-sm btn-primary text-uppercase mb-2" href="{{ url_for('static', filename='data/notice-photo/' + site.path_file_guide_site) }}" target="_blank">
{{ _('obs_point.buttons.notice') }} <i class="icon ion-md-download ml-2"></i>
</a>
{% endif %}
{% if dbconf.mailto_observation: %}
<a class="btn btn-sm btn-primary text-uppercase mb-2" href="mailto:{{ dbconf.mailto_observation|replace('%ref_site%', site.ref_site) }}">
{{ _('obs_point.buttons.obs') }} <i class="icon ion-ios-eye ml-2"></i>
Expand Down

0 comments on commit c77f5f6

Please sign in to comment.