| 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, "log") }} |
| 11 | {% endblock %} |
| 12 | |
| 13 | {% block content %} |
| 14 | {% if !commits.is_empty() %} |
| 15 | <table> |
| 16 | {{ macros::commits(commits, has_next, has_prev, page, "log") }} |
| 17 | </table> |
| 18 | {% else %} |
| 19 | There is no commits! |
| 20 | {% endif %} |
| 21 | {% endblock %} |
