Commit 73404f6281f46b4dd68e5ebde48a242ed8adacc5
1 parent
39ea486e
Exists in
master
and in
4 other branches
there should be no space after '(' and before ')'
Showing
11 changed files
with
18 additions
and
20 deletions
Show diff stats
app/views/admin/mailer/preview.html.haml
app/views/admin/projects/show.html.haml
app/views/commits/compare.html.haml
... | ... | @@ -36,12 +36,12 @@ |
36 | 36 | $(function() { |
37 | 37 | var availableTags = #{@project.heads.map(&:name).to_json}; |
38 | 38 | |
39 | - $( "#from" ).autocomplete({ | |
39 | + $("#from").autocomplete({ | |
40 | 40 | source: availableTags, |
41 | 41 | minLength: 1 |
42 | 42 | }); |
43 | 43 | |
44 | - $( "#to" ).autocomplete({ | |
44 | + $("#to").autocomplete({ | |
45 | 45 | source: availableTags, |
46 | 46 | minLength: 1 |
47 | 47 | }); | ... | ... |
app/views/dashboard/index.html.haml
... | ... | @@ -11,7 +11,7 @@ |
11 | 11 | %span.ico.projects |
12 | 12 | = link_to "Projects" , "#projects", :id => "projects" |
13 | 13 | %small |
14 | - ( most recent ) | |
14 | + (most recent) | |
15 | 15 | |
16 | 16 | %strong.right |
17 | 17 | = link_to projects_path do |
... | ... | @@ -55,7 +55,7 @@ |
55 | 55 | %h3 |
56 | 56 | = link_to "Merge Requests" , "#merge_requests", :id => "merge_requests" |
57 | 57 | |
58 | - %small ( authored or assigned to you ) | |
58 | + %small (authored or assigned to you) | |
59 | 59 | %strong.right |
60 | 60 | = link_to dashboard_merge_requests_path do |
61 | 61 | Visit merge requests page → |
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 | %div.dashboard_category |
68 | 68 | %h3 |
69 | 69 | = link_to "Issues" , "#issues", :id => "issues" |
70 | - %small ( assigned to you ) | |
70 | + %small (assigned to you) | |
71 | 71 | %strong.right |
72 | 72 | = link_to dashboard_issues_path do |
73 | 73 | Visit issues page → | ... | ... |
app/views/dashboard/issues.html.haml
app/views/dashboard/merge_requests.html.haml
app/views/issues/create.js.haml
1 | 1 | - if @issue.valid? |
2 | 2 | :plain |
3 | 3 | switchFromNewIssue(); |
4 | - $("#issues-table").prepend("#{escape_javascript(render(:partial => 'show', :locals => {:issue => @issue} ))}"); | |
4 | + $("#issues-table").prepend("#{escape_javascript(render(:partial => 'show', :locals => {:issue => @issue}))}"); | |
5 | 5 | $.ajax({type: "GET", url: location.href, dataType: "script"}); |
6 | 6 | - else |
7 | 7 | :plain | ... | ... |
app/views/keys/create.js.haml
1 | 1 | - if @key.valid? |
2 | 2 | :plain |
3 | 3 | $("#new_key_dialog").dialog("close"); |
4 | - $("#keys-table .data").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key} ))}"); | |
4 | + $("#keys-table .data").append("#{escape_javascript(render(:partial => 'show', :locals => {:key => @key}))}"); | |
5 | 5 | $("#no_ssh_key_defined").hide(); |
6 | 6 | - else |
7 | 7 | :plain | ... | ... |
app/views/layouts/_head_panel.html.haml
app/views/refs/_tree_file.html.haml
... | ... | @@ -2,12 +2,12 @@ |
2 | 2 | .view_file |
3 | 3 | .view_file_header |
4 | 4 | .row |
5 | - .span1.file_icon= image_tag( file.image? ? "file_img.png" : "file_txt.png") | |
5 | + .span1.file_icon= image_tag(file.image? ? "file_img.png" : "file_txt.png") | |
6 | 6 | .span2.mode_text= file.mode |
7 | 7 | .span7.file_name= name |
8 | 8 | .span4.right |
9 | - = link_to "raw", blob_project_ref_path(@project, @ref, :path => params[:path] ), :class => "right", :target => "_blank" | |
10 | - = link_to "history", project_commits_path(@project, :path => params[:path], :ref => @ref ), :class => "right", :style => "margin-right:10px;" | |
9 | + = link_to "raw", blob_project_ref_path(@project, @ref, :path => params[:path]), :class => "right", :target => "_blank" | |
10 | + = link_to "history", project_commits_path(@project, :path => params[:path], :ref => @ref), :class => "right", :style => "margin-right:10px;" | |
11 | 11 | - if file.text? |
12 | 12 | .view_file_content |
13 | 13 | - unless file.empty? |
... | ... | @@ -22,7 +22,7 @@ |
22 | 22 | %img{ :src => "data:#{file.mime_type};base64,#{Base64.encode64(file.data)}"} |
23 | 23 | - else |
24 | 24 | %center |
25 | - = link_to blob_project_ref_path(@project, @ref, :path => params[:path] ) do | |
25 | + = link_to blob_project_ref_path(@project, @ref, :path => params[:path]) do | |
26 | 26 | %div |
27 | 27 | %br |
28 | 28 | = image_tag "download.png", :width => 64 | ... | ... |
app/views/wikis/history.html.haml
... | ... | @@ -11,9 +11,7 @@ |
11 | 11 | %td= i + 1 |
12 | 12 | %td |
13 | 13 | = link_to wiki_page.created_at.to_s(:short), project_wiki_path(@project, wiki_page, :old_page_id => wiki_page.id) |
14 | - ( | |
15 | - = time_ago_in_words(wiki_page.created_at) | |
16 | - ago | |
17 | - ) | |
14 | + (#{time_ago_in_words(wiki_page.created_at)} | |
15 | + ago) | |
18 | 16 | %td= wiki_page.user.name |
19 | 17 | ... | ... |