/trunk/src/org/tela_botanica/del/client/composants/metadonnees/MetadonneesEnLigneVue.java |
---|
145,10 → 145,10 |
@Override |
public void masquerChampsVides() { |
HasText[] champs = {nomRetenu, nomCommun, famille, localite, auteur, courrielAuteur, motsClefs, commentaire, lieuDit, station, milieu, dateReleve, dateTransmission}; |
HasText[] champs = {nomRetenu, referentiel, nomCommun, famille, localite, auteur, courrielAuteur, motsClefs, commentaire, lieuDit, station, milieu, dateReleve, dateTransmission}; |
for (int i = 0; i < champs.length; i ++) { |
HasText champ = champs[i]; |
if ("".equals(champ.getText())) { |
if ("".equals(champ.getText().trim())) { |
Widget widget = (Widget) champ; |
widget.getParent().setVisible(false); |
} |
/trunk/src/org/tela_botanica/del/client/composants/metadonnees/metadonneesEnLigne.css |
---|
20,15 → 20,18 |
content:")"; |
} |
.metaPart1 { |
line-height:20px; |
clear:both; |
font-size:15px; |
} |
.metaPart2 { |
line-height:20px; |
clear:both; |
color:#777; |
max-width:850px; |
} |
.metaPart3 { |
line-height:20px; |
display:none; |
max-width:850px; |
} |
36,10 → 39,19 |
} |
.zoneLieu { |
} |
.zoneStation { |
padding-left: 5px; |
} |
.zoneMilieu { |
padding-left: 5px; |
} |
.labelGeo { |
font-weight:bold; |
} |
.espece { |
color:#454341; |
font-size:18px; |
margin-top:-3px; |
margin-top:-2px; |
} |
.label { |
font-size:12px; |
/trunk/src/org/tela_botanica/del/client/composants/metadonnees/MetadonneesEnLigneVue.ui.xml |
---|
26,6 → 26,11 |
<g:Label ui:field="localite" /> |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label text="le" styleName="{style.label}" /> |
<g:InlineLabel ui:field="dateReleve" /> |
</g:HTMLPanel> |
<br/> |
<g:HTMLPanel> |
<g:Label text="par" styleName="{style.label}" /> |
<g:Label ui:field="auteur" title="Voir le profil" /> |
</g:HTMLPanel> |
32,24 → 37,18 |
<g:HTMLPanel> |
(<g:Anchor ui:field="courrielAuteur" />) |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label text="le" styleName="{style.label}" /> |
<g:InlineLabel ui:field="dateReleve" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |
<g:HTMLPanel styleName="{style.metaPart2}"> |
<g:HTMLPanel styleName="{style.zoneLieu}"> |
<g:Label text="Lieu :" /> |
<g:Label text="Lieu :" styleName="{style.labelGeo}"/> |
<g:HTML ui:field="lieuDit" styleName="{style.lieuDit}" title="{constants.lieuDit}" /> |
/ |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label text="Station :" /> |
<g:HTMLPanel styleName="{style.zoneStation}"> |
<g:Label text="Station :" styleName="{style.labelGeo}"/> |
<g:Label ui:field="station" title="{constants.station}" /> |
/ |
</g:HTMLPanel> |
<g:HTMLPanel> |
<g:Label text="Milieu :" /> |
<g:HTMLPanel styleName="{style.zoneMilieu}"> |
<g:Label text="Milieu :" styleName="{style.labelGeo}"/> |
<g:Label ui:field="milieu" /> |
</g:HTMLPanel> |
</g:HTMLPanel> |