Styled dragged status for US
parent
23ad539692
commit
38142a50b7
|
@ -480,11 +480,11 @@ UsRolePointsSelectorDirective = ($rootscope) ->
|
|||
|
||||
$scope.$on "uspoints:select", (ctx, roleId, roleName) ->
|
||||
$el.find(".popover").hide()
|
||||
$el.find("span").text(roleName)
|
||||
$el.find(".header-points").text(roleName)
|
||||
|
||||
$scope.$on "uspoints:clear-selection", (ctx, roleId) ->
|
||||
$el.find(".popover").hide()
|
||||
$el.find("span").text("Points") #TODO: i18n
|
||||
$el.find(".header-points").text("Points") #TODO: i18n
|
||||
|
||||
$el.on "click", (event) ->
|
||||
target = angular.element(event.target)
|
||||
|
|
|
@ -2,7 +2,7 @@ div.row.us-item-row(ng-repeat="us in visibleUserstories track by us.id")
|
|||
div.user-stories
|
||||
div.user-story-name
|
||||
input(type="checkbox", name="")
|
||||
a(href="") {{ us.subject }}
|
||||
a(href="", title="{{ us.subject }}") {{ us.subject }}
|
||||
span.us-settings
|
||||
a.icon.icon-edit(href="", ng-click="ctrl.editUserStory(us)", title="Edit")
|
||||
a.icon.icon-delete(href="", ng-click="ctrl.deleteUserStory(us)", title="Delete")
|
||||
|
@ -11,8 +11,11 @@ div.row.us-item-row(ng-repeat="us in visibleUserstories track by us.id")
|
|||
|
||||
div.status.width-2(tg-us-status="us" on-update="ctrl.loadProjectStats()")
|
||||
a.us-status(href="", title="Status Name")
|
||||
span.icon.icon-arrow-bottom
|
||||
|
||||
div.points(tg-us-points="us")
|
||||
a.us-points(href="", title="Points") 0
|
||||
a.us-points(href="", title="Points")
|
||||
span.points-value 0
|
||||
span.icon.icon-arrow-bottom
|
||||
|
||||
a.icon.icon-drag-v(href="", title="Drag")
|
||||
|
|
|
@ -3,6 +3,8 @@ section.backlog-table-header
|
|||
div.user-stories User Stories
|
||||
div.status Status
|
||||
div.points(tg-us-role-points-selector)
|
||||
span Points
|
||||
span.header-points Points
|
||||
span.icon.icon-arrow-bottom
|
||||
|
||||
section.backlog-table-body
|
||||
include ../components/backlog-row
|
||||
|
|
|
@ -70,6 +70,9 @@
|
|||
background: $whitish;
|
||||
}
|
||||
}
|
||||
.points {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.backlog-table-body {
|
||||
|
|
|
@ -132,6 +132,21 @@
|
|||
margin-top: 1rem;
|
||||
text-align: center;
|
||||
}
|
||||
.us-item-row {
|
||||
.user-story-tags,
|
||||
.us-settings,
|
||||
.status,
|
||||
.icon-drag-v,
|
||||
.popover,
|
||||
input {
|
||||
display: none;
|
||||
}
|
||||
.user-story-name {
|
||||
@extend %small;
|
||||
line-height: 1rem;
|
||||
margin-top: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If Sprint is open but date is old
|
||||
|
|
Loading…
Reference in New Issue