Move changes table into main document
This commit is contained in:
parent
201caff2fc
commit
7b981a8358
6
main.typ
6
main.typ
@ -49,7 +49,11 @@
|
||||
tlp: rawPlaceholder("amber+strict"), // set to one of "RED", "AMBER+STRICT", "AMBER", "GREEN", "CLEAR", or none. See https://www.first.org/tlp/
|
||||
draft: rawPlaceholder(true) // set to true for a "DRAFT" mark on the cover
|
||||
)
|
||||
#pages.legal.render(author)
|
||||
#pages.legal.render(author,
|
||||
(
|
||||
(version: placeholder("Draft"), date: placeholder("01.01.1970"), author: author, changes: placeholder("Some")),
|
||||
),
|
||||
)
|
||||
|
||||
// ----- Table of contents -----
|
||||
#pages.toc.render()
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
#import "../aux/placeholder.typ": placeholder
|
||||
|
||||
#let render(author) = {
|
||||
#let render(author, changes) = {
|
||||
// Reset counter
|
||||
counter(page).update(n => n - 1)
|
||||
|
||||
@ -19,9 +19,17 @@
|
||||
align: left,
|
||||
stroke: gray,
|
||||
[*Version*], [*Date*], [*Author*], [*Changes & Comment*],
|
||||
[#placeholder("Draft")], [#placeholder("01.01.1970")], [#placeholder(author)], [#placeholder("Some")]
|
||||
..for (i, value) in changes.enumerate() {
|
||||
(
|
||||
table.cell(value.version),
|
||||
table.cell(value.date),
|
||||
table.cell(value.author),
|
||||
table.cell(value.changes),
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
#heading(level: 2, outlined:false, "Classification")
|
||||
This report and all associated materials are strictly confidential and may be communicated and/or distributed by the Client only with written approval of the author. All report data, including findings and recommendations, may be stored encrypted in the author's secure archive post-engagement, in compliance with applicable data protection regulations.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user