Fixing taskboard, showing selected points

stable
Alejandro Alonso 2014-07-09 10:08:18 +02:00
parent a81ffef253
commit ade4938c06
2 changed files with 5 additions and 3 deletions

View File

@ -235,7 +235,8 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
<ul class="popover pop-points">
<% _.each(points, function(point) { %>
<li>
<a href="" class="point" title="<%- point.name %>"
<a href="" class="point <% if (point.id == rolePoint.point.id) { %>active<% } %>"
title="<%- point.name %>"
data-point-id="<%- point.id %>" data-role-id="<%- rolePoint.role.id %>">
<%- point.name %>
</a>
@ -294,7 +295,7 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
$scope.$apply ->
onSuccess = ->
$repo.refresh(us) ->
$repo.refresh(us).then ->
# TODO: Remove me when backlog will be fixed
$ctrl.loadSprintStats()

View File

@ -100,7 +100,8 @@ $column-margin: 0 10px 0 0;
a {
display: block;
text-align: center;
&:hover {
&:hover,
&.active {
background: $fresh-taiga;
color: $white;
}