Bug 12222: members-update.tt has a giant hash variable
authorBernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Mon, 11 Aug 2014 03:23:52 +0000 (00:23 -0300)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 26 Aug 2014 13:28:41 +0000 (10:28 -0300)
commit1e35ea33b0a467aa063e169ab77c70a58e8cbc2a
treebbff3b2c6ea9dab3409bd344bb4957aa1694ff11
parent7832e7db68d8106b0a76e6568c6f83d1bb174558
Bug 12222: members-update.tt has a giant hash variable

This patch changes that giant hash by a TT block
to find apropriate strings

To test:
1) Apply the patch
2) On opac log as some user and request some modifications
on personal data
3) On staff, reload main, will see a notice that a patron
has requested modification, clic on the link
4) All modified data must show with apropriate legends
for each db column, check for regressions
5) Update translation files for your preferred language, xx-YY
Check for new strings, e.g.
egrep "Alternate address" misc/translator/po/xx-YY*
You must find old and new instances
(old with #~ , in particular the hash one)

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Works as advertised, strings are now translatable.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
I like to have this fixed. I'd like it to use C4::Templates::GetColumnDefs
instead, but it belongs to another bug report I guess.
koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt