Skip to content
Snippets Groups Projects
Commit 226af11f authored by Alessandro Cosentino's avatar Alessandro Cosentino
Browse files

reset version number when not specified - again bug oc-1433

parent da4057ec
No related branches found
No related tags found
No related merge requests found
...@@ -20,7 +20,11 @@ $(document).ready(function(){ ...@@ -20,7 +20,11 @@ $(document).ready(function(){
$('#rightcontent p.license').show(); $('#rightcontent p.license').show();
$('#rightcontent span.name').text(app.name); $('#rightcontent span.name').text(app.name);
$('#rightcontent small.externalapp').text(app.internallabel); $('#rightcontent small.externalapp').text(app.internallabel);
if (app.version) {
$('#rightcontent span.version').text(app.version); $('#rightcontent span.version').text(app.version);
} else {
$('#rightcontent span.version').text('');
}
$('#rightcontent p.description').text(app.description); $('#rightcontent p.description').text(app.description);
$('#rightcontent img.preview').attr('src',app.preview); $('#rightcontent img.preview').attr('src',app.preview);
$('#rightcontent small.externalapp').attr('style','visibility:visible'); $('#rightcontent small.externalapp').attr('style','visibility:visible');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment