mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 15:30:58 +01:00
Make naming, titles and layout more consistent between Maniphest and
Differential Summary: Make some display stuff more consistent. Test Plan: Looked at a task and a revision. Reviewed By: jungejason Reviewers: aran, jungejason, tuomaspelkonen CC: aran, jungejason Differential Revision: 462
This commit is contained in:
parent
921164aab7
commit
4e75080b66
5 changed files with 17 additions and 4 deletions
|
@ -242,7 +242,7 @@ class DifferentialRevisionViewController extends DifferentialController {
|
|||
$changeset_view->render().
|
||||
$comment_form->render()),
|
||||
array(
|
||||
'title' => $revision->getTitle(),
|
||||
'title' => 'D'.$revision->getID().' '.$revision->getTitle(),
|
||||
));
|
||||
}
|
||||
|
||||
|
|
|
@ -86,7 +86,12 @@ final class DifferentialRevisionDetailView extends AphrontView {
|
|||
id(new AphrontKeyboardShortcutsAvailableView())->render().
|
||||
'</div>'.
|
||||
'<div class="differential-revision-detail-core">'.
|
||||
'<h1>'.phutil_escape_html($revision->getTitle()).'</h1>'.
|
||||
'<h1>'.
|
||||
'<span class="aphront-headsup-object-name">'.
|
||||
phutil_escape_html('D'.$revision->getID()).
|
||||
'</span>'.
|
||||
' '.
|
||||
phutil_escape_html($revision->getTitle()).'</h1>'.
|
||||
$properties.
|
||||
'</div>'.
|
||||
'<div style="clear: both;"></div>'.
|
||||
|
|
|
@ -196,7 +196,11 @@ class ManiphestTaskDetailController extends ManiphestController {
|
|||
$action_list->render().
|
||||
'<div class="maniphest-task-detail-core">'.
|
||||
'<h1>'.
|
||||
phutil_escape_html('T'.$task->getID().' '.$task->getTitle()).
|
||||
'<span class="aphront-headsup-object-name">'.
|
||||
phutil_escape_html('T'.$task->getID()).
|
||||
'</span>'.
|
||||
' '.
|
||||
phutil_escape_html($task->getTitle()).
|
||||
'</h1>'.
|
||||
$table.
|
||||
'</div>'.
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
* @provides aphront-headsup-action-list-view-css
|
||||
*/
|
||||
|
||||
.aphront-headsup-object-name {
|
||||
color: #666666;
|
||||
margin-right: 0.25em;
|
||||
}
|
||||
|
||||
.aphront-headsup-action-list {
|
||||
float: right;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
*/
|
||||
|
||||
.differential-primary-pane {
|
||||
margin: 0 40px;
|
||||
margin: 0 0 0 2em;
|
||||
padding-bottom: 2em;
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue