mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-19 12:00:55 +01:00
Rename Differenital "EditPro" controller back to "Edit"
Summary: Ref T11114. We seem to be in reasonable shape here and I don't think anything needs to revert, so rename this back to boring old "edit". Test Plan: Created, updated, edited a revision via web UI. Reviewers: chad Reviewed By: chad Maniphest Tasks: T11114 Differential Revision: https://secure.phabricator.com/D17091
This commit is contained in:
parent
c6bdd2c56b
commit
28d74ae572
4 changed files with 7 additions and 7 deletions
|
@ -518,8 +518,8 @@ phutil_register_library_map(array(
|
||||||
'DifferentialRevisionDependedOnByRevisionEdgeType' => 'applications/differential/edge/DifferentialRevisionDependedOnByRevisionEdgeType.php',
|
'DifferentialRevisionDependedOnByRevisionEdgeType' => 'applications/differential/edge/DifferentialRevisionDependedOnByRevisionEdgeType.php',
|
||||||
'DifferentialRevisionDependsOnRevisionEdgeType' => 'applications/differential/edge/DifferentialRevisionDependsOnRevisionEdgeType.php',
|
'DifferentialRevisionDependsOnRevisionEdgeType' => 'applications/differential/edge/DifferentialRevisionDependsOnRevisionEdgeType.php',
|
||||||
'DifferentialRevisionEditConduitAPIMethod' => 'applications/differential/conduit/DifferentialRevisionEditConduitAPIMethod.php',
|
'DifferentialRevisionEditConduitAPIMethod' => 'applications/differential/conduit/DifferentialRevisionEditConduitAPIMethod.php',
|
||||||
|
'DifferentialRevisionEditController' => 'applications/differential/controller/DifferentialRevisionEditController.php',
|
||||||
'DifferentialRevisionEditEngine' => 'applications/differential/editor/DifferentialRevisionEditEngine.php',
|
'DifferentialRevisionEditEngine' => 'applications/differential/editor/DifferentialRevisionEditEngine.php',
|
||||||
'DifferentialRevisionEditProController' => 'applications/differential/controller/DifferentialRevisionEditProController.php',
|
|
||||||
'DifferentialRevisionFulltextEngine' => 'applications/differential/search/DifferentialRevisionFulltextEngine.php',
|
'DifferentialRevisionFulltextEngine' => 'applications/differential/search/DifferentialRevisionFulltextEngine.php',
|
||||||
'DifferentialRevisionGraph' => 'infrastructure/graph/DifferentialRevisionGraph.php',
|
'DifferentialRevisionGraph' => 'infrastructure/graph/DifferentialRevisionGraph.php',
|
||||||
'DifferentialRevisionHasChildRelationship' => 'applications/differential/relationships/DifferentialRevisionHasChildRelationship.php',
|
'DifferentialRevisionHasChildRelationship' => 'applications/differential/relationships/DifferentialRevisionHasChildRelationship.php',
|
||||||
|
@ -5183,8 +5183,8 @@ phutil_register_library_map(array(
|
||||||
'DifferentialRevisionDependedOnByRevisionEdgeType' => 'PhabricatorEdgeType',
|
'DifferentialRevisionDependedOnByRevisionEdgeType' => 'PhabricatorEdgeType',
|
||||||
'DifferentialRevisionDependsOnRevisionEdgeType' => 'PhabricatorEdgeType',
|
'DifferentialRevisionDependsOnRevisionEdgeType' => 'PhabricatorEdgeType',
|
||||||
'DifferentialRevisionEditConduitAPIMethod' => 'PhabricatorEditEngineAPIMethod',
|
'DifferentialRevisionEditConduitAPIMethod' => 'PhabricatorEditEngineAPIMethod',
|
||||||
|
'DifferentialRevisionEditController' => 'DifferentialController',
|
||||||
'DifferentialRevisionEditEngine' => 'PhabricatorEditEngine',
|
'DifferentialRevisionEditEngine' => 'PhabricatorEditEngine',
|
||||||
'DifferentialRevisionEditProController' => 'DifferentialController',
|
|
||||||
'DifferentialRevisionFulltextEngine' => 'PhabricatorFulltextEngine',
|
'DifferentialRevisionFulltextEngine' => 'PhabricatorFulltextEngine',
|
||||||
'DifferentialRevisionGraph' => 'PhabricatorObjectGraph',
|
'DifferentialRevisionGraph' => 'PhabricatorObjectGraph',
|
||||||
'DifferentialRevisionHasChildRelationship' => 'DifferentialRevisionRelationship',
|
'DifferentialRevisionHasChildRelationship' => 'DifferentialRevisionRelationship',
|
||||||
|
|
|
@ -65,10 +65,10 @@ final class PhabricatorDifferentialApplication extends PhabricatorApplication {
|
||||||
),
|
),
|
||||||
'changeset/' => 'DifferentialChangesetViewController',
|
'changeset/' => 'DifferentialChangesetViewController',
|
||||||
'revision/' => array(
|
'revision/' => array(
|
||||||
$this->getEditRoutePattern('editpro/')
|
$this->getEditRoutePattern('edit/')
|
||||||
=> 'DifferentialRevisionEditProController',
|
=> 'DifferentialRevisionEditController',
|
||||||
$this->getEditRoutePattern('attach/(?P<diffID>[^/]+)/to/')
|
$this->getEditRoutePattern('attach/(?P<diffID>[^/]+)/to/')
|
||||||
=> 'DifferentialRevisionEditProController',
|
=> 'DifferentialRevisionEditController',
|
||||||
'land/(?:(?P<id>[1-9]\d*))/(?P<strategy>[^/]+)/'
|
'land/(?:(?P<id>[1-9]\d*))/(?P<strategy>[^/]+)/'
|
||||||
=> 'DifferentialRevisionLandController',
|
=> 'DifferentialRevisionLandController',
|
||||||
'closedetails/(?P<phid>[^/]+)/'
|
'closedetails/(?P<phid>[^/]+)/'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
final class DifferentialRevisionEditProController
|
final class DifferentialRevisionEditController
|
||||||
extends DifferentialController {
|
extends DifferentialController {
|
||||||
|
|
||||||
public function handleRequest(AphrontRequest $request) {
|
public function handleRequest(AphrontRequest $request) {
|
|
@ -570,7 +570,7 @@ final class DifferentialRevisionViewController extends DifferentialController {
|
||||||
$curtain->addAction(
|
$curtain->addAction(
|
||||||
id(new PhabricatorActionView())
|
id(new PhabricatorActionView())
|
||||||
->setIcon('fa-pencil')
|
->setIcon('fa-pencil')
|
||||||
->setHref("/differential/revision/editpro/{$revision_id}/")
|
->setHref("/differential/revision/edit/{$revision_id}/")
|
||||||
->setName(pht('Edit Revision'))
|
->setName(pht('Edit Revision'))
|
||||||
->setDisabled(!$can_edit)
|
->setDisabled(!$can_edit)
|
||||||
->setWorkflow(!$can_edit));
|
->setWorkflow(!$can_edit));
|
||||||
|
|
Loading…
Reference in a new issue