mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 12:30:56 +01:00
Improve display of "Context not available" in 1-up view
Summary: Ref T2009. Makes "Context not available" render and behave correctly. Test Plan: Viewed diff with missing context in 1-up view, looked marginally better. Reviewers: btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T2009 Differential Revision: https://secure.phabricator.com/D11973
This commit is contained in:
parent
33d7034276
commit
17702f3984
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ final class DifferentialChangesetOneUpRenderer
|
|||
|
||||
$out[] = hsprintf('</td></tr>');
|
||||
break;
|
||||
case 'no-context':
|
||||
$out[] = hsprintf(
|
||||
'<tr><td class="show-more" colspan="3">%s</th></tr>',
|
||||
pht('Context not available.'));
|
||||
break;
|
||||
default:
|
||||
$out[] = hsprintf('<tr><th /><th /><td>%s</td></tr>', $type);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue