#30: if #exists and !#found there should be a unique class #exists for this case
This commit is contained in:
parent
369579069d
commit
304d9acf03
@ -132,6 +132,8 @@ function render_response(data, td, set) {
|
||||
td_class = 'brass';
|
||||
} else if (set['found'] && set['found_by']) {
|
||||
td_class = 'found';
|
||||
} else {
|
||||
td_class = 'exist';
|
||||
}
|
||||
|
||||
if (set['ec']) {
|
||||
|
@ -270,7 +270,7 @@ td.coin {
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
.year {
|
||||
.exist, .year {
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
|
@ -163,6 +163,8 @@ def show_coin(country, year, stamp, value):
|
||||
td_class = 'brass'
|
||||
elif coin.found_by:
|
||||
td_class = 'found'
|
||||
else:
|
||||
td_class = 'exist'
|
||||
|
||||
if coin.in_collector:
|
||||
td_class += ' ec'
|
||||
|
Loading…
x
Reference in New Issue
Block a user