diff --git a/templates/history.html b/templates/history.html index 443a40e..1fac80e 100644 --- a/templates/history.html +++ b/templates/history.html @@ -1,63 +1,63 @@ {% extends "main.html" %} {% block title %} Audit Log {% endblock %} {% block content %} -

Audit Log (Coming soon)

+

Audit Log (Coming soon)

-
+
-
-
- +
+
+
-
- +
+ - Timezone {{ time_zone }} + Timezone {{ time_zone }}
-
- +
+
-
+
- Timezone {{ time_zone }} + Timezone {{ time_zone }}
-
+
{% include "history_item_fragment.html" %}
diff --git a/templates/history_item_fragment.html b/templates/history_item_fragment.html index d771160..4597f5c 100644 --- a/templates/history_item_fragment.html +++ b/templates/history_item_fragment.html @@ -1,20 +1,29 @@ -
-
    - {% for item in items %} -
  • -
    -

    {{ item.create_date }}

    -

    {{ item.item_name }}

    -

    {{ item.user_name }}

    -

    - {% match item.item_type %} {% when - HistoryItemEntry::PositiveAdjustment with (entry) %} {{ entry.amount - }} @ {{ entry.unit_value }} {% when - HistoryItemEntry::NegativeAdjustment with (entry) %} {{ entry.amount - }} {{ entry.reason }} {% endmatch %} -

    -
    -
  • - {% endfor %} -
-
+ + + + + + + + + + + {% for item in items %} + + + + + + + {% endfor %} + + +
DateItemUserDesc
{{ item.create_date }}{{ item.item_name }}{{ item.user_name }} + {% match item.item_type %} + {% when HistoryItemEntry::PositiveAdjustment with (entry) %} + {{ entry.amount }} @ {{ entry.unit_value }} + {% when HistoryItemEntry::NegativeAdjustment with (entry) %} + {{ entry.amount }} {{ entry.reason }} + {% endmatch %} +
+ diff --git a/templates/main.html b/templates/main.html index bf90441..0037871 100644 --- a/templates/main.html +++ b/templates/main.html @@ -18,7 +18,7 @@ -
+
{% block content %}

Content Missing