1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-26 16:52:41 +01:00

Don't add trailing slash to Search Owners link

Test Plan: Clicked it.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D4609
This commit is contained in:
vrana 2013-01-23 18:00:22 -08:00
parent cd6a4e764a
commit c9870b12ae
2 changed files with 52 additions and 44 deletions

View file

@ -539,6 +539,13 @@ celerity_register_resource_map(array(
'disk' => '/rsrc/image/texture/table_header_hover.png',
'type' => 'png',
),
'/rsrc/image/texture/table_header_tall.png' =>
array(
'hash' => 'b05525601f78d759f1c5e47fd9c1a8aa',
'uri' => '/res/b0552560/rsrc/image/texture/table_header_tall.png',
'disk' => '/rsrc/image/texture/table_header_tall.png',
'type' => 'png',
),
'/rsrc/swf/aphlict.swf' =>
array(
'hash' => '4b9a9d83bebaf254f3790e87b45c1f92',
@ -593,7 +600,7 @@ celerity_register_resource_map(array(
),
'aphront-dialog-view-css' =>
array(
'uri' => '/res/0ec64c77/rsrc/css/aphront/dialog-view.css',
'uri' => '/res/215b3ab1/rsrc/css/aphront/dialog-view.css',
'type' => 'css',
'requires' =>
array(
@ -602,7 +609,7 @@ celerity_register_resource_map(array(
),
'aphront-error-view-css' =>
array(
'uri' => '/res/410dbe72/rsrc/css/aphront/error-view.css',
'uri' => '/res/048ed376/rsrc/css/aphront/error-view.css',
'type' => 'css',
'requires' =>
array(
@ -3247,7 +3254,7 @@ celerity_register_resource_map(array(
), array(
'packages' =>
array(
'2b575971' =>
'4dff6da8' =>
array(
'name' => 'core.pkg.css',
'symbols' =>
@ -3291,7 +3298,7 @@ celerity_register_resource_map(array(
36 => 'phabricator-object-item-list-view-css',
37 => 'global-drag-and-drop-css',
),
'uri' => '/res/pkg/2b575971/core.pkg.css',
'uri' => '/res/pkg/4dff6da8/core.pkg.css',
'type' => 'css',
),
'c90b892e' =>
@ -3481,19 +3488,19 @@ celerity_register_resource_map(array(
'reverse' =>
array(
'aphront-attached-file-view-css' => '83f07678',
'aphront-crumbs-view-css' => '2b575971',
'aphront-dialog-view-css' => '2b575971',
'aphront-error-view-css' => '2b575971',
'aphront-form-view-css' => '2b575971',
'aphront-crumbs-view-css' => '4dff6da8',
'aphront-dialog-view-css' => '4dff6da8',
'aphront-error-view-css' => '4dff6da8',
'aphront-form-view-css' => '4dff6da8',
'aphront-headsup-action-list-view-css' => 'ec01d039',
'aphront-headsup-view-css' => '2b575971',
'aphront-list-filter-view-css' => '2b575971',
'aphront-pager-view-css' => '2b575971',
'aphront-panel-view-css' => '2b575971',
'aphront-table-view-css' => '2b575971',
'aphront-tokenizer-control-css' => '2b575971',
'aphront-tooltip-css' => '2b575971',
'aphront-typeahead-control-css' => '2b575971',
'aphront-headsup-view-css' => '4dff6da8',
'aphront-list-filter-view-css' => '4dff6da8',
'aphront-pager-view-css' => '4dff6da8',
'aphront-panel-view-css' => '4dff6da8',
'aphront-table-view-css' => '4dff6da8',
'aphront-tokenizer-control-css' => '4dff6da8',
'aphront-tooltip-css' => '4dff6da8',
'aphront-typeahead-control-css' => '4dff6da8',
'differential-changeset-view-css' => 'ec01d039',
'differential-core-view-css' => 'ec01d039',
'differential-inline-comment-editor' => 'ac53d36a',
@ -3507,7 +3514,7 @@ celerity_register_resource_map(array(
'differential-table-of-contents-css' => 'ec01d039',
'diffusion-commit-view-css' => 'c8ce2d88',
'diffusion-icons-css' => 'c8ce2d88',
'global-drag-and-drop-css' => '2b575971',
'global-drag-and-drop-css' => '4dff6da8',
'inline-comment-summary-css' => 'ec01d039',
'javelin-aphlict' => 'c90b892e',
'javelin-behavior' => 'fbeded59',
@ -3577,48 +3584,48 @@ celerity_register_resource_map(array(
'javelin-util' => 'fbeded59',
'javelin-vector' => 'fbeded59',
'javelin-workflow' => 'fbeded59',
'lightbox-attachment-css' => '2b575971',
'lightbox-attachment-css' => '4dff6da8',
'maniphest-task-summary-css' => '83f07678',
'maniphest-transaction-detail-css' => '83f07678',
'phabricator-busy' => 'c90b892e',
'phabricator-content-source-view-css' => 'ec01d039',
'phabricator-core-buttons-css' => '2b575971',
'phabricator-core-css' => '2b575971',
'phabricator-crumbs-view-css' => '2b575971',
'phabricator-directory-css' => '2b575971',
'phabricator-core-buttons-css' => '4dff6da8',
'phabricator-core-css' => '4dff6da8',
'phabricator-crumbs-view-css' => '4dff6da8',
'phabricator-directory-css' => '4dff6da8',
'phabricator-drag-and-drop-file-upload' => 'ac53d36a',
'phabricator-dropdown-menu' => 'c90b892e',
'phabricator-file-upload' => 'c90b892e',
'phabricator-filetree-view-css' => '2b575971',
'phabricator-flag-css' => '2b575971',
'phabricator-form-view-css' => '2b575971',
'phabricator-header-view-css' => '2b575971',
'phabricator-jump-nav' => '2b575971',
'phabricator-filetree-view-css' => '4dff6da8',
'phabricator-flag-css' => '4dff6da8',
'phabricator-form-view-css' => '4dff6da8',
'phabricator-header-view-css' => '4dff6da8',
'phabricator-jump-nav' => '4dff6da8',
'phabricator-keyboard-shortcut' => 'c90b892e',
'phabricator-keyboard-shortcut-manager' => 'c90b892e',
'phabricator-main-menu-view' => '2b575971',
'phabricator-main-menu-view' => '4dff6da8',
'phabricator-menu-item' => 'c90b892e',
'phabricator-nav-view-css' => '2b575971',
'phabricator-nav-view-css' => '4dff6da8',
'phabricator-notification' => 'c90b892e',
'phabricator-notification-css' => '2b575971',
'phabricator-notification-menu-css' => '2b575971',
'phabricator-object-item-list-view-css' => '2b575971',
'phabricator-notification-css' => '4dff6da8',
'phabricator-notification-menu-css' => '4dff6da8',
'phabricator-object-item-list-view-css' => '4dff6da8',
'phabricator-object-selector-css' => 'ec01d039',
'phabricator-paste-file-upload' => 'c90b892e',
'phabricator-prefab' => 'c90b892e',
'phabricator-project-tag-css' => '83f07678',
'phabricator-remarkup-css' => '2b575971',
'phabricator-remarkup-css' => '4dff6da8',
'phabricator-shaped-request' => 'ac53d36a',
'phabricator-side-menu-view-css' => '2b575971',
'phabricator-standard-page-view' => '2b575971',
'phabricator-side-menu-view-css' => '4dff6da8',
'phabricator-standard-page-view' => '4dff6da8',
'phabricator-textareautils' => 'c90b892e',
'phabricator-tooltip' => 'c90b892e',
'phabricator-transaction-view-css' => '2b575971',
'phabricator-zindex-css' => '2b575971',
'sprite-apps-large-css' => '2b575971',
'sprite-gradient-css' => '2b575971',
'sprite-icon-css' => '2b575971',
'sprite-menu-css' => '2b575971',
'syntax-highlighting-css' => '2b575971',
'phabricator-transaction-view-css' => '4dff6da8',
'phabricator-zindex-css' => '4dff6da8',
'sprite-apps-large-css' => '4dff6da8',
'sprite-gradient-css' => '4dff6da8',
'sprite-icon-css' => '4dff6da8',
'sprite-menu-css' => '4dff6da8',
'syntax-highlighting-css' => '4dff6da8',
),
));

View file

@ -79,10 +79,11 @@ abstract class DiffusionController extends PhabricatorController {
// TODO: URI encoding might need to be sorted out for this link.
$nav->addFilter(
'',
"Search Owners \xE2\x86\x97",
'/owners/view/search/'.
'?repository='.phutil_escape_uri($drequest->getCallsign()).
'&path='.phutil_escape_uri('/'.$drequest->getPath()),
"Search Owners \xE2\x86\x97");
'&path='.phutil_escape_uri('/'.$drequest->getPath()));
return $nav;
}