From fdf842a4c458b9f40c233bda221ff241df8eb108 Mon Sep 17 00:00:00 2001
From: Jean-Philippe Lang <jp_lang@yahoo.fr>
Date: Fri, 7 Sep 2007 20:07:54 +0000
Subject: Improved Redmine links: * issue and changeset links generated only if
 the object exists * issue subject and status appear in the link title *
 strike issue link if issue is closed * red wiki page link if page doesn't
 exist * new icon for external links

Wiki page cache had to be disabled.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@714 e93f8b46-1217-0410-a6f0-8f06a7374b81
---
 app/views/projects/_form.rhtml | 2 +-
 app/views/wiki/_content.rhtml  | 4 +---
 2 files changed, 2 insertions(+), 4 deletions(-)

(limited to 'app/views')

diff --git a/app/views/projects/_form.rhtml b/app/views/projects/_form.rhtml
index 55527e080..7edf17e30 100644
--- a/app/views/projects/_form.rhtml
+++ b/app/views/projects/_form.rhtml
@@ -45,7 +45,7 @@
 <%= hidden_field_tag "wiki_enabled", 0 %>
 <div id="wiki">
 <% fields_for :wiki, @project.wiki, { :builder => TabularFormBuilder, :lang => current_language} do |wiki| %>
-<p><%= wiki.text_field :start_page, :size => 60, :required => true %><br /><em><%= l(:text_unallowed_characters) %>: , . / ? ; |</em></p>
+<p><%= wiki.text_field :start_page, :size => 60, :required => true %><br /><em><%= l(:text_unallowed_characters) %>: , . / ? ; : |</em></p>
 <% # content_tag("div", "", :id => "wiki_start_page_auto_complete", :class => "auto_complete") +
    # auto_complete_field("wiki_start_page", { :url => { :controller => 'wiki', :action => 'auto_complete_for_wiki_page', :id => @project } })
 %>
diff --git a/app/views/wiki/_content.rhtml b/app/views/wiki/_content.rhtml
index 3f7c14201..0c6f4d648 100644
--- a/app/views/wiki/_content.rhtml
+++ b/app/views/wiki/_content.rhtml
@@ -1,5 +1,3 @@
 <div class="wiki">
-  <% cache "wiki/show/#{content.page.id}/#{content.version}" do %>
-    <%= textilizable content.text, :attachments => content.page.attachments %>
-  <% end %>
+  <%= textilizable content.text, :attachments => content.page.attachments %>
 </div>
-- 
cgit v1.2.3