break;
case 'imageattributes' :
var link = this.buttons.back_to_portfolio.parentNode;
- link.href = element.getAttribute('backToContextUrl');
+ link.href = element.getAttribute('back_to_context_url');
link = this.buttons.show_buyable.parentNode;
var buyable = element.getAttribute('buyable');
if(buyable === 'True') { link.className = null; }
else if(buyable === 'False') { link.className = 'hidden'; }
this.image.alt = element.getAttribute('alt');
- this.updateBreadcrumbs(element.getAttribute('lastBcUrl'),
+ this.updateBreadcrumbs(element.getAttribute('last_bc_url'),
element.getAttribute('img_id'));
break;
}
xmlns:metal="http://xml.zope.org/namespaces/metal">
<div metal:use-macro="here/main_template_macros/macros/global_defines" tal:omit-tag=""/>
<imageattributes tal:attributes="alt here/Title;
- backToContextUrl options/backToContextUrl;
- lastBcUrl options/lastBcUrl;
+ back_to_context_url options/backToContextUrl;
+ last_bc_url options/lastBcUrl;
img_id imgId;
buyable options/buyable"/>
<fragment id="image_metadata"><span tal:replace="structure string:<![CDATA[" />