comparison rhodecode/templates/summary/summary.html @ 1553:6ff50754d22d beta

UX improvements
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 12 Oct 2011 19:35:01 +0200
parents fbc762ae3496
children 752b0a7b7679 df59c0503636
comparison
equal deleted inserted replaced
1552:2a3f32c38c5c 1553:6ff50754d22d
149 %if len(c.rhodecode_repo.revisions) == 0: 149 %if len(c.rhodecode_repo.revisions) == 0:
150 ${_('There are no downloads yet')} 150 ${_('There are no downloads yet')}
151 %elif c.enable_downloads is False: 151 %elif c.enable_downloads is False:
152 ${_('Downloads are disabled for this repository')} 152 ${_('Downloads are disabled for this repository')}
153 %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): 153 %if h.HasPermissionAll('hg.admin')('enable stats on from summary'):
154 [${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name))}] 154 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")}
155 %endif 155 %endif
156 %else: 156 %else:
157 ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)} 157 ${h.select('download_options',c.rhodecode_repo.get_changeset().raw_id,c.download_options)}
158 %for cnt,archive in enumerate(c.rhodecode_repo._get_archives()): 158 %for cnt,archive in enumerate(c.rhodecode_repo._get_archives()):
159 %if cnt >=1: 159 %if cnt >=1:
315 <div class="graph"> 315 <div class="graph">
316 <div style="padding:0 10px 10px 15px;font-size: 1.2em;"> 316 <div style="padding:0 10px 10px 15px;font-size: 1.2em;">
317 %if c.no_data: 317 %if c.no_data:
318 ${c.no_data_msg} 318 ${c.no_data_msg}
319 %if h.HasPermissionAll('hg.admin')('enable stats on from summary'): 319 %if h.HasPermissionAll('hg.admin')('enable stats on from summary'):
320 [${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name))}] 320 ${h.link_to(_('enable'),h.url('edit_repo',repo_name=c.repo_name),class_="ui-button-small")}
321 %endif 321 %endif
322 322
323 %else: 323 %else:
324 ${_('Loaded in')} ${c.stats_percentage} % 324 ${_('Loaded in')} ${c.stats_percentage} %
325 %endif 325 %endif