Commit e6dd8c28 authored by Wolfgang Knopki's avatar Wolfgang Knopki
Browse files

Merge branch 'MLAB-258' into 'testing'

opening help and helptopics in new tab

See merge request !49
parents 7e0c7c7e 3cd0cee8
Pipeline #946 passed with stage
in 12 seconds
......@@ -34,10 +34,10 @@
<div class="col-auto" style="background-color: #ffffff;">
<ul>
<li>
<a href="/help/gitlab.html"> Projektverwaltung mittels Gitlab </a>
<a href="/help/gitlab.html" target="_blank"> Projektverwaltung mittels Gitlab </a>
</li>
<li>
<a href="/help/gitlab-pages.html">Projektwebseiten mittels Gitlab-pages </a>
<a href="/help/gitlab-pages.html" target="_blank">Projektwebseiten mittels Gitlab-pages </a>
</li>
</ul>
</div>
......@@ -54,7 +54,7 @@
<div class="col-auto" style="background-color: #ffffff;">
<ul>
<li>
<a href="/help/jitsi.html"> Videokonferenzen über Jitsi</a>
<a href="/help/jitsi.html" target="_blank"> Videokonferenzen über Jitsi</a>
</li>
</ul>
</div>
......@@ -71,7 +71,7 @@
<div class="col-auto" style="background-color: #ffffff;">
<ul>
<li>
<a href="/help/mailinglists.html"> Mailinglisten erstellen und verwalten</a>
<a href="/help/mailinglists.html" target="_blank"> Mailinglisten erstellen und verwalten</a>
</li>
</ul>
</div>
......
......@@ -99,6 +99,9 @@ function head() {
headlink.id="navbarDropdown" + j;
headlink.classList.add('nav-link');
headlink.setAttribute("role", "button");
if(menu[j].link =="/help/"){ // if help open in new tab
headlink.setAttribute("target", "_blank");
}
if(itemtype=='dropdown'){
headitem.classList.add("dropdown");
headlink.classList.add('dropdown-toggle');
......
Supports Markdown
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