Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14418270
D8213.id19540.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
836 B
Referenced Files
None
Subscribers
None
D8213.id19540.diff
View Options
diff --git a/src/applications/maniphest/view/ManiphestTaskProjectsView.php b/src/applications/maniphest/view/ManiphestTaskProjectsView.php
--- a/src/applications/maniphest/view/ManiphestTaskProjectsView.php
+++ b/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
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 26, 3:29 AM (11 h, 11 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6928317
Default Alt Text
D8213.id19540.diff (836 B)
Attached To
Mode
D8213: Bump number of visible Maniphest tags to 4 (from 2)
Attached
Detach File
Event Timeline
Log In to Comment