Include firstColumn parameter

This commit is contained in:
Manuel Rüger 2024-07-26 15:16:15 +02:00
parent a48678fd0a
commit fad9866b41
2 changed files with 2 additions and 0 deletions

View File

@ -446,6 +446,7 @@ By default, mark provides several built-in templates and macros:
* template: `ac:detailssummary` to show summary information from one page on a another page
* Headings: Column headings to show
* FirstColumn: Name of the Title Column
* CQL: The CQL query to discover the pages
* SortBy: Sort by a specific column heading

View File

@ -362,6 +362,7 @@ func templates(api *confluence.API) (*template.Template, error) {
`ac:detailssummary`: text(
`<ac:structured-macro ac:name="detailssummary" ac:schema-version="2">`,
`<ac:parameter ac:name="headings">{{ .Headings }}</ac:parameter>`,
`<ac:parameter ac:name="firstcolumn">{{ .FirstColumn }}</ac:parameter>`,
`<ac:parameter ac:name="sortBy">{{ .SortBy }}</ac:parameter>`,
`<ac:parameter ac:name="cql">{{ .CQL }}</ac:parameter>`,
`</ac:structured-macro>`,