From fdc943f3d3a9f4fc42d94d3c74f2b277c2d5bed5 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 6 May 2016 12:59:01 +0200 Subject: [PATCH] Add box identifier as data attribute to box --- com.woltlab.wcf/templates/__box.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()} -- 2.20.1