Compare commits

...

2 Commits

Author SHA1 Message Date
7f564100b1 Merge pull request 'add has-paid filter' (#181) from staging into main
All checks were successful
CI/CD Pipeline / test (push) Successful in 9m48s
CI/CD Pipeline / deploy-staging (push) Has been skipped
CI/CD Pipeline / deploy-main (push) Successful in 5m1s
Reviewed-on: #181
2024-01-22 22:59:03 +01:00
6ad3b8f741 add has-paid filter
All checks were successful
CI/CD Pipeline / test (push) Successful in 26m35s
CI/CD Pipeline / deploy-staging (push) Successful in 19m55s
CI/CD Pipeline / deploy-main (push) Has been skipped
2024-01-22 22:57:42 +01:00

View File

@ -21,7 +21,7 @@
<div id="filter-result-js" class="text-primary-950 dark:text-white text-right"></div> <div id="filter-result-js" class="text-primary-950 dark:text-white text-right"></div>
{% for fee in fees | sort(attribute="name") %} {% for fee in fees | sort(attribute="name") %}
<div {% if fee.paid %} style="background-color: green;" {% endif %} data-filterable="true" data-filter="{{ fee.name }}" class="bg-white dark:bg-primary-900 p-3 rounded-md w-full"> <div {% if fee.paid %} style="background-color: green;" {% endif %} data-filterable="true" data-filter="{{ fee.name }} {% if fee.paid %} has-already-paid {% else %} has-not-paid {% endif %}" class="bg-white dark:bg-primary-900 p-3 rounded-md w-full">
<div class="grid sm:grid-cols-1 gap-3"> <div class="grid sm:grid-cols-1 gap-3">
<div style="width: 100%" class="col-span-2"> <div style="width: 100%" class="col-span-2">
<b>{{ fee.name }}</b> <b>{{ fee.name }}</b>