Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions _extensions/texnative/partials/page-cover.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,14 @@
{\bf Client:} & $client.name$ \\
$endif$

$if(clientname)$
{\bf Client:} & $clientname$ \\
$endif$

$if(reportperiod)$
{\bf Report Period:} & $reportperiod$ \\
$endif$

$if(contact_person)$
{\bf Contact Person:} & $contact_person$ \\
$endif$
Expand Down
6 changes: 6 additions & 0 deletions _extensions/texnative/texnative_dcl.lua
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ function Meta(meta)
return meta
end

-- Support simple 'data_classification_level' property to override level
-- This allows: -M data_classification_level="confidential" instead of -M data_classification_label.level="confidential"
if meta.data_classification_level ~= nil then
dcl.level = meta.data_classification_level
end

-- Validate configuration
local valid, err = M.validate_config(dcl)
if not valid then
Expand Down