Line 52... |
Line 52... |
52 |
}
|
52 |
}
|
Line 53... |
Line 53... |
53 |
|
53 |
|
54 |
private void initialiserEnteteHtmlTpl() {
|
54 |
private void initialiserEnteteHtmlTpl() {
|
55 |
enteteTpl =
|
55 |
enteteTpl =
|
56 |
"<div id='{css_id}'>"+
|
56 |
"<div id='{css_id}'>"+
|
57 |
" <h1>{titre}</h1>"+
|
57 |
" <h1>{projet}</h1>"+
|
58 |
" <h2>{auteurs} ({annee})<span class='{css_meta}'>{projet} <br /> {i18n_id}:{id} - {guid}</span></h2>" +
|
58 |
" <h2>{abreviation} <span class='{css_meta}'>{projet} <br /> {i18n_id}:{id} - {guid}</span></h2>" +
|
59 |
"</div>";
|
59 |
"</div>";
|
Line 60... |
Line 60... |
60 |
}
|
60 |
}
|
61 |
|
61 |
|
62 |
private void initialiserGeneralTpl() {
|
62 |
private void initialiserGeneralTpl() {
|
63 |
contenuTpl =
|
63 |
contenuTpl =
|
64 |
"<div class='{css_corps}'>"+
|
64 |
"<div class='{css_corps}'>"+
|
65 |
" <div class='{css_fieldset}'>"+
|
65 |
" <div class='{css_fieldset}'>"+
|
- |
|
66 |
" <h2>{i18n_titre_detail}</h2>"+
|
66 |
" <h2>{i18n_titre_detail}</h2>"+
|
67 |
" <span class='{css_label}'>{i18n_nom} :</span> {nom}<br />"+
|
67 |
" <span class='{css_label}'>{i18n_auteurs} :</span> {auteurs}<br />"+
|
68 |
" <span class='{css_label}'>{i18n_abreviation} :</span> {abreviation}<br />"+
|
68 |
" <span class='{css_label}'>{i18n_titre} :</span> {titre}<br />"+
|
69 |
" <span class='{css_label}'>{i18n_resume} :</span> {resume}<br />"+
|
69 |
" <span class='{css_label}'>{i18n_collection} :</span> {collection}<br />"+
|
70 |
" <span class='{css_label}'>{i18n_description} :</span> {description}<br />"+
|
70 |
" <span class='{css_label}'>{i18n_editeur} :</span> {editeur}<br />"+
|
71 |
" <span class='{css_label}'>{i18n_citation} :</span> {citation}<br />"+
|
- |
|
72 |
" <span class='{css_label}'>{i18n_licence} :</span> {licence}<br />"+
|
71 |
" <span class='{css_label}'>{i18n_annee} :</span> {annee}<br />"+
|
73 |
" <span class='{css_label}'>{i18n_langue} :</span> {langue}<br />"+
|
- |
|
74 |
" <span class='{css_label}'>{i18n_indexation_heure} :</span> {indexation_heure}<br />"+
|
72 |
" <span class='{css_label}'>{i18n_nvt} :</span> {nvt}<br />"+
|
75 |
" <span class='{css_label}'>{i18n_indexation_duree} :</span> {indexation_duree}<br />"+
|
73 |
" <span class='{css_label}'>{i18n_fascicule} :</span> {fascicule}<br />"+
|
76 |
" <span class='{css_label}'>{i18n_indexation_frequence} :</span> {indexation_frequence}<br />"+
|
74 |
" <span class='{css_label}'>{i18n_pages} :</span> {pages}<br />"+
|
77 |
" <span class='{css_label}'>{i18n_mark_public} :</span> {mark_public}<br />"+
|
75 |
" </div>"+
|
78 |
" </div>"+
|
76 |
" <hr class='{css_clear}'/>"+
|
79 |
" <hr class='{css_clear}'/>"+
|
Line 93... |
Line 96... |
93 |
enteteParams.set("i18n_id", i18nC.id());
|
96 |
enteteParams.set("i18n_id", i18nC.id());
|
Line 94... |
Line 97... |
94 |
|
97 |
|
95 |
enteteParams.set("id", projet.getId());
|
98 |
enteteParams.set("id", projet.getId());
|
96 |
enteteParams.set("guid", getGuid());
|
99 |
enteteParams.set("guid", getGuid());
|
- |
|
100 |
enteteParams.set("projet", construireTxtProjet(projet.getId()));
|
97 |
enteteParams.set("projet", construireTxtProjet(projet.getId()));
|
101 |
enteteParams.set("abreviation", projet.getAbreviation());
|
98 |
GWT.log("entete généré", null);
|
102 |
GWT.log("entete généré", null);
|
99 |
String eHtml = Format.substitute(enteteTpl, enteteParams);
|
103 |
String eHtml = Format.substitute(enteteTpl, enteteParams);
|
100 |
entete.getElement().setInnerHTML(eHtml);
|
104 |
entete.getElement().setInnerHTML(eHtml);
|
Line 108... |
Line 112... |
108 |
}
|
112 |
}
|
Line 109... |
Line 113... |
109 |
|
113 |
|
110 |
public void afficherDetailProjet() {
|
114 |
public void afficherDetailProjet() {
|
Line 111... |
Line 115... |
111 |
Params contenuParams = new Params();
|
115 |
Params contenuParams = new Params();
|
- |
|
116 |
|
- |
|
117 |
contenuParams.set("i18n_titre_detail", i18nC.projet());
|
- |
|
118 |
|
- |
|
119 |
contenuParams.set("i18n_nom", i18nC.nom());
|
- |
|
120 |
contenuParams.set("nom", projet.getNom());
|
- |
|
121 |
|
- |
|
122 |
contenuParams.set("i18n_abreviation", i18nC.projetAbreviation());
|
- |
|
123 |
contenuParams.set("abreviation", projet.getAbreviation());
|
- |
|
124 |
|
- |
|
125 |
contenuParams.set("i18n_resume", i18nC.projetResume());
|
- |
|
126 |
contenuParams.set("resume", projet.getResume());
|
- |
|
127 |
|
- |
|
128 |
contenuParams.set("i18n_description", i18nC.projetDescription());
|
- |
|
129 |
contenuParams.set("description", projet.getDescription());
|
- |
|
130 |
|
- |
|
131 |
contenuParams.set("i18n_mots_cles", i18nC.projetMotsCles());
|
- |
|
132 |
contenuParams.set("mots_cles", projet.getMotsCles());
|
- |
|
133 |
|
- |
|
134 |
contenuParams.set("i18n_citation", i18nC.projetCitation());
|
- |
|
135 |
contenuParams.set("citation", projet.getCitation());
|
- |
|
136 |
|
- |
|
137 |
contenuParams.set("i18n_licence", i18nC.projetLicence());
|
- |
|
138 |
contenuParams.set("licence", projet.getLicence());
|
- |
|
139 |
|
- |
|
140 |
contenuParams.set("i18n_langue", i18nC.projetLangue());
|
- |
|
141 |
contenuParams.set("langue", projet.getLangue());
|
- |
|
142 |
|
- |
|
143 |
contenuParams.set("i18n_indexation_heure", i18nC.projetIndexationHeure());
|
- |
|
144 |
contenuParams.set("indexation_heure", projet.getIndexationHeure());
|
- |
|
145 |
|
- |
|
146 |
contenuParams.set("i18n_indexation_duree", i18nC.projetIndexationDuree());
|
- |
|
147 |
contenuParams.set("indexation_duree", projet.getIndexationDuree());
|
- |
|
148 |
|
- |
|
149 |
contenuParams.set("i18n_indexation_frequence", i18nC.projetIndexationFrequence());
|
- |
|
150 |
contenuParams.set("indexation_frequence", projet.getIndexationFreq());
|
- |
|
151 |
|
Line 112... |
Line 152... |
112 |
|
152 |
contenuParams.set("i18n_mark_public", i18nC.projetMarkPublic());
|
113 |
contenuParams.set("i18n_titre_detail", i18nC.id());
|
153 |
contenuParams.set("mark_public", projet.getMarkPublic());
|
114 |
|
154 |
|