Differential D17138 Diff 41215 src/applications/transactions/view/PhabricatorApplicationTransactionTextDiffDetailView.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/transactions/view/PhabricatorApplicationTransactionTextDiffDetailView.php
| Show All 15 Lines | public function setOldText($old_text) { | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| public function renderForMail() { | public function renderForMail() { | ||||
| $diff = $this->buildDiff(); | $diff = $this->buildDiff(); | ||||
| $old_styles = array( | $old_styles = array( | ||||
| 'padding: 0 2px;', | 'padding: 0 2px;', | ||||
| 'color: #802b2b;', | 'color: #333333;', | ||||
| 'background: rgba(251, 175, 175, .7);', | 'background: #f8cbcb;', | ||||
| ); | ); | ||||
| $old_styles = implode(' ', $old_styles); | $old_styles = implode(' ', $old_styles); | ||||
| $new_styles = array( | $new_styles = array( | ||||
| 'padding: 0 2px;', | 'padding: 0 2px;', | ||||
| 'color: #3e6d35;', | 'color: #333333;', | ||||
| 'background: rgba(151, 234, 151, .6);', | 'background: #a6f3a6;', | ||||
| ); | ); | ||||
| $new_styles = implode(' ', $new_styles); | $new_styles = implode(' ', $new_styles); | ||||
| $omit_styles = array( | $omit_styles = array( | ||||
| 'padding: 8px 0;', | 'padding: 8px 0;', | ||||
| ); | ); | ||||
| $omit_styles = implode(' ', $omit_styles); | $omit_styles = implode(' ', $omit_styles); | ||||
| ▲ Show 20 Lines • Show All 130 Lines • Show Last 20 Lines | |||||