Pular para o conteúdo
banner

 

Como podemos ajudar?

 
Ocorreu um erro enquanto processava o modelo.
Expression img is undefined on line 30, column 33 in 20155#20195#60100.
1<div class="span9 offset1 main-text"> 
2    <div class="row-fluid"> 
3        <#if entries?has_content> 
4            <#list entries as curEntry> 
5                <#assign renderer = curEntry.getAssetRenderer()> 
6                <#assign title = curEntry.getTitle(locale)> 
7                <#assign tags = curEntry.getTagNames()> 
8                <#assign link = renderer.getURLViewInContext(renderRequest, renderResponse, '')> 
9                 
10                <div class="articles"> 
11                    <#list tags as tag> 
12                        <#if tag?matches("entidade", "i")> 
13                            <#assign img = "/INCM-LRA-theme/images/sugestao-icon.png"> 
14                        <#elseif tag?matches("ciências", "i")> 
15                            <#assign img = "/INCM-LRA-theme/images/sugestao-icon.png"> 
16                        <#elseif tag?matches("educação", "i")> 
17                            <#assign img = "/INCM-LRA-theme/images/sugestao-icon.png"> 
18                        <#elseif tag?matches("finanças", "i")> 
19                            <#assign img = "/INCM-LRA-theme/images/reclamacao-icon.png"> 
20                        <#elseif tag?matches("justiça", "i")> 
21                            <#assign img = "/INCM-LRA-theme/images/sugestao-icon.png"> 
22                        <#elseif tag?matches("saúde", "i")> 
23                            <#assign img = "/INCM-LRA-theme/images/sugestao-icon.png"> 
24                        <#elseif tag?matches("segurança social", "i")> 
25                            <#assign img = "/INCM-LRA-theme/images/sugestao-icon.png"> 
26                        <#else> 
27                            <#assign img = "/INCM-LRA-theme/images/reclamacao-icon.png"> 
28                        </#if> 
29                    </#list> 
30                    <img src="${img}"/> 
31                    <div class="lead3"> 
32                        <span class="title">${title}</span> 
33                        <a href="${link}"><span class="readMore"><@liferay.language key="read-more"/></span></a> 
34                    </div> 
35                </div> 
36            </#list> 
37        </#if> 
38    </div> 
39</div>