diff kallithea/templates/summary/summary.html @ 4196:06e49be38d78 kallithea-2.2.5-rebrand

Rename rhodecode_repo to db_repo_scm_instance
author Bradley M. Kuhn <bkuhn@sfconservancy.org>
date Wed, 02 Jul 2014 19:05:00 -0400
parents 9581233e9275
children d208416c84c6
line wrap: on
line diff
--- a/kallithea/templates/summary/summary.html	Wed Jul 02 19:04:55 2014 -0400
+++ b/kallithea/templates/summary/summary.html	Wed Jul 02 19:05:00 2014 -0400
@@ -115,7 +115,7 @@
                   <label>${_('Download')}:</label>
               </div>
               <div class="input ${summary(c.show_stats)}">
-                %if len(c.rhodecode_repo.revisions) == 0:
+                %if len(c.db_repo_scm_instance.revisions) == 0:
                   ${_('There are no downloads yet')}
                 %elif not c.enable_downloads:
                   ${_('Downloads are disabled for this repository')}
@@ -311,7 +311,7 @@
     });
 
     var tmpl_links = {};
-    %for cnt,archive in enumerate(c.rhodecode_repo._get_archives()):
+    %for cnt,archive in enumerate(c.db_repo_scm_instance._get_archives()):
       tmpl_links["${archive['type']}"] = '${h.link_to('__NAME__', h.url('files_archive_home',repo_name=c.db_repo.repo_name, fname='__CS__'+archive['extension'],subrepos='__SUB__'),class_='btn btn-small')}';
     %endfor
 })