resolution project (ref #152)
This commit is contained in:
parent
8d66c9a925
commit
20343637b9
|
@ -45,6 +45,7 @@ class ProjecttaskType extends AbstractType
|
||||||
->add('priority', IntegerType::class, [
|
->add('priority', IntegerType::class, [
|
||||||
"label" => 'Priorité',
|
"label" => 'Priorité',
|
||||||
"required" => true,
|
"required" => true,
|
||||||
|
"attr" => ["min"=>0],
|
||||||
])
|
])
|
||||||
|
|
||||||
->add('end', DateType::class, [
|
->add('end', DateType::class, [
|
||||||
|
@ -56,6 +57,7 @@ class ProjecttaskType extends AbstractType
|
||||||
->add('percentage', IntegerType::class, [
|
->add('percentage', IntegerType::class, [
|
||||||
"label" => "Pourcentage d'avancement",
|
"label" => "Pourcentage d'avancement",
|
||||||
"required" => true,
|
"required" => true,
|
||||||
|
"attr" => ["min"=>0, "max"=>100],
|
||||||
])
|
])
|
||||||
|
|
||||||
->add('projecttasktag', EntityType::class, [
|
->add('projecttasktag', EntityType::class, [
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<div style="margin:10px 0px 10px 0px; text-align:left; display:inline-block;width:49%">
|
<div style="margin:10px 0px 10px 0px; text-align:left; display:inline-block;width:49%">
|
||||||
{% if not idpage is empty %}
|
{% 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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
{% else %}
|
{% else %}
|
||||||
<div style="margin:10px 0px 10px 0px; text-align:left; display:inline-block;width:49%">
|
<div style="margin:10px 0px 10px 0px; text-align:left; display:inline-block;width:49%">
|
||||||
{% if not idpage is empty %}
|
{% 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 %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue