~ubuntu-branches/ubuntu/wily/phabricator/wily-proposed

« back to all changes in this revision

Viewing changes to phabricator/src/applications/project/storage/PhabricatorProjectColumn.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2014-11-30 23:52:12 UTC
  • mfrom: (0.10.1) (0.9.1) (0.5.2) (2.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20141130235212-s3iwj9maq2lrlnq9
Tags: 0~git20141130-1
* New upstream version
* avoid mysql configuration in postinst if no credential provided
  (closes: #769534)
* added portuguese to debconf translations (closes: #769615)
* added german to debconf translations (closes: #768965)
* added logrotate on phd log files
* fixed po-debconf messages inconsistencies (closes: #768201)
* added dutch to debconf translations (closes: #771597)

Show diffs side-by-side

added added

removed removed

Lines of Context:
84
84
    return pht('Unnamed Column');
85
85
  }
86
86
 
 
87
  public function getDisplayType() {
 
88
    if ($this->isDefaultColumn()) {
 
89
      return pht('(Default)');
 
90
    }
 
91
    if ($this->isHidden()) {
 
92
      return pht('(Hidden)');
 
93
    }
 
94
 
 
95
    return null;
 
96
  }
 
97
 
87
98
  public function getHeaderIcon() {
88
99
    $icon = null;
89
100
 
92
103
      $text = pht('Hidden');
93
104
    }
94
105
 
95
 
    if ($this->isDefaultColumn()) {
96
 
      $icon = 'fa-archive';
97
 
      $text = pht('Default');
98
 
    }
99
 
 
100
106
    if ($icon) {
101
107
      return id(new PHUIIconView())
102
108
        ->setIconFont($icon)