summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-14 18:26:27 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2007-06-14 18:26:27 +0000
commitf2acb56041b997812f4a2dc2e7258a16572df7d1 (patch)
tree46ae163fbeeba9ff056a448773632ba7620964b9 /app/views/versions
parentff1343882ab9a1161b0c1308b65b66630c5b946e (diff)
downloadredmine-f2acb56041b997812f4a2dc2e7258a16572df7d1.tar.gz
redmine-f2acb56041b997812f4a2dc2e7258a16572df7d1.zip
A wiki page can now be attached to each version.
For that, edit the version and set the wiki page name (project wiki must be enabled). The wiki page content is displayed for each version on the roadmap view. git-svn-id: http://redmine.rubyforge.org/svn/trunk@564 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/_form.rhtml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/versions/_form.rhtml b/app/views/versions/_form.rhtml
index 8dca13e36..cd3afcccd 100644
--- a/app/views/versions/_form.rhtml
+++ b/app/views/versions/_form.rhtml
@@ -1,11 +1,10 @@
<%= error_messages_for 'version' %>
<div class="box">
-<!--[form:version]-->
<p><%= f.text_field :name, :size => 20, :required => true %></p>
<p><%= f.text_field :description, :size => 60 %></p>
+<p><%= f.text_field :wiki_page_title, :label => :label_wiki_page, :size => 60, :disabled => @project.wiki.nil? %></p>
<p><%= f.text_field :effective_date, :size => 10 %><%= calendar_for('version_effective_date') %></p>
-<!--[eoform:version]-->
</div>
<% content_for :header_tags do %>
@@ -13,4 +12,4 @@
<%= javascript_include_tag "calendar/lang/calendar-#{current_language}.js" %>
<%= javascript_include_tag 'calendar/calendar-setup' %>
<%= stylesheet_link_tag 'calendar' %>
-<% end %> \ No newline at end of file
+<% end %>