Menu

Commit [r6384]  Maximize  Restore  History

Updated the `get_logo_data()` to accept an optional `abs_href` input, and the logic is changed slightly so that it always tries to calculate both `logo.src` and `logo.abs_src` as paths as best it can given the input.

Updated all RSS templates to use the `chrome.logo.src_abs` that has changed from a boolean to always contain a path reference. Timeline RSS logo now works again.

Updated tests - all pre-existing tests give the same result as before. New tests added to test the absolute logo reference.

Closes #6562.

osimons 2008-01-09

changed /trunk/trac/ticket/templates/query.rss
changed /trunk/trac/ticket/templates/report.rss
changed /trunk/trac/ticket/templates/ticket.rss
changed /trunk/trac/timeline/templates/timeline.rss
changed /trunk/trac/versioncontrol/templates/revisionlog.rss
changed /trunk/trac/web/chrome.py
changed /trunk/trac/web/tests/chrome.py
/trunk/trac/ticket/templates/query.rss Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/report.rss Diff Switch to side-by-side view
Loading...
/trunk/trac/ticket/templates/ticket.rss Diff Switch to side-by-side view
Loading...
/trunk/trac/timeline/templates/timeline.rss Diff Switch to side-by-side view
Loading...
/trunk/trac/versioncontrol/templates/revisionlog.rss Diff Switch to side-by-side view
Loading...
/trunk/trac/web/chrome.py Diff Switch to side-by-side view
Loading...
/trunk/trac/web/tests/chrome.py Diff Switch to side-by-side view
Loading...