https://www.redmine.org/
https://www.redmine.org/favicon.ico?1679302129
2008-01-29T04:25:00Z
Redmine
Redmine - Patch #258: Textilize document snippet on overview and activity page
https://www.redmine.org/issues/258?journal_id=544
2008-01-29T04:25:00Z
Panta Rhei
<ul></ul><p>Sorry, the first file contains too much. ;)</p>
Redmine - Patch #258: Textilize document snippet on overview and activity page
https://www.redmine.org/issues/258?journal_id=543
2008-01-29T04:31:00Z
Michael Pirogov
<ul></ul><p>Patch for full textilization:</p>
<p>Index: documents/_document.rhtml
=================================================================</p>
<p>--- documents/_document.rhtml (revision 1104)<br />+<ins>+ documents/_document.rhtml (working copy)<br /><code>@ -1,3 +1,5 </code>@<br /> <p><%= link_to h(document.title), :controller =><br />'documents', :action => 'show', :id => document <span>><br<br />/><br /> <</span> unless document.description.blank?<br /><span>><</span>=h(truncate(document.description, 250)) <span>><br<br />/><</span> end <span>><br /></ins><br/><br />+<</span> unless document.description.blank? <span>><</span>=<br />textilize(sanitize(truncate(document.description, 250)))) <span>><br<br />/><</span> end <span>><br /> <em><</span>= format_time(document.created_on)<br />%></em></p><br />Index: projects/activity.rhtml<br />===============================================================
==<br />--- projects/activity.rhtml (revision 1104)<br />+<ins>+ projects/activity.rhtml (working copy)<br /><code>@ -5,7 +5,7 </code>@<br /> <ul><br /> <% @events_by_day[day].sort {|x,y| y.event_datetime <=><br />x.event_datetime }.each do |e| <span>><br /> <li><p><</span>= format_time(e.event_datetime,<br />false) <span>> <</span>= link_to truncate(e.event_title, 100), e.event_url<br /><span>><br /><br />- <</span> unless e.event_description.blank? <span>><em><</span>=<br />truncate(e.event_description, 500) <span>></em><br /><</span><br />end <span>><br /></ins> <</span> unless e.event_description.blank? <span>><em><</span>=<br />textilize(sanitize(truncate(e.event_description, 500)))<br /><span>></em><br /><</span> end <span>><br /> <span class="author"><</span>= e.event_author<br />if e.respond_to?(:event_author)<br /><span>></span></p></li><br /> <</span> end %><br /> </ul></p>
Redmine - Patch #258: Textilize document snippet on overview and activity page
https://www.redmine.org/issues/258?journal_id=542
2008-01-29T05:46:00Z
Panta Rhei
<ul></ul><p>new patch including Michael's changes.</p>
<p>this patch changes the description on activities page.<br />instead of linking the complete comment the author is now<br />linked. format: link([author]) [time] [revision]</p>
<p>so you have all important informations at a glance.<br />so much clearer, for me at least.</p>
<p>should only effect repository changes.</p>
<p>this patch supersedes all previous attached and posted patches.</p>
Redmine - Patch #258: Textilize document snippet on overview and activity page
https://www.redmine.org/issues/258?journal_id=16771
2010-05-15T22:44:09Z
Felix Schäfer
<ul><li><strong>Subject</strong> changed from <i>Patch for ticket #17583</i> to <i>Textilize document snippet on overview and activity page</i></li></ul><p>The snippets are formatted on the document overview, not yet on the activity view though.</p>
Redmine - Patch #258: Textilize document snippet on overview and activity page
https://www.redmine.org/issues/258?journal_id=28350
2011-04-27T09:18:11Z
Etienne Massip
<ul><li><strong>Category</strong> set to <i>Text formatting</i></li></ul>
Redmine - Patch #258: Textilize document snippet on overview and activity page
https://www.redmine.org/issues/258?journal_id=79676
2017-07-03T14:17:07Z
Mischa The Evil
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/26321">Defect #26321</a>: Activity view should not show raw text</i> added</li></ul>