From d5a72ca98ed228c1995bdc4f9e5037a4093d28fe Mon Sep 17 00:00:00 2001 From: Aviv Eyal Date: Mon, 14 Nov 2016 22:46:40 +0000 Subject: [PATCH] Don't show "clone-name" as "Short Name" Summary: See D16851 - there's now a difference in their meaning, so don't unite them in the UI. Test Plan: Load manage page of repos Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16858 --- .../management/DiffusionRepositoryBasicsManagementPanel.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php b/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php index 6a2f70d693..45c2ca142a 100644 --- a/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php +++ b/src/applications/diffusion/management/DiffusionRepositoryBasicsManagementPanel.php @@ -168,8 +168,7 @@ final class DiffusionRepositoryBasicsManagementPanel $short_name = $repository->getRepositorySlug(); if ($short_name === null) { - $short_name = $repository->getCloneName(); - $short_name = phutil_tag('em', array(), $short_name); + $short_name = phutil_tag('em', array(), pht('No Short Name')); } $view->addProperty(pht('Short Name'), $short_name);