Defect #7582 ยป robot_exclusion.patch
| app/helpers/application_helper.rb | ||
|---|---|---|
|
def favicon
|
||
|
"<link rel='shortcut icon' href='#{image_path('/favicon.ico')}' />"
|
||
|
end
|
||
|
def robot_exclusion_tag
|
||
|
'<meta name="ROBOTS" content="NOINDEX,FOLLOW,NOARCHIVE" />'
|
||
|
end
|
||
|
|
||
|
# Returns true if arg is expected in the API response
|
||
|
def include_in_api_response?(arg)
|
||
| app/views/issue_moves/new.rhtml | ||
|---|---|---|
|
<%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
|
||
|
<% end %>
|
||
|
<% end %>
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= robot_exclusion_tag %>
|
||
|
<% end %>
|
||
| app/views/issues/edit.rhtml | ||
|---|---|---|
|
<h2><%=h "#{@issue.tracker.name} ##{@issue.id}" %></h2>
|
||
|
<%= render :partial => 'edit' %>
|
||
|
<% content_for :header_tags do %>
|
||
|
<%= robot_exclusion_tag %>
|
||
|
<% end %>
|
||
| app/views/issues/new.rhtml | ||
|---|---|---|
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<%= robot_exclusion_tag %>
|
||
|
<% end %>
|
||
| app/views/wiki/edit.rhtml | ||
|---|---|---|
|
<% content_for :header_tags do %>
|
||
|
<%= stylesheet_link_tag 'scm' %>
|
||
|
<%= robot_exclusion_tag %>
|
||
|
<% end %>
|
||
|
<% html_title @page.pretty_title %>
|
||