From: joshuaruesweg Date: Fri, 5 Mar 2021 13:20:14 +0000 (+0100) Subject: Simplify url attribute generation X-Git-Tag: 5.4.0_Alpha_1~146^2~21 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=569434e3f369c03ccb08a655e1a83c94486cd46e;p=GitHub%2FWoltLab%2FWCF.git Simplify url attribute generation --- diff --git a/com.woltlab.wcf/templates/unfurlUrl.tpl b/com.woltlab.wcf/templates/unfurlUrl.tpl index 6e304430b2..0331a63126 100644 --- a/com.woltlab.wcf/templates/unfurlUrl.tpl +++ b/com.woltlab.wcf/templates/unfurlUrl.tpl @@ -1,6 +1,6 @@ {if $object->status == "SUCCESSFUL"}
- + url appendClassname=false isUgc=true}> getImageUrl()|empty} style="background-image: url('{$object->getImageUrl()}')"{/if}>
{$object->title}
@@ -10,5 +10,5 @@
{else} - {$object->url} + url isUgc=true}>{$object->url} {/if} \ No newline at end of file