aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/templates
diff options
context:
space:
mode:
authorMarcin Kuzminski <marcin@python-works.com>2012-02-29 23:11:13 +0200
committerMarcin Kuzminski <marcin@python-works.com>2012-02-29 23:11:13 +0200
commit1427e67b54ad555d0ee04fb7c5054999c544f65a (patch)
tree72525edb14f25fbb1c56681a82037cfb21ba2873 /rhodecode/templates
parentf0eb9219f169ed9feefb9855cc27ebd3c3669b54 (diff)
parentdbf30a80d5551315ff49f1cf33e2c02b8998f6e6 (diff)
merge beta into stable
Diffstat (limited to 'rhodecode/templates')
-rw-r--r--rhodecode/templates/admin/repos/repos.html4
-rw-r--r--rhodecode/templates/index_base.html6
2 files changed, 5 insertions, 5 deletions
diff --git a/rhodecode/templates/admin/repos/repos.html b/rhodecode/templates/admin/repos/repos.html
index ed97e148..b9584c8c 100644
--- a/rhodecode/templates/admin/repos/repos.html
+++ b/rhodecode/templates/admin/repos/repos.html
@@ -42,8 +42,8 @@
</tr>
</thead>
- %for cnt,repo in enumerate(c.repos_list,1):
- <tr class="parity${cnt%2}">
+ %for cnt,repo in enumerate(c.repos_list):
+ <tr class="parity${(cnt+1)%2}">
<td class="quick_repo_menu">
${dt.quick_menu(repo['name'])}
</td>
diff --git a/rhodecode/templates/index_base.html b/rhodecode/templates/index_base.html
index 0aaba7da..e1549a8a 100644
--- a/rhodecode/templates/index_base.html
+++ b/rhodecode/templates/index_base.html
@@ -69,8 +69,8 @@
</tr>
</thead>
<tbody>
- %for cnt,repo in enumerate(c.repos_list,1):
- <tr class="parity${cnt%2}">
+ %for cnt,repo in enumerate(c.repos_list):
+ <tr class="parity${(cnt+1)%2}">
##QUICK MENU
<td class="quick_repo_menu">
${dt.quick_menu(repo['name'])}
@@ -115,7 +115,7 @@
</div>
</div>
<script>
- YUD.get('repo_count').innerHTML = ${cnt};
+ YUD.get('repo_count').innerHTML = ${cnt+1};
var func = function(node){
return node.parentNode.parentNode.parentNode.parentNode;
}