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 @@ -2544,8 +2544,8 @@ h3.files_location { } #graph_content #rev_range_container { - padding: 7px 20px; float: left; + margin: 0px 0px 0px 3px; } #graph_content .container { 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 @@ -33,6 +33,7 @@
+ %if c.rhodecode_db_repo.fork: ${_('Compare fork')} %endif @@ -48,7 +49,6 @@ ${_('revisions')}
${h.end_form()} -
${h.select('branch_filter',c.branch_name,c.branch_filters)}
@@ -161,15 +161,15 @@ var url = url_tmpl.replace('__REVRANGE__', rev_start+'...'+rev_end); - var link = "${_('Show selected changes __S -> __E')}" + var link = "${_('Show selected changes __S -> __E')}"; link = link.replace('__S',rev_start.substr(0,6)); link = link.replace('__E',rev_end.substr(0,6)); + YUD.get('rev_range_container').href = url; YUD.get('rev_range_container').innerHTML = link; YUD.setStyle('rev_range_container','display',''); } else{ YUD.setStyle('rev_range_container','display','none'); - } });