Skip to content

Commit

Permalink
Dev: added bootstrap thumbnail class to template previews
Browse files Browse the repository at this point in the history
  • Loading branch information
LouisGac committed Oct 30, 2017
1 parent 4849869 commit 0057397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/models/TemplateConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ public function getPreview()

if (file_exists($previewPath.'/preview.png')){
$previewUrl = Template::getTemplateURL($this->template->name);
$this->sPreviewImgTag = '<img src="'.$previewUrl.'/preview.png" alt="template preview" height="200"/>';
$this->sPreviewImgTag = '<img src="'.$previewUrl.'/preview.png" alt="template preview" height="200" class="img-thumbnail" />';
}else{
$this->sPreviewImgTag = '<em>'.gT('No preview available').'</em>';
}
Expand Down

0 comments on commit 0057397

Please sign in to comment.