OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
318c871
)
added parentheses to get rid of warning
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Fri, 2 Feb 2007 15:22:07 +0000
(15:22 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Fri, 2 Feb 2007 15:22:07 +0000
(15:22 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@218
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/views/documents/_document.rhtml
patch
|
blob
|
history
diff --git
a/app/views/documents/_document.rhtml
b/app/views/documents/_document.rhtml
index
55864ee
..
81e039b
100644
(file)
--- a/
app/views/documents/_document.rhtml
+++ b/
app/views/documents/_document.rhtml
@@
-1,3
+1,3
@@
<p><%= link_to h(document.title), :controller => 'documents', :action => 'show', :id => document %><br />
\r
-<% unless document.description.empty? %><%=h
truncate document.description, 250
%><br /><% end %>
\r
+<% unless document.description.empty? %><%=h
(truncate(document.description, 250))
%><br /><% end %>
\r
<em><%= format_time(document.created_on) %></em></p>
\ No newline at end of file