Merge branch 'master' of ssh://willipink.eu:3456/moritz/coinmanager

This commit is contained in:
Moritz Münch 2020-05-19 12:52:35 +00:00
commit 64860c6cee
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ function render_response(data, td, set) {
td_class = 'noexist'; td_class = 'noexist';
} else if (set['buy_only']) { } else if (set['buy_only']) {
td_class = 'buy_only'; td_class = 'buy_only';
} else if (set['circulation'] && set['circulation'] < 1500000 && set['circulation'] != 0) { } else if (set['circulation'] && set['circulation'] <= 1500000 && set['circulation'] != 0) {
td_class = 'rare'; td_class = 'rare';
} else if ([10, 20, 50].includes(value)) { } else if ([10, 20, 50].includes(value)) {
td_class = 'brass'; td_class = 'brass';

View File

@ -162,7 +162,7 @@ def show_coin(country, year, stamp, value):
td_class = 'noexist' td_class = 'noexist'
elif coin.buy_only: elif coin.buy_only:
td_class = 'buy_only' td_class = 'buy_only'
elif coin.circulation and coin.circulation < 1500000: elif coin.circulation and coin.circulation <= 1500000:
td_class = 'rare' td_class = 'rare'
elif coin.value in [10, 20, 50]: elif coin.value in [10, 20, 50]:
td_class = 'brass' td_class = 'brass'