Changeset - f96f4cbf89ae
[Not reviewed]
default
0 1 0
Marcin Kuzminski - 16 years ago 2010-05-09 14:53:52
marcin@python-works.com
fixed files template when repository is empty
1 file changed with 6 insertions and 1 deletions:
0 comments (0 inline, 0 general)
pylons_app/templates/files/files.html
Show inline comments
 
@@ -28,11 +28,16 @@
 

	
 
    <h2 class="no-link no-border">${_('Files')}</h2>
 
	<div id="files_data">
 
	%if c.files_list:
 
		<h2>${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.cur_rev,c.files_list.path)}</h2>
 
			%if c.files_list.is_dir():
 
				<%include file='files_browser.html'/>
 
			%else:
 
				<%include file='files_source.html'/>			
 
			%endif
 
			%endif	
 
	%else:
 
		<h2>${_('No files')}</h2>
 
	%endif
 

	
 
	</div>
 
</%def>    
 
\ No newline at end of file
0 comments (0 inline, 0 general)