summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-12 19:22:44 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-04-12 19:22:44 +0000
commitffd0a9c72c241eb089bcc63bf0e57a4b872144d4 (patch)
treea7bd3ff7fcd7138881505adcb860c1b6e680dc97 /app/views
parent1242e448f36c0d749baa0549a8103055af49790e (diff)
downloadredmine-ffd0a9c72c241eb089bcc63bf0e57a4b872144d4.tar.gz
redmine-ffd0a9c72c241eb089bcc63bf0e57a4b872144d4.zip
Adds noindex,noarchive robots meta tag on form pages (#7582).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5443 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r--app/views/issue_moves/new.rhtml3
-rw-r--r--app/views/issues/edit.rhtml3
-rw-r--r--app/views/issues/new.rhtml1
-rw-r--r--app/views/wiki/edit.rhtml1
4 files changed, 8 insertions, 0 deletions
diff --git a/app/views/issue_moves/new.rhtml b/app/views/issue_moves/new.rhtml
index cd6044052..24d59aedc 100644
--- a/app/views/issue_moves/new.rhtml
+++ b/app/views/issue_moves/new.rhtml
@@ -74,3 +74,6 @@
<%= submit_tag l(:button_move_and_follow), :name => 'follow' %>
<% end %>
<% end %>
+<% content_for :header_tags do %>
+ <%= robot_exclusion_tag %>
+<% end %>
diff --git a/app/views/issues/edit.rhtml b/app/views/issues/edit.rhtml
index 97f26a205..f2c6024ba 100644
--- a/app/views/issues/edit.rhtml
+++ b/app/views/issues/edit.rhtml
@@ -1,3 +1,6 @@
<h2><%=h "#{@issue.tracker.name} ##{@issue.id}" %></h2>
<%= render :partial => 'edit' %>
+<% content_for :header_tags do %>
+ <%= robot_exclusion_tag %>
+<% end %>
diff --git a/app/views/issues/new.rhtml b/app/views/issues/new.rhtml
index 13992382f..867590fa2 100644
--- a/app/views/issues/new.rhtml
+++ b/app/views/issues/new.rhtml
@@ -23,4 +23,5 @@
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
+ <%= robot_exclusion_tag %>
<% end %>
diff --git a/app/views/wiki/edit.rhtml b/app/views/wiki/edit.rhtml
index 2615075e2..5f47c3f8c 100644
--- a/app/views/wiki/edit.rhtml
+++ b/app/views/wiki/edit.rhtml
@@ -23,6 +23,7 @@
<% content_for :header_tags do %>
<%= stylesheet_link_tag 'scm' %>
+ <%= robot_exclusion_tag %>
<% end %>
<% html_title @page.pretty_title %>