The "Get rid of the bill. Give your town a tree" campaign starts again
News
Hera Custom Facet Publish Date
Custom Facet
Hera Custom Facet Publish Date
Category Facet
Custom Facet
Search Bar
Asset Publisher
Having reached the target of 100,000 subscriptions and 2,000 trees two years earlier, a new one has been set: another 50,000 subscriptions to on-line billing.
The news was given in Ravenna in the presence of the municipalities in the province of Ravenna that subscribed to the new campaign. The 50,000 new subscriptions will eliminate the emission of 22 tonnes per year of CO2 associated with the production, printing and delivery of the printed bill and almost 1,200,000 sheets of paper, to be added to the 2,364,000 sheets already saved with the first 100,000 subscriptions. To inform all the customers, the new campaign will also be illustrated on all the bills delivered starting from September.
A total of 74 municipalities in the areas served by Hera have subscribed to this new campaign. Of these, the 34 with over 15,000 inhabitants will receive 900 trees (each municipality will be given a number of trees in proportion to the number of residents) while the 40 smaller municipalities will form a list on which the five with the largest number of subscriptions will be awarded 20 trees each.
Search Results
Java method "static it.reply.open.hera.template.custom.service.WidgetTemplateTool.getDateFormattedBy(String, String, Locale)" threw an exception; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: contentDate = hera_template_tool.getD... [in template "20099#20135#57725658" at line 72, column 13] ----
1<#assign
2assetVocabularyLocalServiceUtil = objectUtil("com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil")
3vocabularyComunicatiStampa = assetVocabularyLocalServiceUtil.fetchGroupVocabulary(themeDisplay.getScopeGroupId(), languageUtil.get(locale, "comunicati-stampa"))
4vocabularyId = vocabularyComunicatiStampa.vocabularyId
5/>
6
7
8<#assign
9companyId=themeDisplay.getCompanyId() languageId=themeDisplay.getLanguageId()
10currentUrl=themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() url=portalUtil.getPortalURL(themeDisplay)
11HERA_FIELD_TITLE="title_" + languageId
12HERA_FIELD_LOCALIZED_TITLE="title_" + languageId
13HERA_FIELD_SIMPLE_TITLE="title"
14HERA_FIELD_URL_TITLE="urlTitle"
15HERA_FIELD_CONTENT="content_" + languageId
16HERA_FIELD_DESCRIPTION="description"
17HERA_FIELD_DESCRIPTION_IT="description_" + languageId
18HERA_FIELD_PUBLISH_DATE="publishDate"
19HERA_FIELD_DISPLAYDATE="displayDate"
20HERA_FIELD_CREATEDATE="createDate"
21HERA_FIELD_CLASS_TYPE_ID="classTypeId"
22HERA_FIELD_ENTRY_CLASS_NAME="entryClassName"
23HERA_FIELD_CLASSPK="entryClassPK"
24HERA_FIELD_ENTRY_CLASS_NAME_LAYOUT="com.liferay.portal.kernel.model.Layout"
25HERA_FIELD_ENTRY_CLASS_NAME_JA="com.liferay.journal.model.JournalArticle"
26HERA_FIELD_ENTRY_CLASS_NAME_DFE="com.liferay.document.library.kernel.model.DLFileEntry"
27HERA_FIELD_ENTRY_CLASS_NAME_USER="com.liferay.portal.kernel.model.User"
28HERA_FIELD_ENTRY_CLASS_NAME_FOLDER="com.liferay.document.library.kernel.model.DLFolder"
29HERA_FIELD_ENTRY_CLASS_NAME_DDLRECORD="com.liferay.dynamic.data.lists.model.DDLRecord"
30HERA_FIELD_ENTRY_CLASS_NAME_DDMFORMINSTANCERECORD="com.liferay.dynamic.data.mapping.model.DDMFormInstanceRecord"
31HERA_FIELD_PREFIX="ddm__keyword__"
32HERA_FIELD_PREFIX_TEXT="ddm__text__"
33HERA_FIELD_SOTTOTITOLO="__sottotitolo_"
34HERA_FIELD_IMMAGINE="__immagine_"
35HERA_FIELD_IMMAGINE_TYPE2= "__immagine_r13v_"
36HERA_ASSET_CATEGORY_TITLE="assetCategoryTitles"
37HERA_FIELD_USER_FULLNAME="fullName"
38HERA_FIELD_USER_EMAIL_ADDRESS="emailAddress"
39HERA_ORA_PUBBLICAZIONE="__ora_pubblicazione_"
40HERA_CONTENT="content_" + languageId
41
42CATEGORY_HERA_SPA=languageUtil.get(locale, "hera-spa")
43CATEGORY_IR_PRICE=languageUtil.get(locale, "ir-price")
44/>
45
46
47<#-- gruppohera_results.jsp es. ddm__keyword__54911__sottotitolo_it_IT es. displayDate -->
48
49<#-- Abilitare o Disabilitare Highlight dei termini ricercati in configurazione -->
50<#assign isHighlightEnabled=true />
51<#if portletPreferences["highlightEnabled"]?? && portletPreferences["highlightEnabled"][0]?has_content>
52 <#assign isHighlightEnabled=portletPreferences["highlightEnabled"][0] />
53</#if>
54
55<#assign docs=searchContainer.getResults() />
56
57
58<div class="container archivio my-4">
59 <#if docs?has_content>
60 <#list docs as d>
61
62 <#assign contentTitle="" contentSummary="" content="" contentDate="" />
63
64 <#assign contentTitle=hera_template_tool.highlight(d.get(HERA_FIELD_LOCALIZED_TITLE),searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
65 classTypeId=d.get(HERA_FIELD_CLASS_TYPE_ID)
66 sottotitolo=d.get(HERA_FIELD_PREFIX + classTypeId + HERA_FIELD_SOTTOTITOLO + languageId)
67 description=hera_template_tool.highlight(d.get(HERA_FIELD_DESCRIPTION_IT), searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
68 immagineInEvidenza=d.get(HERA_FIELD_PREFIX_TEXT+classTypeId + HERA_FIELD_IMMAGINE + languageId)
69 immagineInEvidenzaType2=d.get(HERA_FIELD_PREFIX_TEXT+classTypeId + HERA_FIELD_IMMAGINE_TYPE2 + languageId)
70 urlTitle=d.get(HERA_FIELD_URL_TITLE)
71 contentSummary=hera_template_tool.highlight(d.get(HERA_CONTENT), searchResultsPortletDisplayContext.getKeywords(), isHighlightEnabled?boolean)
72 contentDate=hera_template_tool.getDateFormattedBy(d.get(HERA_FIELD_DISPLAYDATE),"dd/MM/yyyy",locale)
73 publishDate=hera_template_tool.getDateFormattedBy(d.get(HERA_FIELD_PUBLISH_DATE),"dd/MM/yyyy",locale)
74 oraPubblicazione = d.get(HERA_FIELD_PREFIX +classTypeId + HERA_ORA_PUBBLICAZIONE + languageId)
75 oraPubblicazioneObj = oraPubblicazione
76 checkcategory=0
77 contentUrl=hera_template_tool.getSearchResultViewURL(renderRequest, renderResponse,
78 d.get(HERA_FIELD_ENTRY_CLASS_NAME), d.get(HERA_FIELD_CLASSPK)?number, true, currentUrl)
79 content=d.get(HERA_FIELD_CONTENT) titlepage=languageUtil.get(locale, titlepage,
80 layout.getName(locale)) />
81
82 <#attempt>
83 <#assign immagineInEvidenzaObj=jsonFactoryUtil.createJSONObject(immagineInEvidenza)/>
84 <#recover>
85 <#attempt>
86 <#assign immagineInEvidenzaObj=jsonFactoryUtil.createJSONObject(immagineInEvidenzaType2)/>
87 <#recover>
88 <#assign immagineInEvidenzaObj=""/>
89 </#attempt>
90 </#attempt>
91
92 <div class="post-item mb-3">
93 <a href="${urlTitle}" class="tile boxarchivio-round position-relative white-bg">
94 <#if immagineInEvidenzaObj?? && immagineInEvidenzaObj?has_content >
95 <div class="row d-flex align-items-center">
96 <#else>
97 <div class="row d-flex align-items-center min-height-168">
98 </#if>
99 <#if immagineInEvidenzaObj?? && immagineInEvidenzaObj?has_content && immagineInEvidenzaObj.groupId?? && immagineInEvidenzaObj.name?? && immagineInEvidenzaObj.uuid??>
100 <#assign immagineUrl="/documents/" + immagineInEvidenzaObj.groupId + "/0/" + immagineInEvidenzaObj.name + "/" + immagineInEvidenzaObj.uuid />
101 <div class="col-xs-3 col-md-2">
102 <img title="${immagineInEvidenzaObj.name}" alt="${titlepage}" class="agg-tile-image img-archivio-news" src="${immagineUrl}" />
103 </div>
104 <div class="col-xs-9 col-md-10 offset-lg-1 col-lg-9 px-5 px-md-0">
105 <div class="container px-lg-3 pr-xl-4">
106 <div class="black py-2 small">
107 <div class="mr-0 mr-md-5 d-inline">
108 <#attempt>
109 ${contentDate}
110 <#recover>
111 </#attempt>
112 </div>
113 <#assign assetCategoryList= hera_template_tool.getAssetCategoryList(d.get("rootEntryClassPK"))/>
114 <#list assetCategoryList as entryCategory>
115 <#if entryCategory.vocabularyId == vocabularyId || true>
116 <#assign catName = entryCategory.name>
117 <#if catName==CATEGORY_HERA_SPA>
118 <#assign checkcategory=1 />
119 </#if>
120 <#if catName==CATEGORY_IR_PRICE>
121 <#assign checkcategory=1 />
122 </#if>
123
124 <div class="mr-2 d-inline gruppo-color-bg white px-1 py-0 py-lg-1 py-md-1 ${catName?lower_case}">
125 ${catName}
126 </div>
127 </#if>
128 </#list>
129 </div>
130
131 <h3 class="titlesize bigger black letter-spacing-sm bolder"> ${contentTitle}</h3>
132 <#if description?? && description?has_content>
133 <div class="d-none d-lg-block greyish-brown tilesize"> ${description} </div>
134 <#else>
135 <div class="d-none d-lg-block greyish-brown tilesize">
136 ${contentSummary}
137
138 </div>
139 </#if>
140 <#if checkcategory==1>
141 <i class="black py-2 mr-0 mr-md-3">
142 <#if publishDate!=""> Online dal ${publishDate} </#if>
143 <#--<#list oraPubblicazioneObj as ora_pubb>-->
144 <#if oraPubblicazioneObj!="">
145 alle ore ${oraPubblicazioneObj?datetime("HH:mm:ss")?string("HH:mm")}
146 </#if>
147 <#--</#list>-->
148
149 </i>
150 </#if>
151 </div>
152 </div>
153 <#else>
154 <div class="col-xs-12 col-md-10">
155 <div class="container">
156 <div class="ml-4 black py-2 small mr-3">
157 <div class="mr-5 d-inline">
158 ${contentDate}
159 </div>
160 <div class="mr-2 d-inline gruppo-color-bg white px-1 py-0 py-lg-1 py-md-1">
161 <#assign assetCategoryList= hera_template_tool.getAssetCategoryList(d.get("rootEntryClassPK"))/>
162 <#list assetCategoryList as entryCategory>
163 <#if entryCategory.vocabularyId == vocabularyId>
164 <#assign catName = entryCategory.name>
165 <#if catName==CATEGORY_HERA_SPA>
166 <#assign checkcategory=1 />
167 </#if>
168 <#if catName==CATEGORY_IR_PRICE>
169 <#assign checkcategory=1 />
170 </#if>
171
172 <div class="mr-2 d-inline gruppo-color-bg white px-1 py-0 py-lg-1 py-md-1">
173 ${catName}
174 </div>
175 </#if>
176 </#list>
177 </div>
178 </div>
179 <h3 class="titlesize bigger ml-4 black letter-spacing-sm bolder"> ${contentTitle}</h3>
180 <#if description?? && description?has_content>
181 <div class="d-none d-lg-block black tilesize ml-4">
182 ${description}
183 </div>
184 <#else>
185 <div class="d-none d-lg-block greyish-brown tilesize ml-4">
186 ${contentSummary}
187
188 </div>
189 </#if>
190 <#if checkcategory==1>
191 <i class="ml-4 black py-2 small mr-3">
192 <#if publishDate!=""> Online dal ${publishDate} </#if>
193 <#--<#list oraPubblicazioneObj as ora_pubb>-->
194 <#if oraPubblicazioneObj!="">
195 alle ore ${oraPubblicazioneObj?datetime("HH:mm:ss")?string("HH:mm")}
196 </#if>
197 <#--</#list>-->
198 </i>
199 </#if>
200 </div>
201 </div>
202 </#if>
203 </div>
204 </a>
205 </div>
206
207 </#list>
208 </#if>
209</div>
210
211
212<script>
213 $(document).ready(function () {
214 var url = window.location.href;
215 if (url.indexOf("/-/")>=0){
216 var recoverurl=localStorage.getItem("reindexcomunicati");
217 $(".reindexlink").attr("href",recoverurl);
218 }else{
219 localStorage.setItem("reindexcomunicati", url);
220 }
221 });
222</script>