fix(org-liste): retirer le div de la colonne Localisation
Le div cassait le rendu du DataTable PrimeFaces. Inline simple avec h:outputText + icône pi-map-marker directement dans la cellule.
This commit is contained in:
@@ -196,13 +196,11 @@
|
|||||||
|
|
||||||
<!-- Localisation -->
|
<!-- Localisation -->
|
||||||
<p:column headerText="Localisation" sortBy="#{org.ville}" style="width: 13rem;">
|
<p:column headerText="Localisation" sortBy="#{org.ville}" style="width: 13rem;">
|
||||||
<div class="flex align-items-center text-sm">
|
<i class="pi pi-map-marker text-400 mr-1"/>
|
||||||
<i class="pi pi-map-marker text-400 mr-1"></i>
|
<h:outputText value="#{org.ville}" rendered="#{not empty org.ville}"/>
|
||||||
<h:outputText value="#{org.ville}" rendered="#{not empty org.ville}" styleClass="text-900"/>
|
|
||||||
<h:outputText value=", #{org.pays}" rendered="#{not empty org.ville and not empty org.pays}" styleClass="text-500"/>
|
<h:outputText value=", #{org.pays}" rendered="#{not empty org.ville and not empty org.pays}" styleClass="text-500"/>
|
||||||
<h:outputText value="#{org.pays}" rendered="#{empty org.ville and not empty org.pays}" styleClass="text-900"/>
|
<h:outputText value="#{org.pays}" rendered="#{empty org.ville and not empty org.pays}"/>
|
||||||
<h:outputText value="—" rendered="#{empty org.ville and empty org.pays}" styleClass="text-400"/>
|
<h:outputText value="—" rendered="#{empty org.ville and empty org.pays}" styleClass="text-400"/>
|
||||||
</div>
|
|
||||||
</p:column>
|
</p:column>
|
||||||
|
|
||||||
<!-- Membres -->
|
<!-- Membres -->
|
||||||
|
|||||||
Reference in New Issue
Block a user