File: system-bootstrap.patch

package info (click to toggle)
finalcif 156%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 53,696 kB
  • sloc: python: 50,427; cpp: 67; sh: 51; makefile: 22
file content (23 lines) | stat: -rw-r--r-- 1,044 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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(-)

--- a/finalcif/report/templated_report.py
+++ b/finalcif/report/templated_report.py
@@ -1298,9 +1298,8 @@
                    '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