diff options
author | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 12:24:59 +0200 |
---|---|---|
committer | Dennis Eriksen <dennis.se@gmail.com> | 2013-04-30 12:24:59 +0200 |
commit | afd9ee0713c1f6deca72d7223d8cbe178e45831e (patch) | |
tree | 11b9f496ea99d0cf0e25adbc52f5d34108fec296 /views | |
parent | Changed icon mouseovers for Divid Home (diff) | |
download | Divid-afd9ee0713c1f6deca72d7223d8cbe178e45831e.tar.gz |
made the dashboard list actice projects
Diffstat (limited to 'views')
-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"> |