Modernize blog UI
Summary: Cleans up some of the mess I made in D3694. Basically: - All blogs have an "internal" view with posts that uses mobile-friendly UIs, etc., so we don't have to do as much work with skins -- they just have to look pretty. - Blogs now have a separate "live" view that we use to handle domains / skins. - Simplified some views and use IDs in some URLs for consistency. - Delete a bunch of edge/blogger/multi-blog code that's now obsolete. Test Plan: Will attach screenshots. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T1373 Differential Revision: https://secure.phabricator.com/D3695
This commit is contained in:
@@ -58,13 +58,13 @@ final class PhabricatorApplicationPhame extends PhabricatorApplication {
|
||||
'' => 'PhameDraftListController',
|
||||
'new/' => 'PhamePostEditController',
|
||||
),
|
||||
'blog/(?:(?P<filter>user|all)/)?' => 'PhameBlogListController',
|
||||
'blog/' => array(
|
||||
'' => 'PhameUserBlogListController',
|
||||
'all/' => 'PhameAllBlogListController',
|
||||
'new/' => 'PhameBlogEditController',
|
||||
'delete/(?P<phid>[^/]+)/' => 'PhameBlogDeleteController',
|
||||
'edit/(?P<phid>[^/]+)/' => 'PhameBlogEditController',
|
||||
'view/(?P<phid>[^/]+)/' => 'PhameBlogViewController',
|
||||
'delete/(?P<id>[^/]+)/' => 'PhameBlogDeleteController',
|
||||
'edit/(?P<id>[^/]+)/' => 'PhameBlogEditController',
|
||||
'view/(?P<id>[^/]+)/' => 'PhameBlogViewController',
|
||||
'live/(?P<id>[^/]+)/(?P<more>.*)' => 'PhameBlogLiveController',
|
||||
'new/' => 'PhameBlogEditController',
|
||||
),
|
||||
'posts/' => array(
|
||||
'' => 'PhameUserPostListController',
|
||||
|
||||
Reference in New Issue
Block a user