Added title feature from config

This commit is contained in:
Squandor 2017-01-02 10:46:59 +01:00
parent 8d3a915f0a
commit 62b69e6ade
1 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,7 @@
<div class="col-md-6 col-sm-6 col-xs-12"> <div class="col-md-6 col-sm-6 col-xs-12">
<div class="x_panel"> <div class="x_panel">
<div class="x_title"> <div class="x_title">
<h2>Locatie</h2> <h2 id="s_title_{{ count }}">Locatie</h2>
<ul class="nav navbar-right panel_toolbox"> <ul class="nav navbar-right panel_toolbox">
<li><a class="close-link"><i class="fa fa-close"></i></a> <li><a class="close-link"><i class="fa fa-close"></i></a>
</li> </li>
@ -21,6 +21,9 @@
$(document).ready(function() { $(document).ready(function() {
var location=[]; var location=[];
{% for k, v in blockArray[count]["map"].iteritems() %} {% for k, v in blockArray[count]["map"].iteritems() %}
{% if v[1] %}
$('#s_title_{{ count }}').html("{{ v[1] }}");
{% endif %}
location.push("{{v[0]}}"); location.push("{{v[0]}}");
{% endfor %} {% endfor %}
refreshMapLocation(location, "locationIframe-{{count}}"); refreshMapLocation(location, "locationIframe-{{count}}");