Merge branch 'main' into guillaume

This commit is contained in:
Yass 2026-02-11 21:03:16 +01:00 committed by GitHub
commit 483ae3c9c0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
25 changed files with 1061 additions and 388 deletions

View file

@ -15,7 +15,7 @@
<div class="d-flex align-items-start gap-3">
{* PHOTO DE PROFIL *}
<img src=".{$objProject->getUser_image()}"
<img src="{$objProject->getUser_image()}"
class="rounded-circle flex-shrink-0 mt-2 ml-5"
style="width: 48px; height: 48px; object-fit: cover;"
alt="Photo de profil">
@ -26,13 +26,26 @@
<small class="text-body-secondary d-block mb-1">
<time>{$objProject->getCreation_date()}</time>
{$objProject->getCreatorname()}
<a href="index.php?ctrl=user&action=user&id={$objProject->getUser()}"
class="text-decoration-none"
style="position: relative; z-index: 2;">
{$objProject->getCreatorname()}
</a>
</small>
<a href="index.php?ctrl=project&action=display&id={$objProject->getId()}"
class="stretched-link small">
Lire la suite →
class="stretched-link small">
Lire la suite →
</a>
{if isset($smarty.session.user)}
{if $smarty.session.user.user_id == $objProject->getUser()}
<a href="index.php?ctrl=project&action=display&id={$objProject->getId()}"
class="stretched-link small">
Editer
</a>
{/if}
{/if}
</div>
</div>
@ -50,4 +63,4 @@
{elseif $projectStatus eq "refusé"}
<p class="text-danger fw-bold">Portfolio refusé</p>
{/if}
</article>
</article>