svg
This commit is contained in:
@ -15,7 +15,7 @@
|
||||
{{ form_widget(form.submit) }}
|
||||
|
||||
{% if mode=="profil" %}
|
||||
<a class="btn btn-secondary" href={{ path('app_home_user',{userpseudo:user.pseudo}) }}>Annuler</a>
|
||||
<a class="btn btn-secondary" href={{ path('app_home_user',{userpseudo:user.slug}) }}>Annuler</a>
|
||||
{% else %}
|
||||
<a class="btn btn-secondary" href={{ path('app_user') }}>Annuler</a>
|
||||
{% endif %}
|
||||
@ -60,7 +60,7 @@
|
||||
</div>
|
||||
|
||||
<div class="row justify-content-md-center">
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-4">
|
||||
<div class="card mb-3" style="zoom:80%">
|
||||
<div class="card-header">
|
||||
<i class="fa fa-pencil-alt fa-fw"></i> Informations
|
||||
@ -75,6 +75,16 @@
|
||||
{{ form_row(form.firstname) }}
|
||||
{{ form_row(form.pseudo) }}
|
||||
{{ form_row(form.email) }}
|
||||
|
||||
{% if mode!="submit" %}
|
||||
{% if appNinegateactivate %}
|
||||
{% if mode=="profil" %}
|
||||
<a class="btn btn-info" style="width:100%" href="{{appNinegateurl}}/user?redirect={{app.request.uri}}">Modfier</a>
|
||||
{% else %}
|
||||
<a class="btn btn-info" style="width:100%" href="{{appNinegateurl}}/config/user/update/{{user.username}}?redirect={{app.request.uri}}">Modifier</a>
|
||||
{% endif %}
|
||||
{%endif%}
|
||||
{%endif%}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
@ -5,7 +5,11 @@
|
||||
UTILISATEURS
|
||||
</h1>
|
||||
|
||||
<p><a class="btn btn-success" href={{ path('app_user_submit') }}>Ajouter</a></p>
|
||||
{% if appNinegateactivate %}
|
||||
<p><a class="btn btn-success" href={{ appNinegateurl }}/config/user/submit?redirect={{app.request.uri}}>Ajouter</a></p>
|
||||
{% else %}
|
||||
<p><a class="btn btn-success" href={{ path('app_user_submit') }}>Ajouter</a></p>
|
||||
{% endif %}
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
|
Reference in New Issue
Block a user