Skip to content
Snippets Groups Projects
Commit 99cbbc6d authored by Phil Höfer's avatar Phil Höfer
Browse files

Maps tab eingefügt

parent 9b8d463c
No related branches found
No related tags found
2 merge requests!619Development,!591Maps tab eingefügt
source diff could not be displayed: it is too large. Options to address this: view the blob.
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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment