User account feature to list the store credits they were awarded.
None.
/user/credit_logs
File: credit_logs.liquid
<h1 class="pagetitle">My Credits</h1> {% if credit_logs.size > 0 %} <table id="credit-logs-table" class="invisible-table" width="95%"> <thead> <tr> <th>Date</th> <th>Amount</th> <th>Reason</th> <th>Given By</th> </tr> </thead> <tbody> {% for credit_log in credit_logs %} <tr> <td>{{credit_log.date}}</td> <td>{{credit_log.amount | money}}</td> <td>{{credit_log.reason}}</td> <td>{{credit_log.given_by}}</td> </tr> {% endfor %} </tbody> </table> {% else %} You have not yet received any store credit. {% endif %}
<header> <h1 class="pagetitle"><a href="/user/home">Your Account</a></h1> {% include 'header_icons' %} </header> <h1 class="pagetitle">My Credits</h1> {% if credit_logs.size > 0 %} <table id="credit-logs-table" class="invisible-table" width="95%"> <thead> <tr> <th>Date</th> <th>Amount</th> <th>Reason</th> <th>Given By</th> </tr> </thead> <tbody> {% for credit_log in credit_logs %} <tr> <td>{{credit_log.date}}</td> <td>{{credit_log.amount | money}}</td> <td>{{credit_log.reason}}</td> <td>{{credit_log.given_by}}</td> </tr> {% endfor %} </tbody> </table> {% else %} You have not yet received any store credit. {% endif %}