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

« back to all changes in this revision

Viewing changes to phabricator/src/applications/pholio/view/PholioTransactionView.php

  • Committer: Package Import Robot
  • Author(s): Richard Sellam
  • Date: 2015-06-13 10:52:10 UTC
  • mfrom: (0.30.1) (0.29.1) (0.17.4) (2.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20150613105210-5uirr7tvnk0n6e6y
Tags: 0~git20150613-1
* New snapshot release (closes: #787805)
* fixed typo in logrotate script (closes: #787645)

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
 
31
31
    switch ($u->getTransactionType()) {
32
32
      case PhabricatorTransactions::TYPE_COMMENT:
33
 
      case PholioTransactionType::TYPE_INLINE:
 
33
      case PholioTransaction::TYPE_INLINE:
34
34
        break;
35
35
      default:
36
36
        return false;
37
37
    }
38
38
 
39
39
    switch ($v->getTransactionType()) {
40
 
      case PholioTransactionType::TYPE_INLINE:
 
40
      case PholioTransaction::TYPE_INLINE:
41
41
        return true;
42
42
    }
43
43
 
50
50
    $out = array();
51
51
 
52
52
    $group = $xaction->getTransactionGroup();
53
 
    if ($xaction->getTransactionType() == PholioTransactionType::TYPE_INLINE) {
 
53
    if ($xaction->getTransactionType() == PholioTransaction::TYPE_INLINE) {
54
54
      array_unshift($group, $xaction);
55
55
    } else {
56
56
      $out[] = parent::renderTransactionContent($xaction);
63
63
    $inlines = array();
64
64
    foreach ($group as $xaction) {
65
65
      switch ($xaction->getTransactionType()) {
66
 
        case PholioTransactionType::TYPE_INLINE:
 
66
        case PholioTransaction::TYPE_INLINE:
67
67
          $inlines[] = $xaction;
68
68
          break;
69
69
        default: