summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-04-11 09:43:59 +0100
committerPhil Hughes <me@iamphill.com>2016-04-11 09:43:59 +0100
commit643fe43d78044d200c863f34d05c210c3e45b5ce (patch)
tree3354f5d345dd4454cd99b9869936721d14d9f511 /app/views/projects
parent1ca627f7829f4f45802687748da22cef315207a3 (diff)
downloadgitlab-ce-643fe43d78044d200c863f34d05c210c3e45b5ce.tar.gz
Addressed feedback
Removed important from css
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/merge_requests/_new_compare.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/merge_requests/_new_compare.html.haml b/app/views/projects/merge_requests/_new_compare.html.haml
index 036b1935361..cae5d452317 100644
--- a/app/views/projects/merge_requests/_new_compare.html.haml
+++ b/app/views/projects/merge_requests/_new_compare.html.haml
@@ -16,9 +16,10 @@
= dropdown_title("Select source project")
= dropdown_filter("Search projects")
= dropdown_content do
+ - is_active = f.object.source_project_id == @merge_request.source_project.id
%ul
%li
- %a{ href: "#", class: "#{("is-active" if f.object.source_project_id == @merge_request.source_project.id)}", data: { id: @merge_request.source_project.id } }
+ %a{ href: "#", class: "#{("is-active" if is_active)}", data: { id: @merge_request.source_project.id } }
= @merge_request.source_project_path
.merge-request-select.dropdown
= f.hidden_field :source_branch
@@ -33,7 +34,7 @@
%a{ href: "#", class: "#{("is-active" if f.object.source_branch == branch)}", data: { id: branch } }
= branch
.panel-footer
- = icon('spinner spin', class: "js-source-loading")
+ = icon('spinner spin', class: 'js-source-loading')
%ul.list-unstyled.mr_source_commit
.col-md-6