Correction de bug pour le projet_preview
This commit is contained in:
parent
0579eddf81
commit
e9857c44e3
1 changed files with 2 additions and 1 deletions
|
|
@ -77,9 +77,10 @@
|
|||
{if isset($smarty.session.user) and $smarty.session.user.user_status == 2 or $smarty.session.user.user_id == $objProject->getUser_id()}
|
||||
<div class="border rounded text-center">
|
||||
<a class="btn btn-sm m-1 btn-danger" href="?ctrl=project&action=delete&id={$objProject->getId()}" name="toDelete">Supprimer le projet</a>
|
||||
{/if}
|
||||
{if isset($smarty.session.user) and $smarty.session.user.user_id == $objProject->getUser_id()}
|
||||
<a class="btn btn-sm m-1 btn-warning" href="?ctrl=project&action=addedit&id={$objProject->getId()}" name="toEdit">Modifier le projet</a>
|
||||
{/if}
|
||||
|
||||
{*Conditions permettant au Modérateur de modifier le status d'un projet*}
|
||||
{if isset($smarty.session.user) and $smarty.session.user.user_status == 2 and $objProject->getStatus() eq "en_attente"}
|
||||
<a class="btn btn-sm m-1 btn-success" href="?ctrl=project&action=accept&id={$objProject->getId()}" name="toPublished">Accepter</a>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue