view rhodecode/templates/files/files_ypjax.html @ 3181:efe23d6c178c rhodecode-0.0.1.5.2

merged with beta
author Marcin Kuzminski <marcin@python-works.com>
date Mon, 21 Jan 2013 00:49:59 +0100
parents acc05c33cc0c
children ffd45b185016
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)}
        %if c.annotate:
        - ${_('annotation')}
        %endif
    </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