myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [1947] branches/event_logging/app/views/layouts/_


From: noreply
Subject: [myexperiment-hackers] [1947] branches/event_logging/app/views/layouts/_blob.rxml: Subscriptions.
Date: Wed, 12 Nov 2008 10:49:02 -0500 (EST)

Revision
1947
Author
alekses6
Date
2008-11-12 10:49:01 -0500 (Wed, 12 Nov 2008)

Log Message

Subscriptions. Fix for latest files RSS: filename will be displayed if title is blank; content-type is shown without whitespace at the beginning / end.

Modified Paths

Diff

Modified: branches/event_logging/app/views/layouts/_blob.rxml (1946 => 1947)


--- branches/event_logging/app/views/layouts/_blob.rxml	2008-11-12 15:40:10 UTC (rev 1946)
+++ branches/event_logging/app/views/layouts/_blob.rxml	2008-11-12 15:49:01 UTC (rev 1947)
@@ -1,5 +1,5 @@
 xm.item do
-  xm.title "#{h(blob.title)} (#{h(blob.contribution.contributor.name || blob.contribution.contributor.title)}) [#{blob.content_type}]"
+  xm.title "#{h(contributable_name_from_instance(blob))} (#{h(blob.contribution.contributor.name || blob.contribution.contributor.title)}) [#{blob.content_type.strip}]"
   xm.description white_list(blob.body_html)
   # next line should be enabled when files become versioned
   # xm.version blob.current_version

reply via email to

[Prev in Thread] Current Thread [Next in Thread]