summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-23 10:51:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-12-23 10:51:14 +0200
commit9a8ac2accc78f231fdf7ad7fd8b8bb405a24942b (patch)
treef1fa641867c17fa4829263924c34d3c047eda7b8
parenta2d188f688759b3889de576bb8019e189bcac902 (diff)
downloadgitlab-ce-9a8ac2accc78f231fdf7ad7fd8b8bb405a24942b.tar.gz
Show issuable context labels as blocks
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/projects/issues/_issue_context.html.haml4
-rw-r--r--app/views/projects/merge_requests/show/_context.html.haml4
2 files changed, 4 insertions, 4 deletions
diff --git a/app/views/projects/issues/_issue_context.html.haml b/app/views/projects/issues/_issue_context.html.haml
index d443aae43ac..98777a58f9d 100644
--- a/app/views/projects/issues/_issue_context.html.haml
+++ b/app/views/projects/issues/_issue_context.html.haml
@@ -1,6 +1,6 @@
= form_for [@project, @issue], remote: true, html: {class: 'edit-issue inline-update'} do |f|
%div.prepend-top-20
- %strong
+ %p
Assignee:
- if can?(current_user, :modify_issue, @issue)
@@ -11,7 +11,7 @@
None
%div.prepend-top-20
- %strong
+ %p
Milestone:
- if can?(current_user, :modify_issue, @issue)
= f.select(:milestone_id, milestone_options(@issue), { include_blank: "Select milestone" }, {class: 'select2 select2-compact js-select2 js-milestone'})
diff --git a/app/views/projects/merge_requests/show/_context.html.haml b/app/views/projects/merge_requests/show/_context.html.haml
index d4b6434b171..5b6e64f0657 100644
--- a/app/views/projects/merge_requests/show/_context.html.haml
+++ b/app/views/projects/merge_requests/show/_context.html.haml
@@ -1,6 +1,6 @@
= form_for [@project, @merge_request], remote: true, html: {class: 'edit-merge_request inline-update'} do |f|
%div.prepend-top-20
- %strong
+ %p
Assignee:
- if can?(current_user, :modify_merge_request, @merge_request)
@@ -11,7 +11,7 @@
None
%div.prepend-top-20
- %strong
+ %p
Milestone:
- if can?(current_user, :modify_merge_request, @merge_request)
= f.select(:milestone_id, milestone_options(@merge_request), { include_blank: "Select milestone" }, {class: 'select2 select2-compact js-select2 js-milestone'})