{% extends g.theme.master %} {% if hasattr(c.app, 'repo') %} {% set repo = c.app.repo %} {% else %} {% set repo = None %} {% endif %} {% if repo and repo.status != 'ready' %} {% set hide_left_bar = True %} {% endif %} {% block extra_css %} {% endblock %} {% block extra_js %} {% endblock %} {% block before_content %} {% if repo and repo.status != 'ready' %}

Repo status: {{repo.status}}...

{% endif %} {% endblock %} {% macro clone_info(repo) %} {% if repo %}
{% if h.has_access(c.app, 'write')() %} RW RO HTTP {% else %} RO HTTP {% endif %}

{% endif %} {% endmacro %} {% macro commit_labels(commit) %} {% set branches, tags = commit.symbolic_ids %} {% for b in branches %} {{b}} {% endfor %} {% for t in tags %} {{t}} {% endfor %} {% endmacro %}