aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/templates/files/files_ypjax.html
blob: 85af8e4fee1ec772d210235599ba7565c366be96 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
%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