Vote #74707
完了Make favicon themeable
0%
説明
"Plan.io":https://plan.io had the case that we needed to be able to set the favicon according to the theme. We have developed a patch to be able to use a favicon from the @favicon@ directory in the theme directory (if more than one is available the @[].first@ will be used).
(Patch coming up as soon as I have an issue number)
journals
Here's the patch.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Could you add a test for this? See source:/trunk/test/integration/lib/redmine/themes_test.rb
--------------------------------------------------------------------------------
Sure, see the attached updated patch.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Patch committed in r12646 with slight changes:
* ruby 1.8 compatibility syntax
* use of @#assert_select@ instead of @#assert_tag@
Thanks.
--------------------------------------------------------------------------------
Thanks!
--------------------------------------------------------------------------------