Indefero

Indefero Commit Details


Date:2009-01-31 15:23:49 (15 years 10 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, release-1.1, release-1.2, release-1.3
Commit:3c7ad4581f47bccbfcf1fa2361e4e07f2827eabb
Parents: 01b68978ff4c169f66194bbb2f212274cc436a83
Message:Added the display of the number of people following a ticket.

Changes:

File differences

src/IDF/Views/Issue.php
251251
252252
253253
254
254255
255256
256257
......
270271
271272
272273
273
274274
275275
276276
......
324324
325325
326326
327
327328
328329
329330
$form = false; // The form is available only if logged in.
$starred = false;
$closed = in_array($issue->status, $prj->getTagIdsByStatus('closed'));
$interested = $issue->get_interested_list();
if (!$request->user->isAnonymous()) {
$starred = Pluf_Model_InArray($request->user, $issue->get_interested_list());
$params = array(
array($prj->shortname, $issue->id));
$request->user->setMessage(sprintf(__('<a href="%s">Issue %d</a> has been updated.'), $urlissue, $issue->id));
// Get the list of interested person + owner + submitter
$interested = $issue->get_interested_list();
if (!Pluf_Model_InArray($issue->get_submitter(), $interested)) {
$interested[] = $issue->get_submitter();
}
'starred' => $starred,
'page_title' => $title,
'closed' => $closed,
'interested' =>$interested->count(),
),
$arrays),
$request);
src/IDF/templates/idf/issues/view.html
126126
127127
128128
129
129
130
131
130132
131133
132134
<strong>{trans 'Status:'}</strong> {$issue.get_status.name}</p>
{if $issue.get_owner != null}<p>
<strong>{trans 'Owner:'}</strong> {showuser $issue.get_owner(), $request}
</p>{/if}{assign $tags = $issue.get_tags_list()}{if $tags.count()}
</p>{/if}
{if $interested > 0}<p><strong>{trans 'Followed by:'}</strong> {blocktrans $interested}{$interested} person{plural}{$interested} persons{/blocktrans}</p>{/if}
{assign $tags = $issue.get_tags_list()}{if $tags.count()}
<p>
<strong>{trans 'Labels:'}</strong><br />
{foreach $tags as $tag}{aurl 'url', 'IDF_Views_Issue::listLabel', array($project.shortname, $tag.id, 'open')}

Archive Download the corresponding diff file

Page rendered in 0.07469s using 13 queries.