Merge branch 'master' of ssh://willipink.eu:3456/moritz/coinmanager
This commit is contained in:
commit
64860c6cee
@ -126,7 +126,7 @@ function render_response(data, td, set) {
|
||||
td_class = 'noexist';
|
||||
} else if (set['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';
|
||||
} else if ([10, 20, 50].includes(value)) {
|
||||
td_class = 'brass';
|
||||
|
@ -162,7 +162,7 @@ def show_coin(country, year, stamp, value):
|
||||
td_class = 'noexist'
|
||||
elif coin.buy_only:
|
||||
td_class = 'buy_only'
|
||||
elif coin.circulation and coin.circulation < 1500000:
|
||||
elif coin.circulation and coin.circulation <= 1500000:
|
||||
td_class = 'rare'
|
||||
elif coin.value in [10, 20, 50]:
|
||||
td_class = 'brass'
|
||||
|
Loading…
x
Reference in New Issue
Block a user