[Koha-bugs] [Bug 26619] Cart - The "Print" button is only translated when you are in "More details" mode
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Oct 20 04:05:27 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26619
Katrin Fischer <katrin.fischer at bsz-bw.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |oleonard at myacpl.org
Severity|enhancement |minor
--- Comment #2 from Katrin Fischer <katrin.fischer at bsz-bw.de> ---
I had a quick look, the print button for the more details view is in the
template, the other seems to come from the datatables:
koha-tmpl/intranet-tmpl/lib/datatables/datatables.min.js:0!==d.pathname.indexOf("/")&&(b+="/");return
d.protocol+"//"+b+d.pathname+d.search};k.ext.buttons.print={className:"buttons-print",text:function(b){return
b.i18n("buttons.print","Print")},action:function(b,a,d,g){b=a.buttons.exportData(c.extend({decodeEntities:!1},g.exportOptions));d=a.buttons.exportInfo(g);var
k=a.columns(g.exportOptions.columns).flatten().map(function(b){return
a.settings()[0].aoColumns[a.column(b).index()].sClass}).toArray(),m=function(b,a){for(var
d="<tr>",c=0,e=b.length;c<e;c++)d+=...
Adding Owen in hope he has an idea.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list