view rhodecode/templates/files/files_ypjax.html @ 3195:a50901f2108d beta

Added repository followers to the get_repo api function result.
author aparkar <aparkar@icloud.com>
date Tue, 22 Jan 2013 11:56:47 +1100
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