Added an simple admin page for users.

This commit is contained in:
Jan Böhmer 2019-04-28 14:18:11 +02:00
parent 0826f5e6aa
commit 8a4d665d2a
12 changed files with 276 additions and 30 deletions

View file

@ -65,7 +65,9 @@
<div class="tab-content">
<div class="tab-pane active" id="home_common">
{{ form_row(form.name) }}
{{ form_row(form.parent) }}
{% if form.parent%}
{{ form_row(form.parent) }}
{% endif %}
{% block additional_controls %}{% endblock %}
@ -101,6 +103,7 @@
<label class="col-form-label col-md-3">{% trans %}createdAt{% endtrans %}</label>
<div class="col-md-9">
<p class="form-control-plaintext">
{% if date(entity.addedDate) > date('1900/01/01') %}
{{ entity.addedDate | localizeddate("long") }}
{% else %}