From 24a5d0505ae205959844e5eb03e470c6ecf2357e Mon Sep 17 00:00:00 2001 From: epriestley Date: Wed, 30 Oct 2013 08:21:16 -0700 Subject: [PATCH] Add a "Description" header to the repository view for consistency Summary: We don't have a section header on `/diffusion/X/` for descriptions right now. Add one to improve consistency. Test Plan: Looked at a repository. Reviewers: chad, btrahan Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D7449 --- .../diffusion/controller/DiffusionRepositoryController.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/applications/diffusion/controller/DiffusionRepositoryController.php b/src/applications/diffusion/controller/DiffusionRepositoryController.php index 8a8779fa99..6183c88136 100644 --- a/src/applications/diffusion/controller/DiffusionRepositoryController.php +++ b/src/applications/diffusion/controller/DiffusionRepositoryController.php @@ -185,6 +185,7 @@ final class DiffusionRepositoryController extends DiffusionController { $repository, 'description', $user); + $view->addSectionHeader(pht('Description')); $view->addTextContent($description); }