diff options
-rw-r--r-- | views/dashboard.ejs | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/views/dashboard.ejs b/views/dashboard.ejs index a1f625a..66dfa80 100644 --- a/views/dashboard.ejs +++ b/views/dashboard.ejs @@ -12,26 +12,26 @@ <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><%= 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> - </div> - <div class="span4"> - <small>Oppgjør: <span class="text-error">-200 kr</span></small> + <% projects.forEach(function(projects) { %> + <section class="project"> + <div class="row-fluid"> + <div class="span11"> + <h1><a href="/project"><%= projects.project.user.username %>/<strong><%= projects.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> + </div> + <div class="span4"> + <small>Oppgjør: <span class="text-error">-200 kr</span></small> + </div> </div> </div> + <div class="span1"> + <p>+</p> + </div> </div> - <div class="span1"> - <p>+</p> - </div> - </div> - </section> - <% }); %> + </section> + <% }); %> <section class="project"> <div class="row-fluid"> <div class="span11"> |