Merge branch 'master' into 263-refactoring
This commit is contained in:
commit
2cc3798cdc
|
@ -1172,3 +1172,17 @@ table.tablesorter tr td.no_results {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
/* end */
|
/* end */
|
||||||
|
|
||||||
|
hr.bootstrap {
|
||||||
|
border: 0;
|
||||||
|
border-top: 1px solid #eeeeee;
|
||||||
|
border-bottom: 1px solid #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.fork-modal {
|
||||||
|
top: 45%;
|
||||||
|
}
|
||||||
|
|
||||||
|
.modal-body-fork {
|
||||||
|
max-height: 280px;
|
||||||
|
}
|
|
@ -54,4 +54,4 @@
|
||||||
.both
|
.both
|
||||||
|
|
||||||
%footer= render "layouts/menu/bottom"
|
%footer= render "layouts/menu/bottom"
|
||||||
= render 'layouts/counters' unless current_user.try(:admin?)
|
= render 'layouts/counters' if !current_user.try(:admin?) && Rails.env.production?
|
||||||
|
|
|
@ -1,11 +1,14 @@
|
||||||
- if can? :fork, @project
|
- if can? :fork, @project
|
||||||
.r#fork-and-edit= link_to t('layout.projects.fork_and_edit'), '#forkModal', :class => 'button', 'data-toggle' => 'modal'
|
.r#fork-and-edit= link_to t('layout.projects.fork_and_edit'), '#forkModal', :class => 'button', 'data-toggle' => 'modal'
|
||||||
#forkModal.modal{:style => 'display: none;'}
|
#forkModal.modal.fork-modal{:style => 'display: none;'}
|
||||||
.modal-header
|
.modal-header
|
||||||
%a.close{"data-dismiss" => "modal"} ×
|
%a.close{"data-dismiss" => "modal"} ×
|
||||||
%h3=t 'layout.projects.fork_modal_header'
|
%h3=t 'layout.projects.fork_modal_header'
|
||||||
.modal-footer=render 'choose_fork', :owner => current_user
|
.modal-body.modal-body-fork
|
||||||
- Group.can_own_project(current_user).each do |group|
|
=render 'choose_fork', :owner => current_user
|
||||||
.modal-footer=render 'choose_fork', :owner => group
|
%hr.bootstrap
|
||||||
|
- Group.can_own_project(current_user).each do |group|
|
||||||
|
=render 'choose_fork', :owner => group
|
||||||
|
%hr.bootstrap
|
||||||
- if can? :create, @project.build_lists.new
|
- if can? :create, @project.build_lists.new
|
||||||
.r{:style => "display: block"}= link_to t('layout.projects.new_build_list'), new_project_build_list_path(@project), :class => 'button'
|
.r{:style => "display: block"}= link_to t('layout.projects.new_build_list'), new_project_build_list_path(@project), :class => 'button'
|
||||||
|
|
Loading…
Reference in New Issue