Indefero

Indefero Commit Details


Date:2008-08-12 05:48:24 (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, release-1.1, release-1.2, release-1.3, svn
Commit:4175fe030b955a358d889da2986bc1181b642f4a
Parents: 1a030ea4ed1b263817cbcea0b0db4959429dc431
Message:Little optimisation to not lookup the starred info if anonymous user.

Changes:

File differences

src/IDF/Views/Issue.php
465465
466466
467467
468
468
469
469470
470471
471472
$tags[] = sprintf('<a class="label" href="%s">%s</a>', $url, Pluf_esc((string) $tag));
}
$s = '';
if (Pluf_Model_InArray($issue->current_user, $issue->get_interested_list())) {
if (!$issue->current_user->isAnonymous() and
Pluf_Model_InArray($issue->current_user, $issue->get_interested_list())) {
$s = '<img style="vertical-align: text-bottom;" src="'.Pluf_Template_Tag_MediaUrl::url('/idf/img/star.png').'" title="'.__('On your watch list.').'" /> ';
}
$out = '';

Archive Download the corresponding diff file

Page rendered in 0.07171s using 13 queries.