diff options
author | Erling Aaby <erlinaa@stud.hist.no> | 2013-04-30 13:45:06 +0200 |
---|---|---|
committer | Erling Aaby <erlinaa@stud.hist.no> | 2013-04-30 13:45:06 +0200 |
commit | 546dabe8f94dd96125a611587f8197d49a36f16a (patch) | |
tree | 746eec12b95268f41b992d2002e19bbc1f5c0f94 /views | |
parent | changes in use.less (diff) | |
parent | removed old router (diff) | |
download | Divid-546dabe8f94dd96125a611587f8197d49a36f16a.tar.gz |
Merge branch 'master' of github.com:dennisse/Divid
Diffstat (limited to 'views')
-rw-r--r-- | views/dashboard.ejs | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/views/dashboard.ejs b/views/dashboard.ejs index 5eca9f1..dfd76f6 100644 --- a/views/dashboard.ejs +++ b/views/dashboard.ejs @@ -12,24 +12,26 @@ <div class="smallfullwidth span5"> <h1>Prosjekter</h1> <section class="projects"> - <section class="project"> - <div class="row-fluid"> - <div class="span11"> - <h1><a href="/project">dennisse/<strong>hytteturskogentilfrank</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.shortURL %>"><%= 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"> |