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
@@ -146,7 +146,7 @@ ${self.context_bar('summary')}
%if len(c.rhodecode_repo.revisions) == 0:
${_('There are no downloads yet')}
- %elif c.enable_downloads is False:
+ %elif not c.enable_downloads:
${_('Downloads are disabled for this repository')}
%if h.HasPermissionAll('hg.admin')('enable downloads on from summary'):
${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-btn")}