diff --git a/views/DE/account/home.pug b/views/DE/account/home.pug index 6a4f386383ddaa3ea8b0f556a69faefb7d280b2d..104778eb3fd4f28632f95613e9c018a5b0e570e2 100644 --- a/views/DE/account/home.pug +++ b/views/DE/account/home.pug @@ -30,7 +30,7 @@ html(lang="de") a(class="nav-link pl-0" href="/account/profile") i(class="fa fa-user fa-fw") span(class="d-none d-md-inline") Benutzerprofil - if user.m4lab_idp == 1 + if user.is_m4lab_idp li(class="nav-item") a(class="nav-link pl-0" href="/account/security") i(class="fa fa-lock fa-fw") diff --git a/views/DE/account/newInformation.pug b/views/DE/account/newInformation.pug index 838423ddaf2c11f82819361de8ced3709aad752d..8a862dfbe06b95f792574007a8549601d4e36c8b 100644 --- a/views/DE/account/newInformation.pug +++ b/views/DE/account/newInformation.pug @@ -4,8 +4,8 @@ html(lang="de") title= "Setup a new website" meta(charset="UTF-8") meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no") - link(rel="stylesheet", type="text/css", href="https://m4lab.hft-stuttgart.de/css/bootstrap.min.css") - link(rel="stylesheet", type="text/css", href="https://m4lab.hft-stuttgart.de/css/m4lab.css") + link(rel="stylesheet", type="text/css", href="/css/bootstrap.min.css") + link(rel="stylesheet", type="text/css", href="/css/m4lab.css") link(rel="stylesheet", href="https://use.fontawesome.com/releases/v5.8.2/css/all.css", integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay", crossorigin="anonymous") body div(class="container") @@ -16,12 +16,12 @@ html(lang="de") ul(class="flex-md-column flex-row navbar-nav w-100 justify-content-between") li(class="nav-item") a(class="nav-link pl-0 text-nowrap" href="/account/") - span(class="font-weight-bold" style="color:black;") #{user.fullName} + span(class="font-weight-bold" style="color:black;") #{user.firstName} #{user.lastName} li(class="nav-item") a(class="nav-link pl-0" href="/account/profile") i(class="fa fa-user fa-fw") span(class="d-none d-md-inline") Benutzerprofil - if user.m4lab_idp == 1 + if user.is_m4lab_idp li(class="nav-item") a(class="nav-link pl-0" href="/account/security") i(class="fa fa-lock fa-fw") diff --git a/views/DE/account/profile.pug b/views/DE/account/profile.pug index be76107dafebf0353e1451dd819e9932d52ce01b..a7c6f99f873bac41813054bab20ea672966a14bd 100644 --- a/views/DE/account/profile.pug +++ b/views/DE/account/profile.pug @@ -21,7 +21,7 @@ html(lang="de") a(class="nav-link pl-0" href="/account/profile") i(class="fa fa-user fa-fw" style="color:black;") span(class="d-none d-md-inline" style="color:black;") Benutzerprofil - if user.m4lab_idp == 1 + if user.is_m4lab_idp li(class="nav-item") a(class="nav-link pl-0" href="/account/security") i(class="fa fa-lock fa-fw") diff --git a/views/DE/account/security.pug b/views/DE/account/security.pug index 60dbd2be007525be1b080095f182d6d1b8d76526..55e0494f1b62d1af08da870f92f442b1ccc77d31 100644 --- a/views/DE/account/security.pug +++ b/views/DE/account/security.pug @@ -20,7 +20,7 @@ html(lang="de") ul(class="flex-md-column flex-row navbar-nav w-100 justify-content-between") li(class="nav-item") a(class="nav-link pl-0 text-nowrap" href="/account/") - span(class="font-weight-bold" style="color:black;") #{user.firstname} #{user.lastname} + span(class="font-weight-bold" style="color:black;") #{user.firstName} #{user.lastName} li(class="nav-item") a(class="nav-link pl-0" href="/account/profile") i(class="fa fa-user fa-fw") diff --git a/views/DE/account/services.pug b/views/DE/account/services.pug index 86f526dc7168254c1f4cf335979c22739c1eb7df..4d678f8b96c1bd349012123804ece7dad38b57ff 100644 --- a/views/DE/account/services.pug +++ b/views/DE/account/services.pug @@ -4,8 +4,8 @@ html(lang="de") title= "User Profile" meta(charset="UTF-8") meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no") - link(rel="stylesheet", type="text/css", href="https://m4lab.hft-stuttgart.de/css/bootstrap.min.css") - link(rel="stylesheet", type="text/css", href="https://m4lab.hft-stuttgart.de/css/m4lab.css") + link(rel="stylesheet", type="text/css", href="/css/bootstrap.min.css") + link(rel="stylesheet", type="text/css", href="/css/m4lab.css") link(rel="stylesheet", href="https://use.fontawesome.com/releases/v5.8.2/css/all.css", integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay", crossorigin="anonymous") body div(class="container") @@ -16,12 +16,12 @@ html(lang="de") ul(class="flex-md-column flex-row navbar-nav w-100 justify-content-between") li(class="nav-item") a(class="nav-link pl-0 text-nowrap" href="/") - span(class="font-weight-bold" style="color:black;") #{user.fullName} + span(class="font-weight-bold" style="color:black;") #{user.firstName} #{user.lastName} li(class="nav-item") a(class="nav-link pl-0" href="/account/profile") i(class="fa fa-user fa-fw") span(class="d-none d-md-inline") Benutzerprofil - if user.m4lab_idp == 1 + if user.is_m4lab_idp li(class="nav-item") a(class="nav-link pl-0" href="/account/security") i(class="fa fa-lock fa-fw") @@ -49,7 +49,7 @@ html(lang="de") div(class="row pb-1") div(class="col font-weight-bold") Projektinformationen div(class="col text-right") - a(href="/newInformation" class="btn btn-sm btn-success" role="button") New Information + a(href="/account/newInformation" class="btn btn-sm btn-success" role="button") New Information table(class="table") for item in gitlabPages - let img = item.logo @@ -69,7 +69,7 @@ html(lang="de") div(class="row pb-1") div(class="col font-weight-bold") Projektcode und -daten div(class="col text-right") - button(type="button", class="btn btn-sm btn-success") New Code and Data + button(type="button", class="btn btn-sm btn-success" disabled) New Code and Data table(class="table") for item in gitlabRepos - let img = item.logo diff --git a/views/DE/account/updateInformation.pug b/views/DE/account/updateInformation.pug index 4f42ca21e05f73557fc896245c284c8fd7796b31..45602d0567bc6cc2168788d0d4c149d9ebee73e9 100644 --- a/views/DE/account/updateInformation.pug +++ b/views/DE/account/updateInformation.pug @@ -4,8 +4,8 @@ html(lang="de") title= "Update a website" meta(charset="UTF-8") meta(name="viewport", content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no") - link(rel="stylesheet", type="text/css", href="https://m4lab.hft-stuttgart.de/css/bootstrap.min.css") - link(rel="stylesheet", type="text/css", href="https://m4lab.hft-stuttgart.de/css/m4lab.css") + link(rel="stylesheet", type="text/css", href="/css/bootstrap.min.css") + link(rel="stylesheet", type="text/css", href="/css/m4lab.css") link(rel="stylesheet", href="https://use.fontawesome.com/releases/v5.8.2/css/all.css", integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay", crossorigin="anonymous") body div(class="container") @@ -16,12 +16,12 @@ html(lang="de") ul(class="flex-md-column flex-row navbar-nav w-100 justify-content-between") li(class="nav-item") a(class="nav-link pl-0 text-nowrap" href="/account/") - span(class="font-weight-bold" style="color:black;") #{user.fullName} + span(class="font-weight-bold" style="color:black;") #{user.firstName} #{user.lastName} li(class="nav-item") a(class="nav-link pl-0" href="/account/profile") i(class="fa fa-user fa-fw") span(class="d-none d-md-inline") Benutzerprofil - if user.m4lab_idp == 1 + if user.is_m4lab_idp li(class="nav-item") a(class="nav-link pl-0" href="/account/security") i(class="fa fa-lock fa-fw")