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{{ commit_count }} {% if commit_count == 1 %}commit{% else %}commits{% endif %} 21 22 23 Clone 24 25 git@{{ crate::hostname() }}:{{ crate::ssh_prefix() }}{{ name }}.gitSSH 26 https://{{ crate::hostname() }}/{{ name }}.gitHTTPS 27 28 29 30 31 Branches {{ branches.len() }} 32 33 {% for branch in branches.iter().take(5) %} 34 {{ branch.name }}{% if branch.is_default %}default{% endif %}{{ branch.date }} 35 {% endfor %} 36 {% if branches.len() > 5 %} 37 see all {{ branches.len() }} branches 38 {% endif %} 39 {% if branches.is_empty() %} 40 no branches 41 {% endif %} 42 43 44 45 46 Tags {{ tags.len() }} 47 48 {% for tag in tags.iter().take(5) %} 49 {{ tag.name }}{{ tag.date }} 50 {% endfor %} 51 {% if tags.len() > 5 %} 52 see all {{ tags.len() }} tags 53 {% endif %} 54 {% if tags.is_empty() %} 55 no tags 56 {% endif %} 57 58 59 60{% if let Some(readme) = readme %} 61 62 {{ readme | safe }} 63 64{% endif %} 65{% endblock %} 66 67{% block scripts %} 68 69 83{% endblock %}