Changeset - 499fa8e87c90
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 15 years ago 2010-12-03 22:38:36
marcin@python-works.com
small template fixes for changelog
1 file changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/changelog/changelog.html
Show inline comments
 
@@ -59,16 +59,16 @@ ${c.repo_name} ${_('Changelog')} - ${c.r
 
						<div class="right">
 
									<div class="changes">
 
									
 
									   <%!
 
									   <%
 
									       def changed_tooltip(cs):
 
                                               if cs:
 
                                                   pref = ': '
 
                                                   suf = '' 
 
                                                   if len(cs) > 30:
 
                                                      suf='<br/> and %s more' % (len(cs) - 30)
 
                                                      suf='<br/>'+_(' and %s more') % (len(cs) - 30)
 
                                                   return pref+'<br/> '.join([x.path for x in cs[:30]]) + suf
 
                                               else:
 
                                                   return 'No Files'
 
                                                   return ': '+_('No Files')
 
                                       %>
 
									
 
										<span class="removed tooltip" tooltip_title="${_('removed')} ${h.literal(changed_tooltip(cs.removed))}">${len(cs.removed)}</span>
0 comments (0 inline, 0 general)