Skip to main content

How can i customize the ticket status list in customer portal? 

Seems that {% snippet ticket_list %} embeds it into the screen, but it cannot be modified. I want to show more information per row.


Any idea?


Thanks




Hi, 


I have tried to list the tickets in liquid code but gives only 10 results. 


{% for ticket in tickets %}

  {{ticket.id}}

{% endfor %}


After that, I have added the paginate function, but it doesn't work.

{% paginate tickets by 150 %}

  {% for ticket in tickets %}

    {{ticket.id}}

  {% endfor %}

{% endpaginate %}

Please suggest some ideas to list all tickets in custom view.




Hi, 


I have tried to list the tickets in liquid code but gives only 10 results. 


{% for ticket in tickets %}

  {{ticket.id}}

{% endfor %}


After that, I have added the paginate function, but it doesn't work.

{% paginate tickets by 150 %}

  {% for ticket in tickets %}

    {{ticket.id}}

  {% endfor %}

{% endpaginate %}

Please suggest some ideas to list all tickets in custom view.




I made this:


<div id="ticket-list">

 <div class="c-list">

  {% for ticket in tickets %}

  {% if ticket.group.name == "######" %}

 

  <div class="c-row c-ticket-row">

   <span class="status-source sources-detailed-portal" title=" {{ticket.source_name}} ">

   </span> <span class="label-status-pending label label-small">{{ticket.requester_status_name}}</span>

 

   <div class="ticket-brief">

    <div class="ellipsis">

     <a class="c-link" href="{{ticket.url}}" title="test">{{ticket.subject}}</a>

    </div>

 

 

    <div class="help-text">

     Made on <span class="emphasize">{{ticket.created_on}} Agent: {{ticket.agent.name}}</span>

    </div>

   </div>

  </div>

  {% endif %}

  {% endfor %}

 </div>

</div>


You can determine the if statement yourself if I am right. If that is not the case, please let me know so I can help you.


Use this url if you have multiple portals: {{ticket.portal_url}}