Open large template preview in seperate window.

This replicates the behaviour of fullsize view for media db images.
Ultimately, we'll want to replace this with a lightbox or modal.
This commit is contained in:
Matthias Mees 2013-06-27 11:23:48 +02:00
parent e3c113f11d
commit d8425e7bd9

View File

@ -34,7 +34,7 @@
<div class="template_preview">
{if $cur_tpl.fullsize_preview || $cur_tpl.preview}
{if $cur_tpl.fullsize_preview}
<a href="{$cur_tpl.fullsize_preview}">
<a class="media_fullsize" href="{$cur_tpl.fullsize_preview}">
<img src="{$cur_tpl.fullsize_preview}" class="template_preview_img" alt="{$CONST.PREVIEW}" >
</a>
{else}
@ -71,7 +71,7 @@
<div class="template_preview">
{if $info.fullsize_preview || $info.preview}
{if $info.fullsize_preview}
<a href="{$info.fullsize_preview}">
<a class="media_fullsize" href="{$info.fullsize_preview}">
<img src="{$info.fullsize_preview}" class="template_preview_img" alt="{$CONST.PREVIEW}" >
</a>
{else}