view rhodecode/templates/files/files_ypjax.html @ 2031:82a88013a3fd

merge 1.3 into stable
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 26 Feb 2012 17:25:09 +0200
parents f91d3f9b7230
children ee07357d9265
line wrap: on
line source

%if c.file:
    <h3 class="files_location">
        ${_('Location')}: ${h.files_breadcrumbs(c.repo_name,c.changeset.raw_id,c.file.path)}
    </h3>
        %if c.file.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