Remove mainTitle and other changes.

stable
Andrey Antukh 2014-06-17 18:36:53 +02:00
parent 5a614bd3a4
commit f1095bbffb
4 changed files with 7 additions and 6 deletions

View File

@ -22,7 +22,9 @@
# Html bind once directive
BindHtmlDirective = ->
link = (scope, element, attrs) ->
element.html(scope.$eval(attrs.tgBoHtml))
val = scope.$eval(attrs.tgBoHtml)
scope.$watch attrs.tgBoHtml, (val) ->
element.html(val) if val
return {link:link}

View File

@ -8,7 +8,9 @@ block content
sidebar.menu-secondary.extrabar.filters-bar
include views/modules/filters
section.main.backlog(tg-backlog)
include views/components/mainTitle
h1
span(tg-bo-html="project.name")
span.green Title
include views/components/summary
include views/modules/burndown
div.backlog-menu

View File

@ -1,3 +0,0 @@
h1
span ProjectName
span.green Title

View File

@ -31,7 +31,7 @@ section.sprints
a.us-name(href="", title="")
span(tg-bo-ref="us.ref")
span(tg-bo-html="us.subject")
div.column-points.width-1(tg-bindonce-html="us.total_points")
div.column-points.width-1(tg-bo-html="us.total_points")
a.button.button-gray(href="", title="Current Sprint Taskboard")
span Sprint Taskboard