diff options
author | Matthew Lemon <y@yulqen.org> | 2024-09-16 17:28:54 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-09-16 17:28:54 +0100 |
commit | 8c0cbec4a801771c2eda26bba54d4cfcf95ca9d7 (patch) | |
tree | d86c72a8b25b9a9f0f04e898320e9aedd77968d6 | |
parent | 86bb29b4d378314bd906248e08198c1952d2f0a4 (diff) |
Tweak the GBP sign and the colour of card description text
4 files changed, 7 insertions, 6 deletions
diff --git a/pyblackbird_cc/templates/payments/cart_detail.html b/pyblackbird_cc/templates/payments/cart_detail.html index 1867f1a..7c51814 100644 --- a/pyblackbird_cc/templates/payments/cart_detail.html +++ b/pyblackbird_cc/templates/payments/cart_detail.html @@ -4,6 +4,7 @@ {% block content %} <div class="container my-5"> <h1 class="mb-4">My basket</h1> + <p class="text-body-secondary">{% lorem %}</p> {% if cart %} <div class="my-5 bg-secondary-subtle border border-1 rounded border-dark"> <div class="my-4 bg-white rounded"> @@ -22,14 +23,14 @@ <td>{{ item.product.name }}</td> <td>${{ item.product.price }}</td> <td>{{ item.quantity }}</td> - <td>${{ item.total }}</td> + <td>£{{ item.total }}</td> </tr> {% endfor %} </tbody> <tfoot> <tr> <th colspan="3" class="text-end">Total:</th> - <th>${{ cart_total }}</th> + <th>£{{ cart_total }}</th> </tr> </tfoot> </table> diff --git a/pyblackbird_cc/templates/resources/resource_card_featured.html b/pyblackbird_cc/templates/resources/resource_card_featured.html index 79ae205..8a92729 100644 --- a/pyblackbird_cc/templates/resources/resource_card_featured.html +++ b/pyblackbird_cc/templates/resources/resource_card_featured.html @@ -24,8 +24,8 @@ {% endif %} </div> {% if resource.card_description %} - <div class="my-card-text"> - <p class="card-text my-2">{{ resource.card_description | markdown | safe }}</p> + <div class="text-body-secondary my-2"> + <p>{{ resource.card_description | markdown | safe }}</p> </div> {% else %} <p class="card-text my-2">{{ resource.description | markdown | safe }}</p> diff --git a/pyblackbird_cc/templates/resources/resource_card_standard.html b/pyblackbird_cc/templates/resources/resource_card_standard.html index 66e77ab..f8a557b 100644 --- a/pyblackbird_cc/templates/resources/resource_card_standard.html +++ b/pyblackbird_cc/templates/resources/resource_card_standard.html @@ -32,7 +32,7 @@ <span class="badge bg-info me-2">Feature slot: {{ resource.feature_slot }}</span> {% endif %} </div> - <div class="my-card-text my-2"> + <div class="text-body-secondary my-2"> <p>{{ resource.card_description }}</p> </div> <div class="d-flex flex-row justify-content-between align-items-end mt-2"> diff --git a/pyblackbird_cc/templates/resources/resource_list.html b/pyblackbird_cc/templates/resources/resource_list.html index af1a126..fdd0394 100644 --- a/pyblackbird_cc/templates/resources/resource_list.html +++ b/pyblackbird_cc/templates/resources/resource_list.html @@ -36,7 +36,7 @@ {# standard resources #} <div class="row my-4 text-center"> <div class="col"> - <h5 class="display-6">Standard resources</h5> + <h5 class="display-6 text-display-secondary">Standard resources</h5> </div> </div> |