changeset 3656:79abd21d51c4 beta

codecleaner
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 03 Apr 2013 19:26:01 +0200
parents c78de39f30fc
children 0729ade6bb91
files rhodecode/templates/pullrequests/pullrequest_show.html rhodecode/templates/summary/summary.html
diffstat 2 files changed, 13 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/pullrequests/pullrequest_show.html	Wed Apr 03 17:20:32 2013 +0200
+++ b/rhodecode/templates/pullrequests/pullrequest_show.html	Wed Apr 03 19:26:01 2013 +0200
@@ -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>
--- a/rhodecode/templates/summary/summary.html	Wed Apr 03 17:20:32 2013 +0200
+++ b/rhodecode/templates/summary/summary.html	Wed Apr 03 19:26:01 2013 +0200
@@ -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>