Re: [taskjuggler] how to change table caption in htmlstatusreport

From: Chris Schlaeger (cs_at_suse.de)
Date: Mon Mar 22 2004 - 16:37:51 CET


From: Chris Schlaeger <cs@suse.de>
Date: Mon, 22 Mar 2004 16:37:51 +0100
Message-Id: <200403221637.52501.cs@suse.de>
Subject: Re: [taskjuggler] how to change table caption in htmlstatusreport

On Monday 22 March 2004 10:44, Klaas Freitag wrote:
> On Monday 22 March 2004 10:16, a.rehbeck@walz.de wrote:
> > Hi List,
> >
> > I'd like to change the table caption (<h3>my own german text</h3>) of
> > each table within the htmlstatusreport.
>
> Sorry, AFAIK the titles of the tables are hardcoded, so you have no chance
> to change them.

It is doable, but I don't like the syntax. It's a bit clumsy, so I didn't
document it yet. It works like this:

htmlstatusreport "status.html" {
        headline "The big headline"
        caption "The big caption"
        rawhead "<h1>Some raw HTML stuff as head.</h1>"
        rawtail "<h1>Some raw HTML stuff as tail.</h1>"
        table 1 {
                headline "This is the headline of the first table."
                caption "This is the caption of the first table."
                sorttasks indexup
                hidetask 0
        }
        table 2 {
                columns seqno, name, cost, weekly
        }
}

You can use it with 2.0 and later version. But if I ever find a nicer syntax,
I will probably change it in future versions.

Chris

>
> Klaas
>
> --
> Klaas Freitag
> Internal Tools - SUSE Linux AG

-- 
KDE 3.2: Conquer your Enterprise Desktop!  See http://www.kde.org!
GPG Key: 1024D/0500838B  A5FE C051 2AFC 9A14 768A  5125 5829 5750 0500 838B




This archive was generated by hypermail 2.1.7 : Mon Mar 22 2004 - 16:38:02 CET