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) { %>
|
||||
<li>
|
||||
<%- 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 %>
|
||||
<span class="icon icon-arrow-bottom"></span>
|
||||
</a>
|
||||
|
@ -236,7 +237,7 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
|
|||
</ul>
|
||||
</li>
|
||||
<% }); %>
|
||||
""")
|
||||
""") # TODO: i18n
|
||||
renderUserStoryPoints = ($el, $scope, us) ->
|
||||
points = $scope.pointsList
|
||||
usRolePoints = []
|
||||
|
@ -291,7 +292,7 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
|
|||
$ctrl.loadSprintStats()
|
||||
|
||||
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()
|
||||
renderUserStoryPoints($el, $scope, us)
|
||||
|
||||
|
@ -369,7 +370,7 @@ SprintGraphDirective = ->
|
|||
redrawChart(element, $scope.stats.days)
|
||||
|
||||
$scope.$on "taskboard:graph:toggle-visibility", ->
|
||||
$el.parent().toggleClass('open');
|
||||
$el.parent().toggleClass('open')
|
||||
|
||||
$scope.$on "$destroy", ->
|
||||
$el.off()
|
||||
|
|
|
@ -2,11 +2,12 @@ div.taskboard-tagline
|
|||
a.taskboard-tag(ng-repeat="tag in task.tags" href="" title="{{ tag }}")
|
||||
div.taskboard-task-inner
|
||||
figure.avatar
|
||||
a(href="", title="UserName")
|
||||
img.avatar(src="{{ usersById[task.assigned_to].photo }}", alt="{{ usersById[task.assigned_to].full_name_display }}")
|
||||
a(href="", title="See {{ usersById[task.assigned_to].username }}'s profile")
|
||||
img.avatar(src="{{ usersById[task.assigned_to].photo }}",
|
||||
alt="{{ usersById[task.assigned_to].username }}'s avatar")
|
||||
figcaption {{ usersById[task.assigned_to].full_name_display }}
|
||||
p.taskboard-text
|
||||
span.task-num(ng-bind="task.ref")
|
||||
a.task-name(href="", title="task.subject", ng-bind="task.subject")
|
||||
a.icon.icon-edit(href="", title="Edit", ng-click="ctrl.editTask(task)")
|
||||
a.task-name(href="", title="See task details", ng-bind="task.subject")
|
||||
a.icon.icon-edit(href="", title="Edit task", ng-click="ctrl.editTask(task)")
|
||||
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(ng-bind="us.subject")
|
||||
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.icon.icon-arrow-bottom
|
||||
ul.points-list(tg-taskboard-us-points="us")
|
||||
|
|
Loading…
Reference in New Issue