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:
@@ -50,12 +50,12 @@ final class DiffusionLintDetailsController extends DiffusionController {
|
||||
|
||||
$table = id(new AphrontTableView($rows))
|
||||
->setHeaders(array(
|
||||
'Path',
|
||||
'Line',
|
||||
'Author',
|
||||
'Severity',
|
||||
'Name',
|
||||
'Description',
|
||||
pht('Path'),
|
||||
pht('Line'),
|
||||
pht('Author'),
|
||||
pht('Severity'),
|
||||
pht('Name'),
|
||||
pht('Description'),
|
||||
))
|
||||
->setColumnClasses(array('', 'n'))
|
||||
->setColumnVisibility(array($is_dir));
|
||||
@@ -97,9 +97,13 @@ final class DiffusionLintDetailsController extends DiffusionController {
|
||||
|
||||
return $this->buildApplicationPage(
|
||||
$nav,
|
||||
array('title' => array(
|
||||
'Lint',
|
||||
$drequest->getRepository()->getCallsign(),
|
||||
array(
|
||||
'device' => true,
|
||||
'dust' => true,
|
||||
'title' =>
|
||||
array(
|
||||
pht('Lint'),
|
||||
$drequest->getRepository()->getCallsign(),
|
||||
)));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user