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

test: added explanation

parent 8fe902fd
Pipeline #924 failed with stages
in 20 seconds
......@@ -8,9 +8,14 @@ stages:
pages-test:
stage: test
script:
- echo "Teste, ob Projektname gesetzt ist..."
- (! grep 'projektname= ""' public/settings.js)
- echo "Teste, ob Projektseitenlink gesetzt ist..."
- (! grep 'projektseitenlink= ""' public/settings.js)
- echo "Teste, ob Kontaktperson gesetzt ist..."
- (! grep 'Max Mustermann' public/kontakt.html)
only:
- master
pages-master:
stage: deploy
......
......@@ -38,7 +38,7 @@ let topbar = document.getElementById("topbar");
hftlogo.href = "https://hft-stuttgart.de";
hftlogo.innerHTML="<img src='https://www.hft-stuttgart.de/typo3conf/ext/hft_sitepackage/Resources/Public/img/HFT_logo.svg'/>";
topbar.insertBefore(hftlogo,menu);
if(projectlogourl != ""){
if(projektlogourl != ""){
let projectlogo = document.createElement("a");
projectlogo.href=projektseitenlink;
projectlogo.innerHTML="<img src='" + projektlogourl + "'/>";
......
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