diff --git a/rhodecode/templates/pullrequests/pullrequest_show.html b/rhodecode/templates/pullrequests/pullrequest_show.html --- a/rhodecode/templates/pullrequests/pullrequest_show.html +++ b/rhodecode/templates/pullrequests/pullrequest_show.html @@ -21,11 +21,11 @@ </div> <h3 class="${'closed' if c.pull_request.is_closed() else ''}"> - <img src="${h.url('/images/icons/flag_status_%s.png' % str(c.pull_request.last_review_status))}" /> - ${_('Title')}: ${c.pull_request.title} - %if c.pull_request.is_closed(): - (${_('Closed')}) - %endif + <img src="${h.url('/images/icons/flag_status_%s.png' % str(c.pull_request.last_review_status))}" /> + ${_('Title')}: ${c.pull_request.title} + %if c.pull_request.is_closed(): + (${_('Closed')}) + %endif </h3> <div class="form"> @@ -38,9 +38,9 @@ <div class="changeset-status-container" style="float:none;clear:both"> %if c.current_changeset_status: <div title="${_('Pull request status')}" class="changeset-status-lbl"> - %if c.pull_request.is_closed(): - ${_('Closed')}, - %endif + %if c.pull_request.is_closed(): + ${_('Closed')}, + %endif ${h.changeset_status_lbl(c.current_changeset_status)} </div> <div class="changeset-status-ico" style="padding:1px 4px"><img src="${h.url('/images/icons/flag_status_%s.png' % c.current_changeset_status)}" /></div> diff --git a/rhodecode/templates/summary/summary.html b/rhodecode/templates/summary/summary.html --- a/rhodecode/templates/summary/summary.html +++ b/rhodecode/templates/summary/summary.html @@ -19,14 +19,14 @@ <script> redirect_hash_branch = function(){ var branch = window.location.hash.replace(/^#(.*)/, '$1'); - if (branch){ - window.location = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}" - .replace('__BRANCH__',branch); - } + if (branch){ + window.location = "${h.url('changelog_home',repo_name=c.repo_name,branch='__BRANCH__')}" + .replace('__BRANCH__',branch); + } } redirect_hash_branch(); window.onhashchange = function() { - redirect_hash_branch(); + redirect_hash_branch(); }; </script>