Move issue details after action buttons
This commit is contained in:
parent
c29517aaf4
commit
807765b6a7
1 changed files with 10 additions and 10 deletions
|
@ -6,16 +6,6 @@
|
|||
|
||||
.issue
|
||||
.detail-page-header
|
||||
.status-box{ class: "status-box-closed #{issue_button_visibility(@issue, false)}"} Closed
|
||||
.status-box{ class: "status-box-open #{issue_button_visibility(@issue, true)}"} Open
|
||||
%span.identifier
|
||||
Issue ##{@issue.iid}
|
||||
%span.creator
|
||||
·
|
||||
opened by #{link_to_member(@project, @issue.author, size: 24)}
|
||||
·
|
||||
= time_ago_with_tooltip(@issue.created_at, placement: 'bottom', html_class: 'issue_created_ago')
|
||||
|
||||
.pull-right
|
||||
- if can?(current_user, :create_issue, @project)
|
||||
= link_to new_namespace_project_issue_path(@project.namespace, @project), class: 'btn btn-nr btn-grouped new-issue-link btn-success', title: 'New Issue', id: 'new_issue_link' do
|
||||
|
@ -29,6 +19,16 @@
|
|||
= icon('pencil-square-o')
|
||||
Edit
|
||||
|
||||
.status-box{ class: "status-box-closed #{issue_button_visibility(@issue, false)}"} Closed
|
||||
.status-box{ class: "status-box-open #{issue_button_visibility(@issue, true)}"} Open
|
||||
%span.identifier
|
||||
Issue ##{@issue.iid}
|
||||
%span.creator
|
||||
·
|
||||
opened by #{link_to_member(@project, @issue.author, size: 24)}
|
||||
·
|
||||
= time_ago_with_tooltip(@issue.created_at, placement: 'bottom', html_class: 'issue_created_ago')
|
||||
|
||||
.issue-details.issuable-details
|
||||
.detail-page-description.content-block
|
||||
%h2.title
|
||||
|
|
Loading…
Reference in a new issue