Parent
[>]
1{% extends "base.html" %} 2 3{% block title %} 4{{ name }} 5{% endblock %} 6 7{% block breadcrumbs %} 8 9 {{ crate::hostname() }} 10 {{ name }} 11 12{% endblock %} 13 14{% block content %} 15{{ name }} 16 17{% if let Some(description) = description %} 18{{ description }} 19{% endif %} 20 21 Clone 22 23 git@{{ crate::hostname() }}:{{ crate::ssh_prefix() }}{{ name }}.gitSSH 24 https://{{ crate::hostname() }}/{{ name }}.gitHTTPS 25 26 27 28 29 Branches [{{ branches.len() }}] 30 31 {% for branch in branches.iter().take(5) %} 32 {{ branch.name }}{% if branch.is_default %}default{% endif %}{{ branch.date }} 33 {% endfor %} 34 {% if branches.len() > 5 %} 35 see all {{ branches.len() }} branches 36 {% endif %} 37 {% if branches.is_empty() %} 38 no branches 39 {% endif %} 40 41 42 43 44 Tags [{{ tags.len() }}] 45 46 {% for tag in tags.iter().take(5) %} 47 {{ tag.name }}{{ tag.date }} 48 {% endfor %} 49 {% if tags.len() > 5 %} 50 see all {{ tags.len() }} tags 51 {% endif %} 52 {% if tags.is_empty() %} 53 no tags 54 {% endif %} 55 56 57 58 59 {% if let Some(sha) = head_sha %} 60 61 62 Tree 63 [{{ sha[..8] }}] 64 [>] 65 66 {% endif %} 67 68 69 Commits 70 [{{ commit_count }}] 71 [>] 72 73 74 75{% if let Some(readme) = readme %} 76 77 {{ readme | safe }} 78 79{% endif %} 80{% endblock %} 81 82{% block scripts %} 83 84 98{% endblock %}