aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/views/dashboard.ejs
diff options
context:
space:
mode:
Diffstat (limited to 'views/dashboard.ejs')
-rw-r--r--views/dashboard.ejs4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/dashboard.ejs b/views/dashboard.ejs
index 5eca9f1..a1f625a 100644
--- a/views/dashboard.ejs
+++ b/views/dashboard.ejs
@@ -12,10 +12,11 @@
<div class="smallfullwidth span5">
<h1>Prosjekter</h1>
<section class="projects">
+ <% projects.forEach(function(project) { %>
<section class="project">
<div class="row-fluid">
<div class="span11">
- <h1><a href="/project">dennisse/<strong>hytteturskogentilfrank</strong></a></h1>
+ <h1><a href="/project">dennisse/<strong><%= project.name %></strong></a></h1>
<div class="row-fluid">
<div class="span8">
<small>Meg, Robert, Turid-Laila, Kurt, Stian, Aleksander, Frank, Olav, Heidi, Anette, Kristine</small>
@@ -30,6 +31,7 @@
</div>
</div>
</section>
+ <% }); %>
<section class="project">
<div class="row-fluid">
<div class="span11">