DTP Base provides a scalable and secure Node.js application development harness ready for production service.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
909 B

extends ../layout/main
block view-content
section.uk-section.uk-section-default.uk-section-small
.uk-container
.uk-margin-medium
div(uk-grid)
.uk-width-expand
h1.uk-margin-remove= client.name
if client.description
div= client.description
.uk-width-auto
a(href=`/client/${client._id}/project/create`).uk-button.uk-button-default.uk-border-rounded Add Project
.uk-margin
h2 Projects
if Array.isArray(projects) && (projects.length > 0)
ul.uk-list.uk-list-divided
each project in projects
li
a(href=`/client/${client._id}/project/${project._id}`).uk-link-reset.uk-display-block
.uk-text-bold= project.name
.uk-text-small= project.description || 'No description'
else
div There are no projects