Browse Source

More info on map popup

Gu1 11 years ago
parent
commit
79600cd577
2 changed files with 7 additions and 1 deletions
  1. 1 1
      ffdnispdb/templates/index.html
  2. 6 0
      ffdnispdb/templates/map_popup.html

File diff suppressed because it is too large
+ 1 - 1
ffdnispdb/templates/index.html


+ 6 - 0
ffdnispdb/templates/map_popup.html

@@ -8,6 +8,12 @@
 <a href="{{ url_for('project', projectid=isp.id) }}"><strong>{{ isp.name }}</strong></a>
 {% endif %}
 <ul style="margin: 10px 0 10px 5px; list-style-type: none;">
+{%- if isp.json.website %}
+<li>{{ field(_("website")) }}: <a href="{{ isp.json.website }}">{{ isp.json.website }}</a></li>
+{%- endif %}
+{%- if isp.json.email %}
+<li>{{ field(_("email")) }}: <a href="mailto:{{ isp.json.email }}"><i class="icon-envelope"></i> {{ isp.json.email }}</a></li>
+{%- endif %}
 {%- if isp.json.memberCount %}
 <li>{{ field(_("members")) }}: {{ isp.json.memberCount }}</li>
 {%- endif %}