diff --git a/templates/bill/bill_detail.html b/templates/bill/bill_detail.html index 66055386..9fa08961 100644 --- a/templates/bill/bill_detail.html +++ b/templates/bill/bill_detail.html @@ -29,7 +29,7 @@ height:30rem; } - + {% endblock %} @@ -43,9 +43,9 @@
{% include 'bill/includes/card_bill.html' with bill=bill entity_slug=view.kwargs.entity_slug style='bill-detail' %}
- {% include 'django_ledger/vendor/includes/card_vendor.html' with vendor=bill.vendor %} + {% include 'bill/includes/card_vendor.html' with vendor=bill.vendor %}
- {% trans 'Bill List' %} @@ -209,46 +209,6 @@
- {% if bill.is_active %} - -
-
- -
-
-
-
- -
-
- {% endif %} -
diff --git a/templates/bill/includes/card_markdown.html b/templates/bill/includes/card_markdown.html index 1b3d8ae8..05c355b8 100644 --- a/templates/bill/includes/card_markdown.html +++ b/templates/bill/includes/card_markdown.html @@ -2,24 +2,22 @@ {% load django_ledger %} {% if style == 'card_1' %} -
-
-
-

{% if title %}{{ title }}{% else %} - {% trans 'Notes' %} - {% endif %}

-
-
-
-
- {% if notes_html %} - {% autoescape off %} - {{ notes_html | safe }} - {% endautoescape %} - {% else %} -

{% trans 'No available notes to display...' %}

- {% endif %} -
-
-
+
+
+
+ {% if title %} + {{ title }} + {% else %} + {% trans 'Notes' %} + {% endif %} +
+
+
+ {% if notes_html %} + {{ notes_html|safe }} + {% else %} +

{% trans 'No available notes to display...' %}

+ {% endif %} +
+
{% endif %} diff --git a/templates/bill/includes/card_vendor.html b/templates/bill/includes/card_vendor.html index 713ba74d..81ece8bf 100644 --- a/templates/bill/includes/card_vendor.html +++ b/templates/bill/includes/card_vendor.html @@ -23,6 +23,4 @@ {% if vendor.website %}{{ vendor.website }}{% endif %}

- -
\ No newline at end of file