diff --git a/rhodecode/lib/helpers.py b/rhodecode/lib/helpers.py --- a/rhodecode/lib/helpers.py +++ b/rhodecode/lib/helpers.py @@ -744,10 +744,13 @@ def urlify_text(text_): return literal(url_pat.sub(url_func, text_)) -def urlify_commit(text_, repository=None): +def urlify_commit(text_, repository=None, link_=None): import re import traceback + if link_: + link_ = '' + try: conf = config['app_conf'] @@ -768,6 +771,9 @@ def urlify_commit(text_, repository=None if repository: url = url.replace('{repo}', repository) + if link_: + tmpl = '' + tmpl + link_ + return tmpl % ( { 'cls': 'issue-tracker-link', @@ -777,11 +783,16 @@ def urlify_commit(text_, repository=None 'serv': ISSUE_SERVER_LNK, } ) - return literal(URL_PAT.sub(url_func, text_)) + newtext = URL_PAT.sub(url_func, text_) + if link_: + newtext = link_ + newtext + '' + return literal(newtext) except: log.error(traceback.format_exc()) pass + + return text_ diff --git a/rhodecode/public/css/style.css b/rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css +++ b/rhodecode/public/css/style.css @@ -2322,6 +2322,11 @@ h3.files_location { text-decoration: none; } +#content #graph_content .message .issue-tracker-link { + font-weight: bold !important; +} + + .right div { clear: both; } diff --git a/rhodecode/templates/changelog/changelog.html b/rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html +++ b/rhodecode/templates/changelog/changelog.html @@ -59,7 +59,7 @@