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

From: Chris Schlaeger (cs_at_suse.de)
Date: Mon Mar 22 2004 - 19:39:50 CET


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

On Monday 22 March 2004 16:44, Klaas Freitag wrote:
> On Monday 22 March 2004 16:37, Chris Schlaeger wrote:
> > 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
> > }
> > }
>
> Yes, but still there is Name | Duration | End | Completed etc. in the
> status reports tables. And I thought this is what Alex wanted to change? It
> sounded like an internationalisation issue.
>
> Btw, I think the syntax is ok.

The problem is, that when you modify one of the tables with table X { ... }
all values are reset to the default (different from the status report
defaults). So you have to set all the attributes again for the table to match
the default of the status report table. This is pretty annoying.

Chris

-- 
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 - 19:40:02 CET