diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 09:09:55 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 09:09:55 +0200 |
commit | f93cd061359f9060976d8209a0cc37d42b295edf (patch) | |
tree | a8b1854cc077852d9857a9a91fa7440f98526c69 /views | |
parent | changed port AGAIN (diff) | |
download | Divid-f93cd061359f9060976d8209a0cc37d42b295edf.tar.gz |
working with project listing
Diffstat (limited to 'views')
-rw-r--r-- | views/dashboard.ejs | 4 |
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"> |