Commit cdd20812 authored by Phil Höfer's avatar Phil Höfer
Browse files

Maps tab eingefügt

parent e040129e
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
......@@ -10,9 +10,11 @@ $(document).ready(function() {
function tabs() {
//return;
$("#foki > li.tab-selector > a").each(function() {
$(this).attr("href", "#" + $(this).attr("aria-controls"));
$(this).attr("role", "tab");
$(this).attr("data-toggle", "tab");
if($(this).attr("target") != "_blank") {
$(this).attr("href", "#" + $(this).attr("aria-controls"));
$(this).attr("role", "tab");
$(this).attr("data-toggle", "tab");
}
});
$("#foki > li.tab-selector > a").off();
$("#foki > li.tab-selector > a").on("show.bs.tab", function(e) {
......
......@@ -126,6 +126,13 @@
</a>
</li>
@endif
<li id="mapsTabSelector" role="presentation" class="tab-selector">
<a href="https://maps.metager.de/map/{{ $metager->getQ() }}/-6.781309835595698/44.85855550132342/33.9779675081543/58.25372144666716" target="_blank">
<span class='glyphicon glyphicon-tree-conifer'></span>
<span class="hidden-xs">{{ trans('index.foki.maps') }}</span>
</a>
</li>
</ul>
</header>
<main class="tab-content row">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment