mirror of
https://github.com/klaussilveira/gitlist.git
synced 2025-11-18 03:30:55 +01:00
30 lines
936 B
Twig
30 lines
936 B
Twig
{% extends 'layout.twig' %}
|
|
{% block title %}GitList{% endblock %}
|
|
|
|
{% block body %}
|
|
{% include 'navigation.twig' %}
|
|
|
|
<div class="container">
|
|
|
|
{% for repository in repositories %}
|
|
<div class="repository">
|
|
<div class="repository-header">
|
|
<span class="fa fa-folder-open"></span> <a href="{{ path('repository', {repo: repository.name}) }}">{{ repository.name }}</a>
|
|
<a href="{{ path('rss', {repo: repository.name, branch: 'master'}) }}"><span class="fa fa-rss rss-icon pull-right"></span></a>
|
|
</div>
|
|
<div class="repository-body">
|
|
{% if repository.description %}
|
|
<p>{{ repository.description }}</p>
|
|
{% else %}
|
|
<p>There is no repository description file. Please, create one to remove this message.</p>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
|
|
<hr />
|
|
|
|
{% include 'footer.twig' %}
|
|
</div>
|
|
{% endblock %}
|