<@messages infos=infos errors=errors /> <#setting date_format="dd/MM/yyyy">
<#if ( proposal?? && (proposal.statusPublic = "STATUS_NON_RETENU"))>
<#else>
<#-- If the idea is not identified, a specific error message is displayed. --> <#if !(proposal??) >

Warn !

#dskey{participatoryideation.site_property.view_proposal.non_existing.htmlblock}
<#else> <#-- A few variables are pre-calculated. --> <#if (proposal?? && (proposal.statusPublic = "STATUS_NON_RETENU")) > <#assign theme_class = "nonretenu"> <#assign campaign_year = " "> <#if proposal.codeCampaign??> <#assign campaign_year = proposal.codeCampaign> <#if proposal.codeTheme??> <#assign campaign = i18n('participatoryideation.view.list.card.campaign', proposal.codeTheme)> <#assign proposal_theme_libelle = (campaign_static['theme_label_list']?filter( i -> i.code = proposal.codeTheme )[0].name)!proposal.codeTheme > <#assign theme_front_color = (campaign_static['theme_front_rgb_list']?filter( i -> i.code = proposal.codeTheme )[0].name)!'#3c67ff' > <#if (campaign_static.submitters_types_map[proposal.submitterType])??> <#assign proposal_submitter_type_object = campaign_static.submitters_types_map[proposal.submitterType]> <#if (proposal.submitterType)??> <#assign proposal_submitter_type_libelle = (proposal_submitter_type_object.libelle)!proposal.submitterType> <#if (proposal.submitter)??> <#if (proposal_submitter_type_object.codeComplementType)?? && proposal_submitter_type_object.codeComplementType == "LIST"> <#assign proposal_submitter_libelle = (campaign_static.submitters_types_list_values_map[proposal.submitterType + "-" + proposal.submitter])!proposal.submitter> <#else> <#assign proposal_submitter_libelle = proposal.submitter> <#assign status_text = ""> <#assign status_icon = ""> <#if proposal.statusPublic = "STATUS_SUBMITTED"> <#assign status_text = i18n("participatoryideation.message.labelStatusPublished")> <#assign status_icon = "prop-statut-ok.png"> <#elseif proposal.statusPublic = "STATUS_EN_CO_CONSTRUCTION"><#assign status_text = i18n("participatoryideation.message.labelStatusEnCoConstruction")> <#assign status_icon = "prop-statut-ok.png"> <#elseif proposal.statusPublic = "STATUS_REGROUPE"> <#assign status_text = i18n("participatoryideation.message.labelStatusRegroupe")> <#assign status_icon = "prop-statut-ok.png"> <#elseif proposal.statusPublic = "STATUS_A_ETUDE"> <#assign status_text = i18n("participatoryideation.message.labelAEtude")> <#assign status_icon = "prop-statut-ok.png"> <#elseif proposal.statusPublic = "STATUS_RETENU"> <#assign status_text = i18n("participatoryideation.message.labelRetenu")> <#assign status_icon = "prop-statut-ok.png"> <#elseif proposal.statusPublic = "STATUS_NON_RETENU"> <#assign status_text = i18n("participatoryideation.message.labelNonRetenu")> <#assign status_icon = "prop-statut-ko.png"> <#-- *********************************************************************************** --> <#-- * HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HE * --> <#-- * HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HEADER HE * --> <#-- *********************************************************************************** --> <#if proposal.urlProjet?has_content && status_text != "non retenu"> <#if proposal.winnerProjet?? && proposal.winnerProjet == "WINNER"> <#-- WINNING Idea -->
<#if proposal.parentProposals?has_content>

This proposal, grouped with other ones, is a winner of ${campaign_year} !

<#else>

This proposal is a winner of ${campaign_year} !

<#--
-->
<#elseif proposal.winnerProjet?? && proposal.winnerProjet == "LOOSER">
<#if proposal.parentProposals?has_content>

This proposal, grouped with other ones, is not a winner of ${campaign_year}.

<#else>

This proposal is not a winner of ${campaign_year}.

<#--
-->
<#else> <#-- Idée SOUMISE -->
<#if proposal.parentProposals?has_content>

This proposal, grouped with other ones, takes part in ${campaign_year}.

<#else>

This proposal takes part in ${campaign_year}.

${proposal_theme_libelle!""} <#if isExtendInstalled?? && isExtendInstalled>
<#-- *********************************************************************************** --> <#-- * DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC * --> <#-- * DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC DESC * --> <#-- *********************************************************************************** -->
<#-- Location -->
#i18n{participatoryideation.view_idea.desc.location}
<#if proposal.adress?? && proposal.adress != '' >${proposal.adress?html}
<#if proposal.locationType == "whole">${whole_area}<#elseif proposal.locationType == "ardt">${i18n("participatoryideation.view_idea.desc.location.area", (arrondissements_map[proposal.locationArdt])!proposal.locationArdt)}
<#-- Title -->

${proposal.titre}

<#-- Description -->

Description

${proposal.description?html}

<#if proposal.cout?? && (proposal.cout != -1)> ${nickname!''} ${i18n("participatoryideation.view_idea.desc.cost.estimated", proposal.cout?string.number!'')} <#else> #i18n{participatoryideation.view_idea.desc.cost.not_estimated}

<#-- Attachments --> <#if ((proposal.imgs?size != 0) || (proposal.docs?size != 0))>
<#-- Images (FIXME resize on server ???) --> <#if proposal.imgs?size != 0> <#list proposal.imgs as img> <#if img??>
<#-- Documents --> <#if proposal.docs?size != 0> <#list proposal.docs as doc> <#if doc??>
${doc.title}
<#-- Commentaires et lien vert d'association au projet -->
<#-- Liste des commentaires --> <#if isExtendInstalled?? && isExtendInstalled> @Extender[${proposal.id},PROPOSAL,comment]@
<#-- *********************************************************************************** --> <#-- * DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA * --> <#-- * DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA DATA * --> <#-- *********************************************************************************** -->
<#-- Séparation en mode XS -->
<#-- Pastilles QPOP et RATP -->
<#if proposal.typeQpvQva == "NQPV" || proposal.typeQpvQva == "QVA" || proposal.typeQpvQva == "GPRU" || proposal.typeQpvQva == "QBP" > Projet en quartier populaire
<#-- Boutons d'action -->
<#if isExtendInstalled?? && isExtendInstalled> <#if !(is_own_proposal?? && is_own_proposal)> @Extender[${proposal.id},PROPOSAL,rating,{show:"all"}]@ <#else> @Extender[${proposal.id},PROPOSAL,rating,{show:"vote"}]@ @Extender[${proposal.id},PROPOSAL,follow,{show:"count"}]@
<#-- Quelques données sur la proposition -->

#i18n{participatoryideation.view_idea.data.project}

#i18n{participatoryideation.view_idea.data.campaign} ${campaign_year!" "}
#i18n{participatoryideation.view_idea.data.status}
${status_text!""}
#i18n{participatoryideation.view_idea.data.cost.title}
<#if proposal.cout?? && (proposal.cout != -1)> ${i18n("participatoryideation.view_idea.data.cost.estimated", proposal.cout?string.number!'')} <#else> #i18n{participatoryideation.view_idea.data.cost.not_estimated}
<#if proposal.field4?? && proposal.field4 == "yes">
#i18n{participatoryideation.view_idea.data.field4}
<#-- Cartographie du projet --> <#if proposal.latitude?? && proposal.longitude??> <#if proposal.latitude != 0 && proposal.longitude != 0>
 
<#-- Bouton d'action FOLLOW --> <#if !(is_own_proposal?? && is_own_proposal)>
<#if isExtendInstalled?? && isExtendInstalled> @Extender[${proposal.id},PROPOSAL,follow,{show:"statusButton"}]@
<#-- L'auteur de la proposition -->

#i18n{participatoryideation.view_idea.data.author}

${proposal_submitter_type_libelle!''}

<#if proposal_submitter_libelle??> (${proposal_submitter_libelle})
<#-- Son avatar -->
<#if has_avatar == true>
#i18n{participatoryideation.message.labelStatusPublished} ${proposal.creationTimestamp?date?string.long}
${nickname!''}
<#-- Le bouton pour le contacter --> <#if is_own_proposal?? && is_own_proposal == false>

<#if proposal.acceptContact == true > Contact <#else> Contact

<#-- Quelques données sur la proposition, ainsi que les regroupements --> <#if proposal.childProposals?has_content || proposal.parentProposals?has_content>

Co-building

<#if proposal.childProposals?has_content> <#if proposal.childProposals?size > 0 >

Proposal built from :

<#list proposal.childProposals as childProposal>

${childProposal.titre?lower_case?cap_first}

<#if proposal.parentProposals?has_content>

Project grouped into :

<#list proposal.parentProposals as parentProposal>

${parentProposal.titre?lower_case?cap_first}

<#-- *********************************************************************************** --> <#-- * FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FO * --> <#-- * FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FOLLOW FO * --> <#-- *********************************************************************************** --> <#-- Modal d'association à une proposition --> <#if !(is_own_proposal?? && is_own_proposal)> <#-- *********************************************************************************** --> <#-- * CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT * --> <#-- * CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT CONTACT * --> <#-- *********************************************************************************** --> <#-- Modal de contact entre usagers --> <#-- Modal de contact entre usagers désactivé --> <#-- *********************************************************************************** --> <#-- * JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS J * --> <#-- * JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS JS J * --> <#-- *********************************************************************************** --> <#-- Affichage ou non de la ligne de bouton pour association à une proposition --> <#if (is_own_proposal?? && is_own_proposal)> <#else> <#-- Affichage de la popin de contact entre usagers --> <#-- Gestion de la cartographie Leaflet --> <#if proposal?? && proposal.latitude?? && proposal.longitude??> <#-- *********************************************************************************** --> <#-- * ANCIEN_CODE ANCIEN_CODE ANCIEN_CODE ANCIEN_CODE ANCIEN_CODE ANCIEN_CO * --> <#-- * ANCIEN_CODE ANCIEN_CODE ANCIEN_CODE ANCIEN_CODE ANCIEN_CODE ANCIEN_CO * --> <#-- *********************************************************************************** --> <#-- @Extender[${proposal.id},PROPOSAL,opengraph,{show:"all"}]@ -->