diff --git a/views/DE/account/home.pug b/views/DE/account/home.pug index 95898ac4b014a7b59bf0e53fe78c2633f663b340..a12bd6953b5003075e2dd802a8c2800f4c6cd29b 100644 --- a/views/DE/account/home.pug +++ b/views/DE/account/home.pug @@ -25,7 +25,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="#") - span(class="font-weight-bold" style="color:black;") #{user.firstname} #{user.lastname} + span(class="font-weight-bold" style="color:black;") #{user.fullName} 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 305bf02599f1463f76b5bdfde07ee20d13c783c9..86f526dc7168254c1f4cf335979c22739c1eb7df 100644 --- a/views/DE/account/services.pug +++ b/views/DE/account/services.pug @@ -16,7 +16,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="/") - span(class="font-weight-bold" style="color:black;") #{user.firstname} #{user.lastname} + span(class="font-weight-bold" style="color:black;") #{user.fullName} li(class="nav-item") a(class="nav-link pl-0" href="/account/profile") i(class="fa fa-user fa-fw") @@ -49,17 +49,21 @@ html(lang="de") div(class="row pb-1") div(class="col font-weight-bold") Projektinformationen div(class="col text-right") - a(href="/newPages" class="btn btn-sm btn-success" role="button") New Information + a(href="/newInformation" class="btn btn-sm btn-success" role="button") New Information table(class="table") for item in gitlabPages - - var img = item.avatar_url + - let img = item.logo + - let editNewPageLink = "/account/updateInformation?id="+item.id tr td img(src=img, width="45", height="45") - td #{item.name} if item.isPublished + td + a(href=editNewPageLink+"&s=y" class="link-dark") #{item.name} td published else + td + a(href=editNewPageLink+"&s=n" class="link-dark") #{item.name} td not published yet div(class="container") div(class="row pb-1") @@ -68,7 +72,7 @@ html(lang="de") button(type="button", class="btn btn-sm btn-success") New Code and Data table(class="table") for item in gitlabRepos - - var img = item.avatar_url + - let img = item.logo tr td img(src=img, width="45", height="45")