Moved everything under annotations.
Some review is still needed.
This commit is contained in:
4
src/KekRozsak/AdminBundle/Resources/config/services.xml
Normal file
4
src/KekRozsak/AdminBundle/Resources/config/services.xml
Normal file
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" ?>
|
||||
|
||||
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
|
||||
</container>
|
@@ -1,7 +0,0 @@
|
||||
parameters:
|
||||
# kek_rozsak_admin.example.class: KekRozsak\AdminBundle\Example
|
||||
|
||||
services:
|
||||
# kek_rozsak_admin.example:
|
||||
# class: %kek_rozsak_admin.example.class%
|
||||
# arguments: [@service_id, "plain_value", %parameter%]
|
@@ -1 +1,32 @@
|
||||
Juj!
|
||||
{% extends '::main_template.html.twig' %}
|
||||
{% block title %} - Jelentkezők{% endblock %}
|
||||
{% block content %}
|
||||
<h3>Jelentkezők</h3>
|
||||
{% if users|length > 0 %}
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Felhasználónév</td>
|
||||
<td>E-mail cím</td>
|
||||
<td>Fórum-név</td>
|
||||
<td>Regisztráció ideje</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for user in users %}
|
||||
<tr>
|
||||
<td>{{ user.username }}</td>
|
||||
<td>{{ user.email }}</td>
|
||||
<td>{{ user.displayName }}</td>
|
||||
<td>{{ user.registeredAt|date('Y-m-d H:i') }}</td>
|
||||
<td>
|
||||
<form method="post" action="">
|
||||
<button type="submit">Engedélyezem</button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
{%endblock content %}
|
||||
|
Reference in New Issue
Block a user