diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-27 03:18:00 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-08-27 03:18:00 +0000 |
commit | 2d83d1298a269897e48c1a6b696e627dfe166832 (patch) | |
tree | 1f737f41ea71c05cb408e5b8af41b4e5bdcf5fbd /app/views/documents/_document.html.erb | |
parent | 94fd72c004da22300a08a629baeaca0ab499caf8 (diff) | |
download | redmine-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.erb | 6 |
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> |