mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 00:42:41 +01:00
Fix some Maniphest links
Summary: A few things link to old URIs for Maniphest, update them. Test Plan: Clicked all the things. Reviewers: chad, btrahan Reviewed By: chad CC: aran Differential Revision: https://secure.phabricator.com/D6989
This commit is contained in:
parent
ba37594362
commit
c6ea59ae0d
7 changed files with 16 additions and 36 deletions
|
@ -3367,7 +3367,7 @@ celerity_register_resource_map(array(
|
|||
),
|
||||
'phabricator-project-tag-css' =>
|
||||
array(
|
||||
'uri' => '/res/ebe357eb/rsrc/css/application/projects/project-tag.css',
|
||||
'uri' => '/res/535b8b7a/rsrc/css/application/projects/project-tag.css',
|
||||
'type' => 'css',
|
||||
'requires' =>
|
||||
array(
|
||||
|
@ -4380,7 +4380,7 @@ celerity_register_resource_map(array(
|
|||
'uri' => '/res/pkg/f32597c9/javelin.pkg.js',
|
||||
'type' => 'js',
|
||||
),
|
||||
'ad2ed1da' =>
|
||||
'36d5d071' =>
|
||||
array(
|
||||
'name' => 'maniphest.pkg.css',
|
||||
'symbols' =>
|
||||
|
@ -4389,7 +4389,7 @@ celerity_register_resource_map(array(
|
|||
1 => 'maniphest-transaction-detail-css',
|
||||
2 => 'phabricator-project-tag-css',
|
||||
),
|
||||
'uri' => '/res/pkg/ad2ed1da/maniphest.pkg.css',
|
||||
'uri' => '/res/pkg/36d5d071/maniphest.pkg.css',
|
||||
'type' => 'css',
|
||||
),
|
||||
'83a3853e' =>
|
||||
|
@ -4505,8 +4505,8 @@ celerity_register_resource_map(array(
|
|||
'javelin-vector' => 'f32597c9',
|
||||
'javelin-workflow' => 'f32597c9',
|
||||
'lightbox-attachment-css' => '606d1ed1',
|
||||
'maniphest-task-summary-css' => 'ad2ed1da',
|
||||
'maniphest-transaction-detail-css' => 'ad2ed1da',
|
||||
'maniphest-task-summary-css' => '36d5d071',
|
||||
'maniphest-transaction-detail-css' => '36d5d071',
|
||||
'phabricator-action-list-view-css' => '606d1ed1',
|
||||
'phabricator-application-launch-view-css' => '606d1ed1',
|
||||
'phabricator-busy' => '8977e356',
|
||||
|
@ -4532,7 +4532,7 @@ celerity_register_resource_map(array(
|
|||
'phabricator-object-selector-css' => '44bfe40c',
|
||||
'phabricator-phtize' => '8977e356',
|
||||
'phabricator-prefab' => '8977e356',
|
||||
'phabricator-project-tag-css' => 'ad2ed1da',
|
||||
'phabricator-project-tag-css' => '36d5d071',
|
||||
'phabricator-property-list-view-css' => '606d1ed1',
|
||||
'phabricator-remarkup-css' => '606d1ed1',
|
||||
'phabricator-shaped-request' => '5e9e5c4e',
|
||||
|
|
|
@ -21,7 +21,7 @@ abstract class ManiphestController extends PhabricatorController {
|
|||
->addNavigationItems($nav->getMenu());
|
||||
|
||||
$nav->addLabel(pht('Reports'));
|
||||
$nav->addFilter('reports', pht('Reports'), 'report/');
|
||||
$nav->addFilter('report', pht('Reports'));
|
||||
|
||||
$nav->selectFilter(null);
|
||||
|
||||
|
|
|
@ -411,13 +411,8 @@ final class ManiphestReportController extends ManiphestController {
|
|||
$leftover_closed = idx($result_closed, '', array());
|
||||
unset($result_closed['']);
|
||||
|
||||
$base_link = '/maniphest/?users=';
|
||||
$leftover_name = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $base_link.ManiphestTaskOwner::OWNER_UP_FOR_GRABS,
|
||||
),
|
||||
phutil_tag('em', array(), pht('(Up For Grabs)')));
|
||||
$base_link = '/maniphest/?assigned=';
|
||||
$leftover_name = phutil_tag('em', array(), pht('(Up For Grabs)'));
|
||||
$col_header = pht('User');
|
||||
$header = pht('Open Tasks by User and Priority (%s)', $date);
|
||||
break;
|
||||
|
@ -448,13 +443,8 @@ final class ManiphestReportController extends ManiphestController {
|
|||
}
|
||||
}
|
||||
|
||||
$base_link = '/maniphest/view/all/?projects=';
|
||||
$leftover_name = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => $base_link.ManiphestTaskOwner::PROJECT_NO_PROJECT,
|
||||
),
|
||||
phutil_tag('em', array(), pht('(No Project)')));
|
||||
$base_link = '/maniphest/?allProjects[]=';
|
||||
$leftover_name = phutil_tag('em', array(), pht('(No Project)'));
|
||||
$col_header = pht('Project');
|
||||
$header = pht('Open Tasks by Project and Priority (%s)', $date);
|
||||
break;
|
||||
|
|
|
@ -24,10 +24,10 @@ final class ManiphestPeopleMenuEventListener extends PhutilEventListener {
|
|||
|
||||
$object = $event->getValue('object');
|
||||
if ($object instanceof PhabricatorUser) {
|
||||
$href = '/maniphest/view/action/?users='.$object->getPHID();
|
||||
$href = '/maniphest/?assigned='.$object->getPHID();
|
||||
$actions[] = $action->setHref($href);
|
||||
} else if ($object instanceof PhabricatorProject) {
|
||||
$href = '/maniphest/view/all/?projects='.$object->getPHID();
|
||||
$href = '/maniphest/?allProjects[]='.$object->getPHID();
|
||||
$actions[] = $action->setHref($href);
|
||||
|
||||
$actions[] = id(new PhabricatorActionView())
|
||||
|
|
|
@ -32,11 +32,9 @@ final class ManiphestTaskProjectsView extends ManiphestView {
|
|||
}
|
||||
} else {
|
||||
$tags[] = phutil_tag(
|
||||
'a',
|
||||
'span',
|
||||
array(
|
||||
'class' => 'phabricator-project-tag phabricator-project-tag-grey',
|
||||
'href' => '/maniphest/view/all/?s&projects='.
|
||||
ManiphestTaskOwner::PROJECT_NO_PROJECT
|
||||
),
|
||||
pht('No Project'));
|
||||
}
|
||||
|
|
|
@ -177,24 +177,15 @@ final class PhabricatorProjectProfileController
|
|||
|
||||
$open = number_format($count);
|
||||
|
||||
$more_link = phutil_tag(
|
||||
'a',
|
||||
array(
|
||||
'href' => '/maniphest/view/all/?projects='.$project->getPHID(),
|
||||
),
|
||||
pht("View All Open Tasks \xC2\xBB"));
|
||||
|
||||
$content = hsprintf(
|
||||
'<div class="phabricator-profile-info-group profile-wrap-responsive">
|
||||
<h1 class="phabricator-profile-info-header">%s</h1>'.
|
||||
'<div class="phabricator-profile-info-pane">'.
|
||||
'%s'.
|
||||
'<div class="phabricator-profile-info-pane-more-link">%s</div>'.
|
||||
'</div>
|
||||
</div>',
|
||||
pht('Open Tasks (%s)', $open),
|
||||
$task_list,
|
||||
$more_link);
|
||||
$task_list);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
border: 1px solid #ccc;
|
||||
background: #f7f7f7;
|
||||
color: {$lightgreytext};
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.phabricator-project-tag.phabricator-project-tag-grey:hover {
|
||||
|
|
Loading…
Reference in a new issue