#30: .rare should be applied when circulation <= 1.500.000 not when circulation < 1.500.000
This commit is contained in:
parent
fc2549de3d
commit
023539d211
@ -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';
|
||||||
|
@ -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'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user