Indefero

Indefero Commit Details


Date:2008-07-25 07:25:50 (16 years 4 months ago)
Author:Loic d'Anterroches
Branch:dev, develop, feature-issue_links, feature.better-home, feature.content-md5, feature.diff-whitespace, feature.download-md5, feature.issue-links, feature.issue-of-others, feature.issue-summary, feature.search-filter, feature.webrepos, feature.wiki-default-page, master, newdiff, release-1.1, release-1.2, release-1.3, svn
Commit:2e711bee8d2b7c6680d6d44cb796f2cc67c9ed68
Parents: 4eea3797b26cb3ab34c5b4e1b7ff5098f2284deb
Message:Added a nice formatting of the issue comments.

Changes:

File differences

src/IDF/IssueComment.php
116116
117117
118118
119
120
121
122
123
119124
$q->lock = 0;
$q->create();
}
}
function IDF_IssueComment_Filter($text)
{
return wordwrap($text, 80, "\n", true);
}
src/IDF/templates/issues/view.html
1313
1414
1515
16
16
1717
1818
1919
<p>{blocktrans}Comment <a href="{$url}">{$i}</a> by {$who}, {$c.creation_dtime|date}{/blocktrans}</p>
{/if}
<p class="issue-comment-text">{if strlen($c.content) > 0}{$c.content|nl2br}{else}<i>{trans '(No comments were given for this change.)'}</i>{/if}</p>
<pre class="issue-comment-text">{if strlen($c.content) > 0}{$c.content|issuetext}{else}<i>{trans '(No comments were given for this change.)'}</i>{/if}</pre>
{if $i> 0 and $c.changedIssue()}
<div class="issue-changes">

Archive Download the corresponding diff file

Page rendered in 0.07763s using 13 queries.