#assign feedbackType = feedback.feedbackType!''>
<@pageContainer>
<@pageColumn>
<@pageHeader title='#i18n{module.extend.feedback.feedback_detail_view.title}'>
<#if resourceUrl?? && resourceUrl?has_content>
<@aButton href=resourceUrl target='_blank' title='#i18n{module.extend.feedback.feedback_comment.label.see_resource}' buttonIcon='external-link' color='light' class='me-1' />
#if>
<@aButton href='jsp/admin/plugins/extend/modules/feedback/ManageFeedback.jsp' title='#i18n{portal.util.labelBack}' buttonIcon='arrow-left' color='light' />
@pageHeader>
<@messages infos=infos![] errors=errors![] warnings=warnings![] />
<@row>
<@columns md=7>
<@box>
<@boxHeader title='#i18n{module.extend.feedback.feedback_detail_view.informations}' />
<@boxBody>
<@table>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.status}@th>
<@td><#if feedback.status>#i18n{module.extend.feedback.feedback_comment.label.processed}<#else>#i18n{module.extend.feedback.feedback_comment.label.noprocessed}#if>@td>
@tr>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.feedback_type}@th>
<@td><#if !feedbackType?has_content>#i18n{module.extend.feedback.feedback_comment.label.no_type}<#elseif feedbackTypeLabels[feedbackType]??>${feedbackTypeLabels[feedbackType]}<#else>#i18n{module.extend.feedback.feedback_comment.label.removed_type} (${feedbackType})#if>@td>
@tr>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.comment}@th>
<@td>${feedback.comment!''}@td>
@tr>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.resource}@th>
<@td><#if resourceName?? && resourceName?has_content>${resourceName}<#else>${feedback.idResource!}#if>@td>
@tr>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.resource_type}@th>
<@td>${feedbackResourceTypeLabel!''}@td>
@tr>
<#if (feedback.resourceExtenderHistory.dateCreation.isPresent())!false>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_comment.send.date}@th>
<@td>${feedback.resourceExtenderHistory.dateCreation.get()?datetime?string["dd/MM/yyyy HH:mm:ss"]}@td>
@tr>
#if>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.update_date}@th>
<@td>${feedback.updateStatusDate?string["dd/MM/yyyy HH:mm:ss"]!''}@td>
@tr>
<#if feedback.email?has_content>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.email}@th>
<@td>${feedback.email}@td>
@tr>
#if>
<#if feedback.luteceUserName?has_content>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.guid}@th>
<@td>${feedback.luteceUserName}@td>
@tr>
#if>
<@tr>
<@th scope='row'>#i18n{module.extend.feedback.feedback_detail_view.ip_address}@th>
<@td>${(feedback.resourceExtenderHistory.ipAddress)!}@td>
@tr>
@table>
@boxBody>
@box>
@columns>
<@columns md=5>
<@box>
<@boxHeader title='#i18n{module.extend.feedback.feedback_detail_view.actions}' />
<@boxBody>
<#if feedback.listWorkflowActions?? && feedback.listWorkflowActions?has_content>
<@tform class='d-grid gap-2' action='jsp/admin/plugins/extend/modules/feedback/ManageFeedback.jsp'>
<@input type='hidden' name='action' value='do_process_workflow_action' />
<#list feedback.listWorkflowActions as action>
<@button type='submit' name='id_action' value='${action.id}' color='light' title='${action.name!}'>
<@img url='image?resource_type=workflow_icon_img&id=${action.icon.id}' class='thumbnail-xs me-2' title='${action.name}' />${action.name!''}
@button>
#list>
@tform>
<#else>
<@empty title='#i18n{module.extend.feedback.feedback_detail_view.actions.action_empty}' iconName='player-play' subtitle=' ' />
#if>
@boxBody>
@box>
<@box>
<@boxHeader title='#i18n{module.extend.feedback.feedback_workflow_history.title}' />
<@boxBody>
${historyWorkflow!}
@boxBody>
@box>
@columns>
@row>
@pageColumn>
@pageContainer>