source: trac/trunk/templates/site_header.cs @ 3280

Revision 3051, 387 bytes checked in by moschny, 8 years ago (diff)

Re-add old style for redirect notice.

Line 
1<?cs
2# Site header - Contents are automatically inserted above Trac HTML
3?>
4<?cs if:args.redirectedfrom ?>
5<?cs set:chrome.nav.metanav.redirectedfrom =
6  '<span class="redirect">Redirected from <a href="' +
7  trac.href.wiki + '/' + args.redirectedfrom + '?redirect=no">' +
8  args.redirectedfrom + '</a>' +
9  ' (<a href="' + base_url + HTTP.PathInfo + '">hide</a>)</span>' ?>
10<?cs /if ?>
Note: See TracBrowser for help on using the repository browser.