Defect #7582 ยป robot_exclusion.patch
app/helpers/application_helper.rb | ||
---|---|---|
898 | 898 |
def favicon |
899 | 899 |
"<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />" |
900 | 900 |
end |
901 | ||
902 |
def robot_exclusion_tag |
|
903 |
'<meta name="ROBOTS" content="NOINDEX,FOLLOW,NOARCHIVE" />' |
|
904 |
end |
|
901 | 905 |
|
902 | 906 |
# Returns true if arg is expected in the API response |
903 | 907 |
def include_in_api_response?(arg) |
app/views/issue_moves/new.rhtml | ||
---|---|---|
74 | 74 |
<%= submit_tag l(:button_move_and_follow), :name => 'follow' %> |
75 | 75 |
<% end %> |
76 | 76 |
<% end %> |
77 |
<% content_for :header_tags do %> |
|
78 |
<%= robot_exclusion_tag %> |
|
79 |
<% end %> |
app/views/issues/edit.rhtml | ||
---|---|---|
1 | 1 |
<h2><%=h "#{@issue.tracker.name} ##{@issue.id}" %></h2> |
2 | 2 | |
3 | 3 |
<%= render :partial => 'edit' %> |
4 |
<% content_for :header_tags do %> |
|
5 |
<%= robot_exclusion_tag %> |
|
6 |
<% end %> |
app/views/issues/new.rhtml | ||
---|---|---|
23 | 23 | |
24 | 24 |
<% content_for :header_tags do %> |
25 | 25 |
<%= stylesheet_link_tag 'scm' %> |
26 |
<%= robot_exclusion_tag %> |
|
26 | 27 |
<% end %> |
app/views/wiki/edit.rhtml | ||
---|---|---|
23 | 23 | |
24 | 24 |
<% content_for :header_tags do %> |
25 | 25 |
<%= stylesheet_link_tag 'scm' %> |
26 |
<%= robot_exclusion_tag %> |
|
26 | 27 |
<% end %> |
27 | 28 | |
28 | 29 |
<% html_title @page.pretty_title %> |