Index: openacs-4/packages/acs-templating/tcl/style-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/tcl/style-procs.tcl,v diff -u -r1.1.2.19 -r1.1.2.20 --- openacs-4/packages/acs-templating/tcl/style-procs.tcl 20 Nov 2022 10:54:44 -0000 1.1.2.19 +++ openacs-4/packages/acs-templating/tcl/style-procs.tcl 21 Nov 2022 09:47:00 -0000 1.1.2.20 @@ -160,7 +160,15 @@ set template {$alt} } default { - if {$alt eq ""} {set alt $title} + # + # When "title" is a message key, and it is used e.g. in + # the "title" and "alt" fields, then the edit icon is + # displayed twice in TRN mode, which look like a bug. So, + # don't set alt per default to the message key, when it + # looks like a message key... Or maybe better, force the + # user to set the "alt" attribute. + # + #if {$alt eq "" && [string first "#" $title] == -1} {set alt $title} set template {$alt} } }