Patch #1218

Patch for relative links to icon images in 'public/help/wiki_syntax.html'

Added by Hajime Baba 8 days ago.

Status :New Start :2008-05-09
Priority :Normal Due date :
Assigned to :- % Done :

0%

Category :Documents
Target version :-

Description

Hi, forks,

I suppose that relative links to icon images
in 'public/help/wiki_syntax.html'
should be '../images/jstoolbar/bt_strong.png',
not '../../images/jstoolbar/bt_strong.png'.

If Redmine is deployed on such as mongrel or webrick,
there seems to be no problem, because the links traverse
to the root directory so that the absolute paths are converted
to '/images/jstoolbar/bt_strong.png'.

However, the links are broken when I have deployed Redmine
to a sub URI on Phusion Passenger (mod_rails) with Apache
configuration 'RailsBaseURI /redmine'. About this setting, see
http://www.modrails.com/documentation/Users%20guide.html#deploying_to_sub_uri
for more details.

Below is a simple patch. Thank you for your consideration.

Best Regards,
Hajime BABA

wiki_syntax.html.diff (5.5 KB) Hajime Baba, 2008-05-09 16:30

Also available in: Atom PDF