1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
From: Andrius Merkys <merkys@debian.org>
Date: Wed, 27 Aug 2025 14:24:28 +0200
Subject: Use system-provided bootstrap, as the embedded file is excluded.
Forwarded: not-needed
---
finalcif/report/templated_report.py | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/finalcif/report/templated_report.py b/finalcif/report/templated_report.py
index abb5de0..47101b3 100644
--- a/finalcif/report/templated_report.py
+++ b/finalcif/report/templated_report.py
@@ -1306,9 +1306,8 @@ class TemplatedReport:
'references' : self.references,
'experiment_table' : self.text_formatter.format_experiment_table(cif),
'experiment_time' : self.text_formatter.get_experiment_time(cif),
- 'bootstrap_css' : (app_path.application_path /
- 'template/bootstrap/bootstrap.min.css').read_text(encoding='utf-8'),
-
+ 'bootstrap_css' : Path('/usr/share/javascript/bootstrap5/css/bootstrap.min.css').read_text(
+ encoding='utf-8'),
}
return context
|