Merge commit 'master' into discussions
Conflicts: app/assets/stylesheets/sections/notes.scss app/contexts/notes/load_context.rb app/models/project.rb app/observers/note_observer.rb app/roles/votes.rb app/views/commit/show.html.haml app/views/merge_requests/_show.html.haml app/views/merge_requests/diffs.js.haml app/views/merge_requests/show.js.haml app/views/notes/_note.html.haml features/steps/project/project_merge_requests.rb spec/models/note_spec.rb
This commit is contained in:
commit
3022786948
930 changed files with 80374 additions and 103682 deletions
|
@ -15,13 +15,13 @@
|
|||
= f.label :path do
|
||||
Repository
|
||||
.controls
|
||||
= text_field_tag :ppath, @project.path_to_repo, class: "xxlarge", readonly: true
|
||||
= text_field_tag :ppath, @repository.path_to_repo, class: "xxlarge", readonly: true
|
||||
|
||||
|
||||
- unless @project.heads.empty?
|
||||
- unless @repository.heads.empty?
|
||||
.clearfix
|
||||
= f.label :default_branch, "Default Branch"
|
||||
.input= f.select(:default_branch, @project.heads.map(&:name), {}, style: "width:210px;")
|
||||
.input= f.select(:default_branch, @repository.heads.map(&:name), {}, style: "width:210px;")
|
||||
|
||||
%fieldset.features
|
||||
%legend Features:
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
Project name is
|
||||
.input
|
||||
= f.text_field :name, placeholder: "Example Project", class: "xxlarge"
|
||||
= f.submit 'Create project', class: "btn primary project-submit"
|
||||
= f.submit 'Create project', class: "btn success project-submit"
|
||||
|
||||
- if current_user.several_namespaces?
|
||||
.clearfix
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue