##// END OF EJS Templates
Prettier wiki syntax help link....
Jean-Philippe Lang -
r5121:f7edfe7652a3
parent child
Show More
@@ -1,5 +1,5
1 1 # Redmine - project management software
2 # Copyright (C) 2006-2008 Jean-Philippe Lang
2 # Copyright (C) 2006-2011 Jean-Philippe Lang
3 3 #
4 4 # This program is free software; you can redistribute it and/or
5 5 # modify it under the terms of the GNU General Public License
@@ -23,9 +23,7 module Redmine
23 23 heads_for_wiki_formatter
24 24 # Is there a simple way to link to a public resource?
25 25 url = "#{Redmine::Utils.relative_url_root}/help/wiki_syntax.html"
26
27 help_link = l(:setting_text_formatting) + ': ' +
28 link_to(l(:label_help), url,
26 help_link = link_to(l(:setting_text_formatting), url,
29 27 :onclick => "window.open(\"#{ url }\", \"\", \"resizable=yes, location=no, width=300, height=640, menubar=no, status=no, scrollbars=yes\"); return false;")
30 28
31 29 javascript_tag("var wikiToolbar = new jsToolBar($('#{field_id}')); wikiToolbar.setHelpLink('#{help_link}'); wikiToolbar.draw();")
@@ -44,7 +44,8
44 44 margin-right: 4px;
45 45 }
46 46
47 .jstElements .help { float: right; margin-right: 1em; padding-top: 8px; font-size: 0.9em; }
47 .jstElements .help { float: right; margin-right: 0.5em; padding-top: 8px; font-size: 0.9em; }
48 .jstElements .help a {padding: 2px 0 2px 20px; background: url(../images/help.png) no-repeat 0 50%;}
48 49
49 50 /* Buttons
50 51 -------------------------------------------------------- */
General Comments 0
You need to be logged in to leave comments. Login now