| Line 43... |
Line 43... |
| 43 |
vue.nomRetenu.setText(observation.getNomRetenu());
|
43 |
vue.nomRetenu.setText(observation.getNomRetenu());
|
| 44 |
vue.numNomenclatural.setText(observation.getNumNomenclatural());
|
44 |
vue.numNomenclatural.setText(observation.getNumNomenclatural());
|
| Line 45... |
Line 45... |
| 45 |
|
45 |
|
| Line -... |
Line 46... |
| - |
|
46 |
List<org.tela_botanica.del.client.modeles.Image> images = observation.getImages();
|
| 46 |
List<org.tela_botanica.del.client.modeles.Image> images = observation.getImages();
|
47 |
|
| 47 |
|
48 |
if (images != null && images.size() > 0) {
|
| 48 |
org.tela_botanica.del.client.modeles.Image imagePrincipale = images.get(0);
|
49 |
org.tela_botanica.del.client.modeles.Image imagePrincipale = images.get(0);
|
| 49 |
vue.photoPrincipale.setUrl(imagePrincipale.getUrl());
|
50 |
vue.photoPrincipale.setUrl(imagePrincipale.getUrl());
|
| 50 |
vue.photoPrincipale.setTitle(imagePrincipale.getUrlFormat("L"));
|
51 |
vue.photoPrincipale.setTitle(imagePrincipale.getUrlFormat("L"));
|
| - |
|
52 |
vue.photoPrincipale.setAltText(observation.getAuteur() + " - " + observation.getNomRetenu());
|
| Line 51... |
Line 53... |
| 51 |
vue.photoPrincipale.setAltText(observation.getAuteur() + " - " + observation.getNomRetenu());
|
53 |
images.remove(0);
|
| 52 |
images.remove(0);
|
54 |
}
|
| 53 |
|
55 |
|
| 54 |
int nbImagesAffichees = 0;
|
56 |
int nbImagesAffichees = 0;
|