fixed labels
This commit is contained in:
parent
479ee9f7a7
commit
fb827a6913
|
@ -242,19 +242,19 @@ public class SearchFacilityUI extends Composite {
|
||||||
FlexTable ft = new FlexTable();
|
FlexTable ft = new FlexTable();
|
||||||
ft.getElement().setClassName("table-results");
|
ft.getElement().setClassName("table-results");
|
||||||
int i = 1;
|
int i = 1;
|
||||||
ft.setWidget(0, i, new HTML("Name"));
|
ft.setWidget(0, i, new HTML("Nome Progetto"));
|
||||||
|
|
||||||
String selValue = listBoxSearchFor.getSelectedValue().toLowerCase();
|
String selValue = listBoxSearchFor.getSelectedValue().toLowerCase();
|
||||||
|
|
||||||
boolean addIntroduction = false;
|
boolean addIntroduction = false;
|
||||||
if(selValue.startsWith("name") || selValue.startsWith("any")) {
|
if(selValue.startsWith("proj") || selValue.startsWith("any")) {
|
||||||
ft.setWidget(0, ++i, new HTML("Introduction"));
|
ft.setWidget(0, ++i, new HTML("Introduzione"));
|
||||||
addIntroduction = true;
|
addIntroduction = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
boolean addStaff = false;
|
boolean addStaff = false;
|
||||||
if(selValue.startsWith("direttore")) {
|
if(selValue.startsWith("director")) {
|
||||||
ft.setWidget(0, ++i, new HTML("Authors"));
|
ft.setWidget(0, ++i, new HTML("Autori"));
|
||||||
ft.setWidget(0, ++i, new HTML("Responsabile"));
|
ft.setWidget(0, ++i, new HTML("Responsabile"));
|
||||||
ft.setWidget(0, ++i, new HTML("Editore"));
|
ft.setWidget(0, ++i, new HTML("Editore"));
|
||||||
ft.setWidget(0, ++i, new HTML("Titolari"));
|
ft.setWidget(0, ++i, new HTML("Titolari"));
|
||||||
|
@ -262,7 +262,7 @@ public class SearchFacilityUI extends Composite {
|
||||||
addStaff = true;
|
addStaff = true;
|
||||||
}
|
}
|
||||||
boolean addParole = false;
|
boolean addParole = false;
|
||||||
if(selValue.startsWith("parola")) {
|
if(selValue.startsWith("keyword")) {
|
||||||
ft.setWidget(0, ++i, new HTML("Parole Libere"));
|
ft.setWidget(0, ++i, new HTML("Parole Libere"));
|
||||||
ft.setWidget(0, ++i, new HTML("Parole Cronologia"));
|
ft.setWidget(0, ++i, new HTML("Parole Cronologia"));
|
||||||
addParole = true;
|
addParole = true;
|
||||||
|
@ -292,7 +292,7 @@ public class SearchFacilityUI extends Composite {
|
||||||
|
|
||||||
ft.setWidget(i, ++j, new HTML(concessione.getNome()));
|
ft.setWidget(i, ++j, new HTML(concessione.getNome()));
|
||||||
if(addIntroduction)
|
if(addIntroduction)
|
||||||
ft.setWidget(i, ++j, new HTML(StringUtil.ellipsize(concessione.getIntroduzione(), 100)));
|
ft.setWidget(i, ++j, new HTML(StringUtil.ellipsize(concessione.getIntroduzione(), 200)));
|
||||||
|
|
||||||
if(addStaff) {
|
if(addStaff) {
|
||||||
ft.setWidget(i, ++j, new HTML(toDisplayList(concessione.getAuthors())));
|
ft.setWidget(i, ++j, new HTML(toDisplayList(concessione.getAuthors())));
|
||||||
|
|
|
@ -703,7 +703,7 @@ public class GeoportalDataViewerServiceImpl extends RemoteServiceServlet impleme
|
||||||
List<ItemField> listItemFields = new ArrayList<ItemField>();
|
List<ItemField> listItemFields = new ArrayList<ItemField>();
|
||||||
listItemFields.add(new ItemField("Any Field",
|
listItemFields.add(new ItemField("Any Field",
|
||||||
Arrays.asList("nome", "authors", "introduzione", "contributore", "titolari", "editore", "responsabile", "paroleChiaveLibere", "paroleChiaveICCD"), false, false, true));
|
Arrays.asList("nome", "authors", "introduzione", "contributore", "titolari", "editore", "responsabile", "paroleChiaveLibere", "paroleChiaveICCD"), false, false, true));
|
||||||
listItemFields.add(new ItemField("Name", Arrays.asList("nome"), true, true, true));
|
listItemFields.add(new ItemField("Project Name", Arrays.asList("nome"), true, true, true));
|
||||||
listItemFields.add(new ItemField("Director/Staff",
|
listItemFields.add(new ItemField("Director/Staff",
|
||||||
Arrays.asList("authors", "contributore", "titolari", "editore", "responsabile"), true, false, true));
|
Arrays.asList("authors", "contributore", "titolari", "editore", "responsabile"), true, false, true));
|
||||||
listItemFields.add(new ItemField("Keywords", Arrays.asList("paroleChiaveLibere", "paroleChiaveICCD"), true,
|
listItemFields.add(new ItemField("Keywords", Arrays.asList("paroleChiaveLibere", "paroleChiaveICCD"), true,
|
||||||
|
|
Loading…
Reference in New Issue