From 7823c0dbe27ad854dac91b63ba8fce04e2d4e501 Mon Sep 17 00:00:00 2001 From: cpheimbach Date: Thu, 21 Dec 2017 18:44:39 +0000 Subject: [PATCH] feat(profile): Adds certificates to static profile path I added all boolean checks, buttons and routes of the new certificates to the view. (According to user.json) Closes #16246 --- server/views/account/show.jade | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/server/views/account/show.jade b/server/views/account/show.jade index 2f7f21a523..f666ffe2e1 100644 --- a/server/views/account/show.jade +++ b/server/views/account/show.jade @@ -56,6 +56,21 @@ block content if isBackEndCert .button-spacer a.btn.btn-primary.btn-block(href='/' + username + '/back-end-certification') View My Back End Development Certification + if isRespWebDesignCert + .button-spacer + a.btn.btn-primary.btn-block(href='/' + username + '/responsive-web-design-certification') View My Responsive Web Design Certification + if isFrontEndLibsCert + .button-spacer + a.btn.btn-primary.btn-block(href='/' + username + '/front-end-libraries-certification') View My Front End Libraries Certification + if isJsAlgoDataStructCert + .button-spacer + a.btn.btn-primary.btn-block(href='/' + username + '/javascript-algorithms-data-structures-certification') View My JavaScript Algorithms Data Structures Certification + if isApisMicroservicesCert + .button-spacer + a.btn.btn-primary.btn-block(href='/' + username + '/apis-microservices-certification') View My APIs Microservices Certification + if isInfosecQaCert + .button-spacer + a.btn.btn-primary.btn-block(href='/' + username + '/information-security-quality-assurance-certification') View My Information Sequrity Quality Assurance Certification if (user && user.username != username) .button-spacer a.btn.btn-primary.btn-block(href='/' + username + '/report-user/') Report this user's profile for abuse