Commit ee8f3fb8 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

Merge branch '352-metager-maps-tab' into 'development'

Maps tab eingefügt

Closes #352

See merge request !591
parents 5392d745 24de53ed
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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