Skip to content

Commit f0e0147

Browse files
committed
feat: add response time to survey results
1 parent 04724f3 commit f0e0147

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/main/webapp/WEB-INF/templates/blocks/survey/responses.xhtml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,13 @@
1818
</h:commandLink>
1919
</f:facet>
2020

21+
<p:column headerText="#{msg.date}">
22+
<h:outputText value="#{result.createdAt}">
23+
<f:convertDateTime timeZone="#{userBean.timeZone}" type="localDateTime"/>
24+
</h:outputText>
25+
</p:column>
2126
<p:column headerText="#{msg.username}" rendered="#{not empty result.userId and result.userId > 0}">
22-
<h:outputLink id="print_user" value="survey/answer.jsf">
23-
<h:outputText value="#{result.user.displayName} "/>
24-
<f:param name="resource_id" value="#{res.id}"/>
25-
<f:param name="user_id" value="#{result.userId}"/>
26-
</h:outputLink>
27+
<h:outputText value="#{result.user.displayName} "/>
2728
</p:column>
2829
<p:column headerText="#{msg.student_id}">
2930
<h:outputText value="#{result.user.studentId}"/>

0 commit comments

Comments
 (0)