diff --git a/rhodecode/public/js/rhodecode.js b/rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js +++ b/rhodecode/public/js/rhodecode.js @@ -172,7 +172,10 @@ function ypjax(url,container,s_call,f_ca YUC.asyncRequest(method,url,{ success:s_wrapper, failure:function(o){ - console.log(o) + console.log(o); + YUD.get(container).innerHTML='ERROR'; + YUD.setStyle(container,'opacity','1.0'); + YUD.setStyle(container,'color','red'); } },args); diff --git a/rhodecode/templates/repo_switcher_list.html b/rhodecode/templates/repo_switcher_list.html --- a/rhodecode/templates/repo_switcher_list.html +++ b/rhodecode/templates/repo_switcher_list.html @@ -11,12 +11,12 @@ name="filter" size="15" id="q_filter_rs" %if repo['dbrepo']['private']:
  • - ${_('Private repository')} + ${_('Private repository')} ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])}
  • %else:
  • - ${_('Public repository')} + ${_('Public repository')} ${h.link_to(repo['name'],h.url('summary_home',repo_name=repo['name']),class_="repo_name %s" % repo['dbrepo']['repo_type'])}
  • %endif