Fixing home links to projects

stable
Alejandro Alonso 2014-08-18 10:43:25 +02:00
parent dfb52a4115
commit 25588422ae
2 changed files with 6 additions and 5 deletions

View File

@ -9,8 +9,9 @@ block content
.home-projects-list-inner
div.recent-projects
ul
li(ng-repeat="project in ctrl.projects.recents", tg-nav="project:project=project.slug")
li(ng-repeat="project in ctrl.projects.recents")
.project-content
a(href="{{ project.url }}")
h2(tg-bo-bind="project.name")
p(tg-bo-bind="project.description")
@ -19,7 +20,7 @@ block content
div(tg-projects-pagination, active="ctrl.projects.all.length")
ul
li(ng-repeat="project in ctrl.projects.all")
a.button(href="", tg-bo-bind="project.name", tg-nav="project:project=project.slug")
a.button(tg-bo-bind="project.name", href="{{ project.url }}")
.create-project-button-wrapper
a.button.button-green(href="", ng-click="ctrl.newProject()") Create project