Mercurial > kallithea
changeset 1680:cf370b6d3977 beta
added rst help link
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Sun, 13 Nov 2011 18:05:44 +0200 |
parents | c3d9cd8c0cba |
children | 1bf03daafaf0 |
files | rhodecode/config/routing.py rhodecode/templates/changeset/changeset_file_comment.html |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/rhodecode/config/routing.py Sun Nov 13 16:56:41 2011 +0200 +++ b/rhodecode/config/routing.py Sun Nov 13 18:05:44 2011 +0200 @@ -67,6 +67,9 @@ rmap.connect('bugtracker', "http://bitbucket.org/marcinkuzminski/rhodecode/issues", _static=True) + rmap.connect('rst_help', + "http://docutils.sourceforge.net/docs/user/rst/quickref.html", + _static=True) rmap.connect('rhodecode_official', "http://rhodecode.org", _static=True) #ADMIN REPOSITORY REST ROUTES
--- a/rhodecode/templates/changeset/changeset_file_comment.html Sun Nov 13 16:56:41 2011 +0200 +++ b/rhodecode/templates/changeset/changeset_file_comment.html Sun Nov 13 18:05:44 2011 +0200 @@ -38,7 +38,8 @@ %if c.rhodecode_user.username != 'default': ${h.form(h.url('changeset_comment', repo_name=c.repo_name, revision=c.changeset.raw_id))} <div class="clearfix"> - <div class="comment-help">${_('Commenting on line')} {1} ${_('comments parsed using RST syntax')}</div> + <div class="comment-help">${_('Commenting on line')} {1} ${_('comments parsed using')} + <a href="${h.url('rst_help')}">RST</a> ${_('syntax')}</div> ${h.textarea('text')} </div> <div class="comment-button">