Fix T37529: show up to 4 project tags for maniphest tasks instead of 2.
This commit is contained in:
@@ -17,7 +17,7 @@ final class ManiphestTaskProjectsView extends ManiphestView {
|
|||||||
require_celerity_resource('phabricator-project-tag-css');
|
require_celerity_resource('phabricator-project-tag-css');
|
||||||
|
|
||||||
|
|
||||||
$show = array_slice($this->handles, 0, 2);
|
$show = array_slice($this->handles, 0, 4);
|
||||||
|
|
||||||
$tags = array();
|
$tags = array();
|
||||||
if ($show) {
|
if ($show) {
|
||||||
@@ -39,7 +39,7 @@ final class ManiphestTaskProjectsView extends ManiphestView {
|
|||||||
pht('No Project'));
|
pht('No Project'));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (count($this->handles) > 2) {
|
if (count($this->handles) > 4) {
|
||||||
require_celerity_resource('aphront-tooltip-css');
|
require_celerity_resource('aphront-tooltip-css');
|
||||||
Javelin::initBehavior('phabricator-tooltips');
|
Javelin::initBehavior('phabricator-tooltips');
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user