| 1 | {% extends "base.html" %} |
| 2 | |
| 3 | {% block title %}{{ repo.name }} — {{ repo.description }}{% endblock %} |
| 4 | |
| 5 | {% block header %} |
| 6 | {{ macros::header(Some(repo), branch_names, Some(current_ref)) }} |
| 7 | {% endblock %} |
| 8 | |
| 9 | {% block tabs %} |
| 10 | {{ macros::repo_tabs(repo, current_ref, query, "refs") }} |
| 11 | {% endblock %} |
| 12 | |
| 13 | {% block content %} |
| 14 | {% if !branches.is_empty() %} |
| 15 | <table class="section-table"> |
| 16 | {{ macros::branches(branches, branches_has_more, has_prev, page, mode) }} |
| 17 | </table> |
| 18 | {% endif %} |
| 19 | |
| 20 | {% if !tags.is_empty() %} |
| 21 | <table class="section-table"> |
| 22 | {{ macros::tags(tags, tags_has_more, has_prev, page, mode) }} |
| 23 | </table> |
| 24 | {% endif %} |
| 25 | {% endblock %} |
