{%set i=0%}
{% for question_detail in questions_details%}
{%set i=i+1%}
{{ __("Question") }}:
{{ question.poll_order }}
{{ esc_html( stripslashes( question_detail.name) )}}
{{ __ ("Answer") }} |
{{ __ ("Votes") }} |
{{ __ ("Percent") }} |
|
{% for answerr in question_detail.answers%}
{{answerr.answer}} |
{{answerr.votes}} |
{{answerr.status}} % |
|
{%endfor%}
{{__( "Poll Other Answers")}}:
{{__( "Value" )}} |
{{__( "Votes" )}} |
{%set index=0%}
{% for answer in question_detail.answers%}
{% if answer.type == 'other' %}
{{ esc_html( stripslashes( answer.answer ) )}} |
{{ esc_html( stripslashes( answer.votes ) )}} |
{%set index=1 %}
{%endif%}
{%endfor%}
{% if index==0 %}
{{__( 'No other answers defined!')}} |
{%endif%}
{{__( "Custom Fields")}}:
{{__( '#' )}} |
{% for custom_field in question_detail.custom_fields %}
{{ ucfirst( custom_field.custom_field )}} |
{%endfor%}
{{__( "Vote ID")}} |
{{__( "Tracking ID" )}} |
{{__( "Vote Date")}} |
{%set index=0%}
{%for custom_field_detail in question_detail.custom_fields_logs_details%}
{%set index=index+1%}
{{index}} |
{%for id in custom_field_detail.column_custom_fields_ids%}
{%set value=custom_field_detail.custom_fields_value%}
{{custom_field_detail.custom_fields_value[id]}} |
{%endfor%}
{{custom_field_detail.vote_id}} |
{{custom_field_detail.tr_id}} |
{{custom_field_detail.vote_date}} |
{% else %}
{{ __("No Custom Field Defined") }}
|
{%endfor%}
{% endfor %}