1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 01:08:50 +02:00

Clean up "points" display on workboards

Summary: Couple of edge cases here I never cleaned up. This inlines points and projects better, with spacing and use of grey to better differentate from project tag colors.

Test Plan:
Review edge cases on workboard with multiple short and long project names.

{F1653998}

{F1653999}

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15956
This commit is contained in:
Chad Little 2016-05-20 13:03:26 -07:00
parent 58aa3fdc9d
commit 969d3be035
3 changed files with 18 additions and 4 deletions

View file

@ -159,7 +159,7 @@ return array(
'rsrc/css/phui/phui-two-column-view.css' => 'b9538af1',
'rsrc/css/phui/workboards/phui-workboard-color.css' => 'ac6fe6a7',
'rsrc/css/phui/workboards/phui-workboard.css' => 'e6d89647',
'rsrc/css/phui/workboards/phui-workcard.css' => '3646fb96',
'rsrc/css/phui/workboards/phui-workcard.css' => '0c62d7c5',
'rsrc/css/phui/workboards/phui-workpanel.css' => '92197373',
'rsrc/css/sprite-login.css' => '60e8560e',
'rsrc/css/sprite-menu.css' => '9dd65b92',
@ -858,7 +858,7 @@ return array(
'phui-two-column-view-css' => 'b9538af1',
'phui-workboard-color-css' => 'ac6fe6a7',
'phui-workboard-view-css' => 'e6d89647',
'phui-workcard-view-css' => '3646fb96',
'phui-workcard-view-css' => '0c62d7c5',
'phui-workpanel-view-css' => '92197373',
'phuix-action-list-view' => 'b5c256b8',
'phuix-action-view' => '8cf6d262',

View file

@ -100,9 +100,10 @@ final class ProjectBoardTaskCard extends Phobject {
if ($points !== null) {
$points_tag = id(new PHUITagView())
->setType(PHUITagView::TYPE_SHADE)
->setShade(PHUITagView::COLOR_BLUE)
->setShade(PHUITagView::COLOR_GREY)
->setSlimShady(true)
->setName($points);
->setName($points)
->addClass('phui-workcard-points');
$card->addAttribute($points_tag);
}
}

View file

@ -114,6 +114,19 @@
margin-bottom: 0;
}
.phui-workcard .phui-object-item-attribute-spacer {
display: none;
}
.phui-workcard .phui-workcard-points {
margin: 0 4px 2px 0;
display: inline-block;
}
.phui-workcard .phui-object-item-attribute {
display: inline;
}
/* - Draggable Colors --------------------------------------------------------*/