mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-05-07 22:06:01 +02:00
show thumbnails for installable themes [fix #40]
This commit is contained in:
@@ -20,7 +20,8 @@
|
||||
<span class="gpm-version">v{{ theme.version }}</span>
|
||||
</div>
|
||||
<div class="gpm-screenshot">
|
||||
<a href="{{ base_url_relative }}/themes/{{ slug|url_encode }}"><img src="{{ theme.thumbnail }}" /></a>
|
||||
{% set thumb = installing ? 'http://getgrav.org/images/' ~ theme.screenshot : theme.thumbnail %}
|
||||
<a href="{{ base_url_relative }}/themes/{{ slug|url_encode }}"><img src="{{ thumb }}" /></a>
|
||||
</div>
|
||||
{% if (installing) %}
|
||||
<div class="gpm-actions">
|
||||
|
||||
Reference in New Issue
Block a user