mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-22 21:40:55 +01:00
Render valid HTML
Summary: Also delete some dead code. Test Plan: /D1 Reviewers: tuomaspelkonen, epriestley Reviewed By: epriestley CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D2120
This commit is contained in:
parent
6aa729b1c9
commit
1f2028adf0
2 changed files with 7 additions and 5 deletions
|
@ -174,8 +174,13 @@ final class DifferentialDiffTableOfContentsView extends AphrontView {
|
|||
|
||||
$rows[] =
|
||||
'<tr>'.
|
||||
'<td class="differential-toc-char" title='.$chartitle.'>'.$char.
|
||||
'</td>'.
|
||||
phutil_render_tag(
|
||||
'td',
|
||||
array(
|
||||
'class' => 'differential-toc-char',
|
||||
'title' => $chartitle,
|
||||
),
|
||||
$char).
|
||||
'<td class="differential-toc-prop">'.$pchar.'</td>'.
|
||||
'<td class="differential-toc-ftype">'.$desc.'</td>'.
|
||||
'<td class="differential-toc-file">'.$link.$lines.'</td>'.
|
||||
|
|
|
@ -34,9 +34,6 @@ final class DiffusionCommitChangeTableView extends DiffusionView {
|
|||
// TODO: Copy Away and Move Away are rendered junkily still.
|
||||
|
||||
foreach ($this->pathChanges as $change) {
|
||||
$change_verb = DifferentialChangeType::getFullNameForChangeType(
|
||||
$change->getChangeType());
|
||||
|
||||
$path = $change->getPath();
|
||||
$hash = substr(md5($path), 0, 8);
|
||||
if ($change->getFileType() == DifferentialChangeType::FILE_DIRECTORY) {
|
||||
|
|
Loading…
Reference in a new issue