mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-13 14:46:05 +10:00
1. Replace params key 'q' with 'extended_sha1'. A extended SHA1 syntax is explained in 'man gitrevisions'. 2. Change the placeholder of looking for commit. 3. Change the label of ref filter.
24 lines
1.0 KiB
Plaintext
24 lines
1.0 KiB
Plaintext
.clearfix
|
|
.pull-left
|
|
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
|
|
.pull-left
|
|
= form_tag project_network_path(@project, @id), method: :get do |f|
|
|
.control-group
|
|
= label_tag :filter_ref, "Begin with the selected commit", class: 'control-label light'
|
|
.controls
|
|
= check_box_tag :filter_ref, 1, @options[:filter_ref]
|
|
- @options.each do |key, value|
|
|
= hidden_field_tag(key, value, id: nil) unless key == "filter_ref"
|
|
|
|
.search.pull-right
|
|
= form_tag project_network_path(@project, @id), method: :get do |f|
|
|
.control-group
|
|
= label_tag :search , "Looking for commit:", class: 'control-label light'
|
|
.controls
|
|
= text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: "search-input input-xlarge"
|
|
= button_tag type: 'submit', class: 'btn vtop' do
|
|
%i.icon-search
|
|
- @options.each do |key, value|
|
|
= hidden_field_tag(key, value, id: nil) unless key == "extended_sha1"
|
|
|