init
This commit is contained in:
17
templates/theme/index.html.twig
Normal file
17
templates/theme/index.html.twig
Normal file
@@ -0,0 +1,17 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}{% trans %}titles.themes{% endtrans %}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
|
||||
<h1>{% trans %}titles.themes{% endtrans %}</h1>
|
||||
<ul>
|
||||
{% for theme in themes %}
|
||||
<li>
|
||||
<a href="{{ path('theme', { id: theme.id }) }}">
|
||||
{{ theme.name }}
|
||||
</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
13
templates/theme/show.html.twig
Normal file
13
templates/theme/show.html.twig
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends 'base.html.twig' %}
|
||||
|
||||
{% block title %}{% trans %}titles.theme{% endtrans %} {{ theme.name }}{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>{{ theme.name }}</h1>
|
||||
|
||||
<ul>
|
||||
{% for branch in theme.branches %}
|
||||
<li><a href="{{ path('branch', { id: branch.id }) }}">{{ branch.name }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user