[Koha-devel] adding serial numbers to the list of items in CHECKIN email

Jonathan Druart jonathan.druart at bugs.koha-community.org
Tue May 29 15:53:10 CEST 2018


Try [% loop.count %]
http://www.template-toolkit.org/docs/manual/Variables.html#section_loop

On Tue, 29 May 2018 at 05:29 Indranil Das Gupta <indradg at l2c2.co.in> wrote:

> Hi,
>
> I'm trying to add a serial number (1,2,3 ... n) to each row of items
> listed in the CHECKIN digest email on the latest oldstable.
>
> First I tried to be cocky and attempted to do something like this :
>
> .circdata tr:not(.circheader) {
>     counter-increment: row-num;
> }
> .circdata tr:not(.circheader) td:first-child::after {
>     content: counter(row-num);
>     text-align: left;
> }
>
> Of course even in 2018, GMail web client does not seem to allow that. So I
> looked at the code in C4/Circulation.pm, Letters.pm, Message.pm and read up
> the bug reports on adding TT syntax to the notices, but i could not see a
> way to do that.
>
> If I am missing something obvious or is attempting to do something that is
> not possible on present codebase, please feel free to hit me over the head
> with a cluebat ;-)
>
> cheers
> indranil
>
>
> --
> Indranil Das Gupta
> L2C2 Technologies
>
> Phone : +91-98300-20971 <+91%2098300%2020971>
> Blog    : http://blog.l2c2.co.in
> IRC     : indradg on irc://irc.freenode.net
> Twitter : indradg
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20180529/8aa8de04/attachment.html>


More information about the Koha-devel mailing list