From: Jeff Godin Date: Wed, 25 Jul 2012 14:33:30 +0000 (-0400) Subject: Display 245$b as Title Case also X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d72c57fae94b029ea9f97e0124149cc35df417a7;p=evergreen%2Ftadl.git Display 245$b as Title Case also Possibly an experiment: display 245$ as Title Case. Signed-off-by: Jeff Godin --- diff --git a/templates_tadlskin/opac/parts/misc_util.tt2 b/templates_tadlskin/opac/parts/misc_util.tt2 index 2cb3df4059..cbf990f675 100644 --- a/templates_tadlskin/opac/parts/misc_util.tt2 +++ b/templates_tadlskin/opac/parts/misc_util.tt2 @@ -39,6 +39,8 @@ FOR sub IN titresults; IF sub.getAttribute('code') == 'a'; titresults_content.push(tc.title(sub.textContent)); + ELSIF sub.getAttribute('code') == 'b'; + titresults_content.push(tc.title(sub.textContent)); ELSE; titresults_content.push(sub.textContent); END; @@ -53,6 +55,8 @@ FOR sub IN titsubs; IF sub.getAttribute('code') == 'a'; titsubs_content.push(tc.title(sub.textContent)); + ELSIF sub.getAttribute('code') == 'b'; + titsubs_content.push(tc.title(sub.textContent)); ELSE; titsubs_content.push(sub.textContent); END;