From dc68a1f808abf92a228ac0b05c9ef3ac51e5c620 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Tue, 8 Oct 2019 17:51:33 +0100 Subject: [PATCH] Improve handling of really long strings Partially resolves #350, my table fix/hack doesn't work on mobile. --- assets/templates/asset_update.html | 4 ++-- assets/templates/partials/asset_form.html | 4 ++-- assets/templates/partials/asset_list_table_body.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/assets/templates/asset_update.html b/assets/templates/asset_update.html index 90e264e9..63a220a7 100644 --- a/assets/templates/asset_update.html +++ b/assets/templates/asset_update.html @@ -9,9 +9,9 @@ diff --git a/assets/templates/partials/asset_form.html b/assets/templates/partials/asset_form.html index 0de1a72b..86c2c7a4 100644 --- a/assets/templates/partials/asset_form.html +++ b/assets/templates/partials/asset_form.html @@ -57,7 +57,7 @@
{{ object.asset_id }}
Description
-
{{ object.description }}
+
{{ object.description }}
Category
{{ object.category }}
@@ -69,7 +69,7 @@
{{ object.serial_number|default:'-' }}
Comments
-
{{ object.comments|default:'-'|linebreaksbr }}
+
{{ object.comments|default:'-'|linebreaksbr }}
{% endif %} diff --git a/assets/templates/partials/asset_list_table_body.html b/assets/templates/partials/asset_list_table_body.html index 523e99e1..1eea6a73 100644 --- a/assets/templates/partials/asset_list_table_body.html +++ b/assets/templates/partials/asset_list_table_body.html @@ -12,7 +12,7 @@ {% endif %} "> {{ item.asset_id }} - {{ item.description }} + {{ item.description }} {{ item.category }} {{ item.status }}