Updating admin visualization for archived attribute in userstory status
parent
f6d973a2ae
commit
010211fb64
|
@ -136,6 +136,7 @@ ProjectValuesDirective = ($log, $repo, $confirm, $location, animationFrame) ->
|
||||||
$scope.newValue = {
|
$scope.newValue = {
|
||||||
"name": ""
|
"name": ""
|
||||||
"is_closed": false
|
"is_closed": false
|
||||||
|
"is_archived": false
|
||||||
}
|
}
|
||||||
|
|
||||||
initializeNewValue()
|
initializeNewValue()
|
||||||
|
|
|
@ -5,6 +5,7 @@ section.colors-table
|
||||||
div.status-name Name
|
div.status-name Name
|
||||||
div.status-slug Slug
|
div.status-slug Slug
|
||||||
div.is-closed-column Is closed?
|
div.is-closed-column Is closed?
|
||||||
|
div.is-archived-column Is archived?
|
||||||
div.status-wip-limit WIP Limit
|
div.status-wip-limit WIP Limit
|
||||||
div.options-column
|
div.options-column
|
||||||
|
|
||||||
|
@ -26,6 +27,9 @@ section.colors-table
|
||||||
div.is-closed-column
|
div.is-closed-column
|
||||||
div.icon.icon-check-square(ng-show="value.is_closed")
|
div.icon.icon-check-square(ng-show="value.is_closed")
|
||||||
|
|
||||||
|
div.is-archived-column
|
||||||
|
div.icon.icon-check-square(ng-show="value.is_archived")
|
||||||
|
|
||||||
div.status-wip-limit
|
div.status-wip-limit
|
||||||
span {{ value.wip_limit }}
|
span {{ value.wip_limit }}
|
||||||
|
|
||||||
|
@ -45,6 +49,11 @@ section.colors-table
|
||||||
div.is-closed-column
|
div.is-closed-column
|
||||||
select(name="is_closed", ng-model="value.is_closed", data-required="true",
|
select(name="is_closed", ng-model="value.is_closed", data-required="true",
|
||||||
ng-options="e.id as e.name for e in [{'id':true, 'name':'Yes'},{'id':false, 'name': 'No'}]")
|
ng-options="e.id as e.name for e in [{'id':true, 'name':'Yes'},{'id':false, 'name': 'No'}]")
|
||||||
|
|
||||||
|
div.is-archived-column
|
||||||
|
select(name="is_archived", ng-model="value.is_archived", data-required="true",
|
||||||
|
ng-options="e.id as e.name for e in [{'id':true, 'name':'Yes'},{'id':false, 'name': 'No'}]")
|
||||||
|
|
||||||
div.status-wip-limit
|
div.status-wip-limit
|
||||||
input(name="wip_limit", type="number", placeholder="WIP Limit",
|
input(name="wip_limit", type="number", placeholder="WIP Limit",
|
||||||
ng-model="value.wip_limit", data-type="digits")
|
ng-model="value.wip_limit", data-type="digits")
|
||||||
|
@ -67,6 +76,10 @@ section.colors-table
|
||||||
select(name="is_closed", ng-model="newValue.is_closed", data-required="true",
|
select(name="is_closed", ng-model="newValue.is_closed", data-required="true",
|
||||||
ng-options="e.id as e.name for e in [{'id':true, 'name':'Yes'},{'id':false, 'name': 'No'}]")
|
ng-options="e.id as e.name for e in [{'id':true, 'name':'Yes'},{'id':false, 'name': 'No'}]")
|
||||||
|
|
||||||
|
div.is-archived-column
|
||||||
|
select(name="is_archived", ng-model="newValue.is_archived", data-required="true",
|
||||||
|
ng-options="e.id as e.name for e in [{'id':true, 'name':'Yes'},{'id':false, 'name': 'No'}]")
|
||||||
|
|
||||||
div.status-wip-limit
|
div.status-wip-limit
|
||||||
input(name="wip_limit", type="number", placeholder="WIP Limit",
|
input(name="wip_limit", type="number", placeholder="WIP Limit",
|
||||||
ng-model="newValue.wip_limit", data-type="digits")
|
ng-model="newValue.wip_limit", data-type="digits")
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
max-width: 100px;
|
max-width: 100px;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
.is-archived-column,
|
||||||
.is-closed-column,
|
.is-closed-column,
|
||||||
.options-column,
|
.options-column,
|
||||||
.status-wip-limit {
|
.status-wip-limit {
|
||||||
|
@ -59,6 +60,11 @@
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
}
|
}
|
||||||
|
.is-archived-column {
|
||||||
|
max-width: 130px;
|
||||||
|
padding: 0 0 0 10px;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
.is-closed-column {
|
.is-closed-column {
|
||||||
max-width: 130px;
|
max-width: 130px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
Loading…
Reference in New Issue