Correction affichage recherche, maj bouton, suppression requêtes de controller, déplacer mention et about dans page_controller, nettoyage des commentaires pour ctrl, entities & models
This commit is contained in:
parent
8c89a6ec1b
commit
050c804d48
20 changed files with 244 additions and 282 deletions
|
|
@ -1,7 +1,7 @@
|
|||
<article class="col-md-3 mb-5 {if isset($smarty.session.user) and $smarty.session.user.user_status == 2} pb-5 {/if}" style="border-radius: 100px ;">
|
||||
<div class="card h-100 shadow article-card rounded-4" style="border-width: 2px; overflow: hidden;">
|
||||
|
||||
{* IMAGE (partie supérieure - plus grande) *}
|
||||
|
||||
<div class="ratio ratio-4x3">
|
||||
<a href="index.php?ctrl=project&action=display&id={$objProject->getId()}"></a>
|
||||
<img src="{$smarty.env.IMG_PROJECT_PATH}{$objProject->getThumbnail()}"
|
||||
|
|
@ -11,17 +11,15 @@
|
|||
</a>
|
||||
</div>
|
||||
|
||||
{* CONTENU (photo profil + infos) *}
|
||||
|
||||
<div class="card-body p-3 bg-light">
|
||||
<div class="d-flex align-items-start gap-3">
|
||||
{* PHOTO DE PROFIL (cercle à gauche - plus grand) *}
|
||||
<a href="index.php?ctrl=user&action=user&id={$objProject->getUser_id()}">
|
||||
<img src="{$smarty.env.IMG_USER_PATH}{$objProject->getUser_image() ?? "images.jpg"}"
|
||||
class="rounded-circle flex-shrink-0 border border-2 border-white"
|
||||
style="width: 64px; height: 64px; object-fit: cover; margin-top: 8px;"
|
||||
alt="Photo de profil">
|
||||
</a>
|
||||
{* INFOS À DROITE *}
|
||||
<div class="flex-grow-1">
|
||||
<h3 class="h6 fw-bold mb-2 mt-1">{$objProject->getTitle()}</h3>
|
||||
<p class="small text-muted mb-1">
|
||||
|
|
@ -61,7 +59,6 @@
|
|||
{/if}
|
||||
</div>
|
||||
|
||||
{* BOUTONS EN BAS *}
|
||||
{if isset($smarty.session.user)
|
||||
and $smarty.session.user.user_status == 2
|
||||
and $objProject->getStatus() == "en_attente"}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue