increase votes column width & remove backlog select column when the user doesn't have perms

stable
Juanfran 2015-10-30 14:21:10 +01:00
parent c4448ac8cc
commit 574553e3c2
3 changed files with 6 additions and 6 deletions

View File

@ -4,10 +4,10 @@ div.row.us-item-row(
ng-class="{blocked: us.is_blocked}" ng-class="{blocked: us.is_blocked}"
tg-class-permission="{'readonly': '!modify_us'}" tg-class-permission="{'readonly': '!modify_us'}"
) )
div.input div.input(tg-check-permission="modify_us")
input(type="checkbox" input(
type="checkbox"
name="" name=""
tg-check-permission="modify_us"
) )
div.votes( div.votes(
ng-class="{'inactive': !us.total_voters, 'is-voted': us.is_voter}" ng-class="{'inactive': !us.total_voters, 'is-voted': us.is_voter}"

View File

@ -1,6 +1,6 @@
div.backlog-table-header div.backlog-table-header
div.row.backlog-table-title div.row.backlog-table-title
div.input div.input(tg-check-permission="modify_us")
div.votes(translate="COMMON.FIELDS.VOTES") div.votes(translate="COMMON.FIELDS.VOTES")
div.user-stories(translate="BACKLOG.TABLE.COLUMN_US") div.user-stories(translate="BACKLOG.TABLE.COLUMN_US")
div.status(translate="COMMON.FIELDS.STATUS") div.status(translate="COMMON.FIELDS.STATUS")

View File

@ -30,7 +30,7 @@
} }
.votes { .votes {
color: $gray; color: $gray;
flex-basis: 50px; flex-basis: 65px;
flex-grow: 0; flex-grow: 0;
flex-shrink: 0; flex-shrink: 0;
text-align: center; text-align: center;