diff --git a/src/applications/maniphest/controller/taskdetail/ManiphestTaskDetailController.php b/src/applications/maniphest/controller/taskdetail/ManiphestTaskDetailController.php index 34d5873278..560472e574 100644 --- a/src/applications/maniphest/controller/taskdetail/ManiphestTaskDetailController.php +++ b/src/applications/maniphest/controller/taskdetail/ManiphestTaskDetailController.php @@ -1,7 +1,7 @@ '); } else if ($workflow == 'create') { $context_bar = new AphrontContextBarView(); + $context_bar->addButton(''); $context_bar->addButton( phutil_render_tag( 'a', @@ -232,7 +233,15 @@ class ManiphestTaskDetailController extends ManiphestController { 'href' => '/maniphest/task/create/?template='.$task->getID(), 'class' => 'green button', ), - 'Create Another Task')); + 'Similar Task')); + $context_bar->addButton( + phutil_render_tag( + 'a', + array( + 'href' => '/maniphest/task/create/', + 'class' => 'green button', + ), + 'Empty Task')); $context_bar->appendChild('New task created.'); } diff --git a/webroot/rsrc/css/aphront/context-bar.css b/webroot/rsrc/css/aphront/context-bar.css index d8f2692601..c9356ce08d 100644 --- a/webroot/rsrc/css/aphront/context-bar.css +++ b/webroot/rsrc/css/aphront/context-bar.css @@ -21,3 +21,12 @@ .aphront-contextbar-buttons { float: right; } + +.aphront-contextbar-buttons label { + font-weight: bold; + color: #666666; +} + +.aphront-contextbar-buttons a { + margin: 0 0 0 .5em; +}