diff options
author | Hiroyuki Sato <sathiroyuki@gmail.com> | 2013-08-21 19:20:29 +0900 |
---|---|---|
committer | Hiroyuki Sato <sathiroyuki@gmail.com> | 2013-08-21 19:20:29 +0900 |
commit | 1101ceb3f4dfb8983f5876215378331a2d9bcc88 (patch) | |
tree | b307e3ffde36f149bcbfcc033390ad7e09485c6e /app/views | |
parent | 5f24bdb7d067df9204e08e126f43c071116089b0 (diff) | |
download | gitlab-ce-1101ceb3f4dfb8983f5876215378331a2d9bcc88.tar.gz |
A little improvement
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.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/network/_head.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/network/_head.html.haml b/app/views/projects/network/_head.html.haml index ed9fcaace25..2790ed6f594 100644 --- a/app/views/projects/network/_head.html.haml +++ b/app/views/projects/network/_head.html.haml @@ -4,7 +4,7 @@ .pull-left = form_tag project_network_path(@project, @id), method: :get do |f| .control-group - = label_tag :filter_ref, "Show only selected ref", class: 'control-label light' + = 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| @@ -15,9 +15,9 @@ .control-group = label_tag :search , "Looking for commit:", class: 'control-label light' .controls - = text_field_tag :q, @options[:q], placeholder: "Input SHA", class: "search-input input-xlarge" + = 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 == "q" + = hidden_field_tag(key, value, id: nil) unless key == "extended_sha1" |