Modernize Diffusion

Summary: Converts to ObjectList for display, pht's most everything, some responsive design when possible. Tables still are tables, but scroll on touch.

Test Plan: Use iOS simulator on Diffusion, Chrome

Reviewers: epriestley, btrahan

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5847
This commit is contained in:
Chad Little
2013-05-11 08:23:19 -07:00
parent da92d79d8d
commit 57ca8de61c
28 changed files with 324 additions and 303 deletions

View File

@@ -26,8 +26,8 @@ final class DiffusionBranchTableController extends DiffusionController {
$content = null;
if (!$branches) {
$content = new AphrontErrorView();
$content->setTitle('No Branches');
$content->appendChild('This repository has no branches.');
$content->setTitle(pht('No Branches'));
$content->appendChild(pht('This repository has no branches.'));
$content->setSeverity(AphrontErrorView::SEVERITY_NODATA);
} else {
$commits = id(new PhabricatorAuditCommitQuery())
@@ -44,7 +44,7 @@ final class DiffusionBranchTableController extends DiffusionController {
->setDiffusionRequest($drequest);
$panel = id(new AphrontPanelView())
->setHeader('Branches')
->setHeader(pht('Branches'))
->appendChild($view)
->appendChild($pager);