Page MenuHomePhabricator

D8213.diff
No OneTemporary

D8213.diff

Index: src/applications/maniphest/view/ManiphestTaskProjectsView.php
===================================================================
--- src/applications/maniphest/view/ManiphestTaskProjectsView.php
+++ src/applications/maniphest/view/ManiphestTaskProjectsView.php
@@ -15,9 +15,9 @@
public function render() {
require_celerity_resource('phabricator-project-tag-css');
+ $max_visible_tags = 4;
-
- $show = array_slice($this->handles, 0, 2);
+ $show = array_slice($this->handles, 0, $max_visible_tags);
$tags = array();
if ($show) {
@@ -39,7 +39,7 @@
pht('No Project'));
}
- if (count($this->handles) > 2) {
+ if (count($this->handles) > $max_visible_tags) {
require_celerity_resource('aphront-tooltip-css');
Javelin::initBehavior('phabricator-tooltips');

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 21, 1:02 PM (17 h, 49 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6914069
Default Alt Text
D8213.diff (829 B)

Event Timeline