Indefero

Indefero Commit Details


Date:2008-12-05 13:41:11 (16 years 16 days 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:f1f7d635b7329b540bd8b7bae17b91256f29a762
Parents: 05c8d321c10319ac4ec30e8263fa422261351d65
Message:Updated to send to the dashboard when clicking on the "me" links.

Changes:

File differences

src/IDF/Template/ShowUser.php
5050
5151
5252
53
54
5553
5654
55
5756
5857
58
59
5960
6061
6162
if ($user == null) {
$out = (strlen($text)) ? strip_tags($text) : __('Anonymous');
} else {
$url = Pluf_HTTP_URL_urlForView('IDF_Views_User::view',
array($user->login));
if (!$user->isAnonymous() and $user->id == $request->user->id) {
$utext = __('Me');
$url = Pluf_HTTP_URL_urlForView('idf_dashboard');
} else {
$utext = Pluf_esc($user);
$url = Pluf_HTTP_URL_urlForView('IDF_Views_User::view',
array($user->login));
}
$out = sprintf('<a href="%s" class="username">%s</a>',
$url, $utext);

Archive Download the corresponding diff file

Page rendered in 0.07472s using 13 queries.