view pylons_app/templates/files/files.html @ 362:558eb7c5028f rhodecode-0.0.0.8.0

version bump to 0.8 hg app 0.8 new template. Add yui flot and graph into summary page. + various tweeks and patches into look of application
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 24 Jul 2010 02:17:48 +0200
parents ed7abf925696
children 4679105ef03e
line wrap: on
line source

<%inherit file="/base/base.html"/>

<%def name="title()">
    ${_('files')}
</%def>

<%def name="breadcrumbs_links()">
    ${h.link_to(u'Home',h.url('/'))}
    &raquo;
    ${h.link_to(c.repo_name,h.url('files_home',repo_name=c.repo_name))}
    &raquo;
    ${_('files')}
    %if c.files_list:
        @ R${c.rev_nr}:${c.cur_rev}
    %endif        
</%def>

<%def name="page_nav()">
    ${self.menu('files')}     
</%def>

<%def name="main()">
<div class="box">
    <!-- box / title -->
    <div class="title">
        ${self.breadcrumbs()}     
    </div>
    <div class="table">
		<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	
			%else:
				<h2>
					<a href="#" onClick="javascript:parent.history.back();" target="main">${_('Go back')}</a> 
					${_('No files at given path')}: "${c.f_path or "/"}" 
				</h2>
			%endif
		
		</div>    
    </div>
</div>    
	
</%def>