From: Matthias Schmidt Date: Fri, 6 May 2016 10:59:01 +0000 (+0200) Subject: Add box identifier as data attribute to box X-Git-Tag: 3.0.0_Beta_1~1760 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdc943f3d3a9f4fc42d94d3c74f2b277c2d5bed5;p=GitHub%2FWoltLab%2FWCF.git Add box identifier as data attribute to box --- diff --git a/com.woltlab.wcf/templates/__box.tpl b/com.woltlab.wcf/templates/__box.tpl index 974114aa00..d6a72d066d 100644 --- a/com.woltlab.wcf/templates/__box.tpl +++ b/com.woltlab.wcf/templates/__box.tpl @@ -1,4 +1,4 @@ -<{if $box->showHeader}section{else}div{/if} class="box{if $box->hasImage()} boxWithImage{/if}{if $box->cssClassName} {$box->cssClassName}{/if}"> +<{if $box->showHeader}section{else}div{/if} class="box{if $box->hasImage()} boxWithImage{/if}{if $box->cssClassName} {$box->cssClassName}{/if}" data-box-identifier="{@$box->identifier}"> {if $box->hasImage()}
{if $box->hasLink()}