diff --git a/www/js/main_ru.js b/www/js/main_ru.js index 0c1f99e..33b42b0 100644 --- a/www/js/main_ru.js +++ b/www/js/main_ru.js @@ -2029,8 +2029,18 @@ $(document).ready(function() html += '
  • '+ ''+data[i]['title']+''+ - ''+data[i]['title']+''+ - '

    цена от '+data[i]['price2']+' грн

    '+ + ''+data[i]['title']+''; + if (data[i]['discounted_price'] !== undefined) { + html += + '

    ' + + 'цена от '+data[i]['price2']+' грн
    ' + + ''+data[i]['discounted_price']+' грн'+ + '

    '; + } + else { + html += '

    цена от '+data[i]['price2']+' грн

    '; + } + html += '
  • '; } -- libgit2 0.21.4