Further improve various Phame UI things

Summary:
  - Better icons and action order.
  - "Move Post" action.
  - (Bugfix) Allow multiple blogs to be set to not having custom domains.
  - Make "Write Post" skip the "select a blog" step when coming from a blog view.
  - Sort blog list on "Write Post".
  - Show messages when a post is a draft or not on a blog.

Test Plan: Created posts, blogs, moved posts, preview/live'd posts, etc.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T1373

Differential Revision: https://secure.phabricator.com/D3708
This commit is contained in:
epriestley
2012-10-16 09:44:43 -07:00
parent 9b15aa195e
commit 1a63938b33
13 changed files with 192 additions and 84 deletions

View File

@@ -80,7 +80,7 @@ final class PhameBlogEditController
$blog->setName($name);
$blog->setDescription($description);
$blog->setDomain($custom_domain);
$blog->setDomain(nonempty($custom_domain, null));
$blog->setSkin($skin);
if (!empty($custom_domain)) {