svg
This commit is contained in:
@@ -15,6 +15,12 @@
|
||||
|
||||
<a href="{{ path(routecancel) }}" class="btn btn-secondary me-5">Retour</a>
|
||||
|
||||
{% if is_granted('CANSUBSCRIBE', project) %}
|
||||
<a href="{{ path(routesubscribe,{id:project.id}) }}" class="btn btn-secondary me-1" onclick="return confirm('Participer à ce projet ?')">
|
||||
<i class="fas fa-users"></i> Participer à ce projet
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% if is_granted('MOVETOVOTE', project) and project.status=="Brouillon"%}
|
||||
<a href="{{ path(routemove,{id:project.id, status:"TOVOTE"}) }}" class="btn btn-primary me-1" onclick="return confirm('Statut = à Voter ?')">
|
||||
<i class="fas fa-angle-double-right"></i> Statut = à Voter
|
||||
@@ -59,6 +65,7 @@
|
||||
<div class="card-header">Information</div>
|
||||
<div class="card-body">
|
||||
<b>Titre</b> = {{ project.title }}<br>
|
||||
<b>Projet Ouvert</b> = {{ project.open ? "Oui" : "Non" }}<br>
|
||||
<b>Nature</b> = {{ project.nature }}<br>
|
||||
<b>A Voter pour le</b> = {{ project.dueDate ? project.dueDate|date("d/m/Y"):"" }}
|
||||
</div>
|
||||
@@ -71,6 +78,15 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="card mt-3">
|
||||
<div class="card-header">Participants</div>
|
||||
<div class="card-body">
|
||||
{%for user in project.users%}
|
||||
{{loop.first ? user.username : ' - '~user.username}}
|
||||
{%endfor%}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ render(path("bninefiles_files",{domain:'project',id:project.id, editable:0})) }}
|
||||
|
||||
<div class="card mt-3">
|
||||
|
Reference in New Issue
Block a user