Fix some titles of links and some alt of images in the taskboard
parent
6645b5429f
commit
db31f3ffdf
|
@ -220,7 +220,8 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
|
||||||
<% _.each(usRolePoints, function(rolePoint) { %>
|
<% _.each(usRolePoints, function(rolePoint) { %>
|
||||||
<li>
|
<li>
|
||||||
<%- rolePoint.role.name %>
|
<%- rolePoint.role.name %>
|
||||||
<a href="" class="us-role-points">
|
<a href="" class="us-role-points"
|
||||||
|
title="Change user story points for role '<%- rolePoint.role.name %>'">
|
||||||
<%- rolePoint.point.name %>
|
<%- rolePoint.point.name %>
|
||||||
<span class="icon icon-arrow-bottom"></span>
|
<span class="icon icon-arrow-bottom"></span>
|
||||||
</a>
|
</a>
|
||||||
|
@ -236,7 +237,7 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<% }); %>
|
<% }); %>
|
||||||
""")
|
""") # TODO: i18n
|
||||||
renderUserStoryPoints = ($el, $scope, us) ->
|
renderUserStoryPoints = ($el, $scope, us) ->
|
||||||
points = $scope.pointsList
|
points = $scope.pointsList
|
||||||
usRolePoints = []
|
usRolePoints = []
|
||||||
|
@ -291,7 +292,7 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
|
||||||
$ctrl.loadSprintStats()
|
$ctrl.loadSprintStats()
|
||||||
|
|
||||||
onError = ->
|
onError = ->
|
||||||
$confirm.notify("error", "There is an error. Try it later.")
|
$confirm.notify("error", "There is an error. Try it later.") # TODO: i18n
|
||||||
us.revert()
|
us.revert()
|
||||||
renderUserStoryPoints($el, $scope, us)
|
renderUserStoryPoints($el, $scope, us)
|
||||||
|
|
||||||
|
@ -369,7 +370,7 @@ SprintGraphDirective = ->
|
||||||
redrawChart(element, $scope.stats.days)
|
redrawChart(element, $scope.stats.days)
|
||||||
|
|
||||||
$scope.$on "taskboard:graph:toggle-visibility", ->
|
$scope.$on "taskboard:graph:toggle-visibility", ->
|
||||||
$el.parent().toggleClass('open');
|
$el.parent().toggleClass('open')
|
||||||
|
|
||||||
$scope.$on "$destroy", ->
|
$scope.$on "$destroy", ->
|
||||||
$el.off()
|
$el.off()
|
||||||
|
|
|
@ -2,11 +2,12 @@ div.taskboard-tagline
|
||||||
a.taskboard-tag(ng-repeat="tag in task.tags" href="" title="{{ tag }}")
|
a.taskboard-tag(ng-repeat="tag in task.tags" href="" title="{{ tag }}")
|
||||||
div.taskboard-task-inner
|
div.taskboard-task-inner
|
||||||
figure.avatar
|
figure.avatar
|
||||||
a(href="", title="UserName")
|
a(href="", title="See {{ usersById[task.assigned_to].username }}'s profile")
|
||||||
img.avatar(src="{{ usersById[task.assigned_to].photo }}", alt="{{ usersById[task.assigned_to].full_name_display }}")
|
img.avatar(src="{{ usersById[task.assigned_to].photo }}",
|
||||||
|
alt="{{ usersById[task.assigned_to].username }}'s avatar")
|
||||||
figcaption {{ usersById[task.assigned_to].full_name_display }}
|
figcaption {{ usersById[task.assigned_to].full_name_display }}
|
||||||
p.taskboard-text
|
p.taskboard-text
|
||||||
span.task-num(ng-bind="task.ref")
|
span.task-num(ng-bind="task.ref")
|
||||||
a.task-name(href="", title="task.subject", ng-bind="task.subject")
|
a.task-name(href="", title="See task details", ng-bind="task.subject")
|
||||||
a.icon.icon-edit(href="", title="Edit", ng-click="ctrl.editTask(task)")
|
a.icon.icon-edit(href="", title="Edit task", ng-click="ctrl.editTask(task)")
|
||||||
a.icon.icon-drag-h(href="", title="Drag&Drop")
|
a.icon.icon-drag-h(href="", title="Drag&Drop")
|
||||||
|
|
|
@ -13,7 +13,7 @@ div.taskboard-table
|
||||||
span.us-ref(tg-bo-ref="us.ref")
|
span.us-ref(tg-bo-ref="us.ref")
|
||||||
span(ng-bind="us.subject")
|
span(ng-bind="us.subject")
|
||||||
div.status(tg-us-status="us", on-update="ctrl.loadSprintState()")
|
div.status(tg-us-status="us", on-update="ctrl.loadSprintState()")
|
||||||
a.us-status(href="", title="Status Name")
|
a.us-status(href="", title="Change user story status")
|
||||||
span.us-status-bind
|
span.us-status-bind
|
||||||
span.icon.icon-arrow-bottom
|
span.icon.icon-arrow-bottom
|
||||||
ul.points-list(tg-taskboard-us-points="us")
|
ul.points-list(tg-taskboard-us-points="us")
|
||||||
|
|
Loading…
Reference in New Issue