summaryrefslogtreecommitdiffstats
path: root/app/views/documents/_document.html.erb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-27 03:18:00 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-27 03:18:00 +0000
commit2d83d1298a269897e48c1a6b696e627dfe166832 (patch)
tree1f737f41ea71c05cb408e5b8af41b4e5bdcf5fbd /app/views/documents/_document.html.erb
parent94fd72c004da22300a08a629baeaca0ab499caf8 (diff)
downloadredmine-2d83d1298a269897e48c1a6b696e627dfe166832.tar.gz
redmine-2d83d1298a269897e48c1a6b696e627dfe166832.zip
rename .rhtml to .html.erb of app/views/documents/_document.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6660 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/documents/_document.html.erb')
-rw-r--r--app/views/documents/_document.html.erb6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb
new file mode 100644
index 000000000..644cf2fbd
--- /dev/null
+++ b/app/views/documents/_document.html.erb
@@ -0,0 +1,6 @@
+<h4><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %></h4>
+<p><em><%= format_time(document.updated_on) %></em></p>
+
+<div class="wiki">
+ <%= textilizable(truncate_lines(document.description)) %>
+</div>