@@ -302,8 +302,8 @@ IssueTypeButtonDirective = ($rootScope, $repo, $confirm, $loading) ->
template = _.template("""
-
-
<%= type.name %>
+
+
<%- type.name %>
<% if(editable){ %>
<% }%>
type
@@ -396,8 +396,8 @@ IssueSeverityButtonDirective = ($rootScope, $repo, $confirm, $loading) ->
template = _.template("""
-
-
<%= severity.name %>
+
+
<%- severity.name %>
<% if(editable){ %>
<% }%>
severity
@@ -490,8 +490,8 @@ IssuePriorityButtonDirective = ($rootScope, $repo, $confirm, $loading) ->
template = _.template("""
-
-
<%= priority.name %>
+
+
<%- priority.name %>
<% if(editable){ %>
<% }%>
priority
diff --git a/app/coffee/modules/issues/list.coffee b/app/coffee/modules/issues/list.coffee
index 5ab0bca7..5b2ac3f7 100644
--- a/app/coffee/modules/issues/list.coffee
+++ b/app/coffee/modules/issues/list.coffee
@@ -319,11 +319,11 @@ paginatorTemplate = """
<% } %>
<% _.each(pages, function(item) { %>
-
+
<% if (item.type === "page") { %>
- <%= item.num %>
+ <%- item.num %>
<% } else if (item.type === "page-active") { %>
- <%= item.num %>
+ <%- item.num %>
<% } else { %>
...
<% } %>
@@ -469,8 +469,8 @@ IssuesFiltersDirective = ($log, $location, $rs, $confirm, $loading) ->
<% _.each(filters, function(f) { %>
<% if (!f.selected) { %>
+ data-type="<%- f.type %>"
+ data-id="<%- f.id %>">
style="border-left: 3px solid <%- f.color %>;"<% } %>>
<%- f.name %>
@@ -491,9 +491,9 @@ IssuesFiltersDirective = ($log, $location, $rs, $confirm, $loading) ->
templateSelected = _.template("""
<% _.each(filters, function(f) { %>
- style="border-left: 3px solid <%= f.color %>;"<% } %>>
+ data-type="<%- f.type %>"
+ data-id="<%- f.id %>">
+ style="border-left: 3px solid <%- f.color %>;"<% } %>>
<%- f.name %>
@@ -786,7 +786,7 @@ module.directive("tgIssueStatusInlineEdition", ["$tgRepo", IssueStatusInlineEdit
IssueAssignedToInlineEditionDirective = ($repo, $rootscope, popoverService) ->
template = _.template("""
-
+
<%- name %>
""")
diff --git a/app/coffee/modules/kanban/main.coffee b/app/coffee/modules/kanban/main.coffee
index dda5460d..3ab7a514 100644
--- a/app/coffee/modules/kanban/main.coffee
+++ b/app/coffee/modules/kanban/main.coffee
@@ -392,7 +392,7 @@ KanbanUserDirective = ($log) ->
template = _.template("""
class="not-clickable"<% } %>>
-
+
""") # TODO: i18n
diff --git a/app/coffee/modules/nav.coffee b/app/coffee/modules/nav.coffee
index b3e35b1a..6567f196 100644
--- a/app/coffee/modules/nav.coffee
+++ b/app/coffee/modules/nav.coffee
@@ -272,7 +272,7 @@ ProjectMenuDirective = ($log, $compile, $auth, $rootscope, $tgAuth, $location, $
Logout
-
+
diff --git a/app/coffee/modules/related-tasks.coffee b/app/coffee/modules/related-tasks.coffee
index 66d38bef..c7acbffe 100644
--- a/app/coffee/modules/related-tasks.coffee
+++ b/app/coffee/modules/related-tasks.coffee
@@ -310,7 +310,7 @@ module.directive("tgRelatedTasks", ["$tgRepo", "$tgResources", "$rootScope", Rel
RelatedTaskAssignedToInlineEditionDirective = ($repo, $rootscope, popoverService) ->
template = _.template("""
-

+
<%- name %>
""")
diff --git a/app/coffee/modules/taskboard/main.coffee b/app/coffee/modules/taskboard/main.coffee
index bed2c3ba..331a69b2 100644
--- a/app/coffee/modules/taskboard/main.coffee
+++ b/app/coffee/modules/taskboard/main.coffee
@@ -316,7 +316,7 @@ TaskboardUserDirective = ($log) ->
template = _.template("""
class="not-clickable"<% } %>>
-
+
""") # TODO: i18n
diff --git a/app/coffee/modules/tasks/detail.coffee b/app/coffee/modules/tasks/detail.coffee
index 5598ccc5..0dfef32a 100644
--- a/app/coffee/modules/tasks/detail.coffee
+++ b/app/coffee/modules/tasks/detail.coffee
@@ -168,8 +168,8 @@ TaskStatusDisplayDirective = ->
Open
<% } %>
-
- <%= status.name %>
+
+ <%- status.name %>
""") # TODO: i18n
@@ -212,8 +212,8 @@ TaskStatusButtonDirective = ($rootScope, $repo, $confirm, $loading) ->
template = _.template("""
-
-
<%= status.name %>
+
+
<%- status.name %>
<% if(editable){ %>
<% }%>
status
diff --git a/app/coffee/modules/userstories/detail.coffee b/app/coffee/modules/userstories/detail.coffee
index 050679b4..71e7a8a7 100644
--- a/app/coffee/modules/userstories/detail.coffee
+++ b/app/coffee/modules/userstories/detail.coffee
@@ -177,8 +177,8 @@ UsStatusDisplayDirective = ->
Open
<% } %>
-
- <%= status.name %>
+
+ <%- status.name %>
""") # TODO: i18n
@@ -441,8 +441,8 @@ UsStatusButtonDirective = ($rootScope, $repo, $confirm, $loading) ->
template = _.template("""
-
-
<%= status.name %>
+
+
<%- status.name %>
<% if(editable){ %>
<% }%>
status
diff --git a/app/coffee/modules/wiki/main.coffee b/app/coffee/modules/wiki/main.coffee
index 354822ef..3c6a1179 100644
--- a/app/coffee/modules/wiki/main.coffee
+++ b/app/coffee/modules/wiki/main.coffee
@@ -163,7 +163,7 @@ WikiSummaryDirective = ($log) ->
-
+
last modification
<%- user.name %>
diff --git a/app/partials/issues-detail.jade b/app/partials/issues-detail.jade
index 5d717f1c..91448c44 100644
--- a/app/partials/issues-detail.jade
+++ b/app/partials/issues-detail.jade
@@ -25,7 +25,7 @@ block content
p.block-desc-container(ng-show="issue.is_blocked")
span.block-description-title Blocked
- span.block-description(tg-bind-html="issue.blocked_note || 'This issue is blocked'")
+ span.block-description(ng-bind="issue.blocked_note || 'This issue is blocked'")
div.issue-nav
a.icon.icon-arrow-left(ng-show="previousUrl", tg-bo-href="previousUrl",
diff --git a/app/partials/task-detail.jade b/app/partials/task-detail.jade
index 65fd4c63..f1bb79c6 100644
--- a/app/partials/task-detail.jade
+++ b/app/partials/task-detail.jade
@@ -29,7 +29,7 @@ block content
span(tg-bo-bind="us.subject")
p.block-desc-container(ng-show="task.is_blocked")
span.block-description-title Blocked
- span.block-description(tg-bind-html="task.blocked_note || 'This task is blocked'")
+ span.block-description(ng-bind="task.blocked_note || 'This task is blocked'")
div.issue-nav
a.icon.icon-arrow-left(ng-show="previousUrl", tg-bo-href="previousUrl",
title="previous task")
diff --git a/app/partials/us-detail.jade b/app/partials/us-detail.jade
index ab4931c9..14f05a05 100644
--- a/app/partials/us-detail.jade
+++ b/app/partials/us-detail.jade
@@ -30,7 +30,7 @@ block content
p.block-desc-container(ng-show="us.is_blocked")
span.block-description-title Blocked
- span.block-description(tg-bind-html="us.blocked_note || 'This user story is blocked'")
+ span.block-description(ng-bind="us.blocked_note || 'This user story is blocked'")
div.issue-nav
a.icon.icon-arrow-left(ng-show="previousUrl", tg-bo-href="previousUrl",
title="previous user story")
diff --git a/app/partials/views/components/kanban-task.jade b/app/partials/views/components/kanban-task.jade
index 55012439..522616b3 100644
--- a/app/partials/views/components/kanban-task.jade
+++ b/app/partials/views/components/kanban-task.jade
@@ -4,10 +4,10 @@ div.kanban-task-inner
div.task-text
a.task-assigned(href="", title="Assign User Story")
span.task-num(tg-bo-ref="us.ref")
- a.task-name(href="", tg-bo-title="us.subject", tg-bind-html="us.subject",
+ a.task-name(href="", tg-bo-title="us.subject", ng-bind="us.subject",
tg-nav="project-userstories-detail:project=project.slug,ref=us.ref")
a.task-points(href="", title="Total Us points")
- span(tg-bind-html="us.total_points") --
+ span(ng-bind="us.total_points") --
span points
a.icon.icon-edit(tg-check-permission="modify_us", href="", title="Edit")
a.icon.icon-drag-h(tg-check-permission="modify_us", href="", title="Drag&Drop")
diff --git a/app/partials/views/components/sprint-summary.jade b/app/partials/views/components/sprint-summary.jade
index 71c4e124..585f7b25 100644
--- a/app/partials/views/components/sprint-summary.jade
+++ b/app/partials/views/components/sprint-summary.jade
@@ -2,7 +2,7 @@ div.summary.large-summary
div
div.summary-progress-bar(tg-progress-bar="stats.completedPercentage")
div.data
- span.number(tg-bind-html="stats.completedPercentage + '%'")
+ span.number(ng-bind="stats.completedPercentage + '%'")
ul
li
diff --git a/app/partials/views/components/summary.jade b/app/partials/views/components/summary.jade
index f8031e8e..9af07112 100644
--- a/app/partials/views/components/summary.jade
+++ b/app/partials/views/components/summary.jade
@@ -2,17 +2,17 @@ div.summary
div.summary-progress-bar(tg-backlog-progress-bar="stats")
div.data
- span.number(tg-bind-html="stats.completedPercentage + '%'")
+ span.number(ng-bind="stats.completedPercentage + '%'")
ul
li
- span.number(tg-bind-html="stats.total_points") --
+ span.number(ng-bind="stats.total_points") --
span.description project
points
li
- span.number(tg-bind-html="stats.defined_points") --
+ span.number(ng-bind="stats.defined_points") --
span.description defined
points
li
- span.number(tg-bind-html="stats.closed_points") --
+ span.number(ng-bind="stats.closed_points") --
span.description closed
points
li
- span.number(tg-bind-html="stats.speed | number:0") --
+ span.number(ng-bind="stats.speed | number:0") --
span.description points /
sprint
diff --git a/app/partials/views/modules/sprints.jade b/app/partials/views/modules/sprints.jade
index 4a39c413..d850e14d 100644
--- a/app/partials/views/modules/sprints.jade
+++ b/app/partials/views/modules/sprints.jade
@@ -4,7 +4,7 @@ section.sprints
div.summary
ul
li
- span.number(tg-bind-html="sprintsCounter") --
+ span.number(ng-bind="sprintsCounter") --
span.description
sprints
div.new-sprint
a.button.button-green(href="", title="Add New sprint",