Minor tweaks to Profile/Project

Summary:
- Redirect to profileview when new image is uploaded.
- Add ProfileNav to EditPicture on Profile
- Add ProfileNav to EditProfile on Profile

Test Plan: Set new images on Profiles and Projects. See new redirect. See new navs.

Reviewers: epriestley

Reviewed By: epriestley

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D15132
This commit is contained in:
Chad Little
2016-01-28 22:45:19 +00:00
committed by chad
parent a5f6223553
commit 5e639feab4
3 changed files with 12 additions and 3 deletions

View File

@@ -23,8 +23,8 @@ final class PhabricatorProjectEditPictureController
$this->setProject($project);
$edit_uri = $this->getApplicationURI('manage/'.$project->getID().'/');
$view_uri = $this->getApplicationURI('manage/'.$project->getID().'/');
$edit_uri = $this->getApplicationURI('profile/'.$project->getID().'/');
$view_uri = $this->getApplicationURI('profile/'.$project->getID().'/');
$supported_formats = PhabricatorFile::getTransformableImageFormats();
$e_file = true;