Hide a ghost image on the apps management page
This commit is contained in:
parent
f3c4a37a78
commit
d110e60316
|
@ -20,6 +20,11 @@ OC.Settings.Apps = OC.Settings.Apps || {
|
|||
page.find('span.score').html(app.score);
|
||||
page.find('p.description').text(app.description);
|
||||
page.find('img.preview').attr('src', app.preview);
|
||||
if (app.preview && app.preview.length) {
|
||||
page.find('img.preview').show();
|
||||
} else {
|
||||
page.find('img.preview').hide();
|
||||
}
|
||||
page.find('small.externalapp').attr('style', 'visibility:visible');
|
||||
page.find('span.author').text(app.author);
|
||||
page.find('span.licence').text(app.licence);
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
class="version"></span><small class="externalapp" style="visibility:hidden;"></small></h3>
|
||||
<span class="score"></span>
|
||||
<p class="description"></p>
|
||||
<img src="" class="preview" />
|
||||
<img src="" class="preview hidden" />
|
||||
<p class="appslink hidden"><a href="#" target="_blank"><?php
|
||||
p($l->t('See application page at apps.owncloud.com'));?></a></p>
|
||||
<p class="license hidden"><?php
|
||||
|
|
Loading…
Reference in New Issue