resolution project (ref #152)

This commit is contained in:
afornerot 2020-06-22 10:25:23 +02:00
parent 8d66c9a925
commit 20343637b9
3 changed files with 4 additions and 2 deletions

View File

@ -45,6 +45,7 @@ class ProjecttaskType extends AbstractType
->add('priority', IntegerType::class, [
"label" => 'Priorité',
"required" => true,
"attr" => ["min"=>0],
])
->add('end', DateType::class, [
@ -56,6 +57,7 @@ class ProjecttaskType extends AbstractType
->add('percentage', IntegerType::class, [
"label" => "Pourcentage d'avancement",
"required" => true,
"attr" => ["min"=>0, "max"=>100],
])
->add('projecttasktag', EntityType::class, [

View File

@ -15,7 +15,7 @@
<div style="margin:10px 0px 10px 0px; text-align:left; display:inline-block;width:49%">
{% if not idpage is empty %}
<a href="{{path('cadoles_portal_user_page_view',{id:idpage,usage:'group',group:idgroup})}}" class="btn btn-default">Revenir sur le Groupe</a>
<a href="{{path('cadoles_portal_user_page_view',{id:idpage,usage:'group',group:idgroup})}}" class="btn btn-success">Revenir sur le Groupe</a>
{% endif %}
</div>

View File

@ -37,7 +37,7 @@
{% else %}
<div style="margin:10px 0px 10px 0px; text-align:left; display:inline-block;width:49%">
{% if not idpage is empty %}
<a href="{{path('cadoles_portal_user_page_view',{id:idpage,usage:'group',group:idgroup})}}" class="btn btn-default">Revenir sur le Groupe</a>
<a href="{{path('cadoles_portal_user_page_view',{id:idpage,usage:'group',group:idgroup})}}" class="btn btn-success">Revenir sur le Groupe</a>
{% endif %}
</div>