File tree 1 file changed +10
-2
lines changed
1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 68
68
< td id ="date "> ${result['BookDate']}</ td >
69
69
< td id ="language " hidden ="true "> ${result['booklang']}</ td >
70
70
%if result['Status'] == 'Open':
71
- < td id ="status "> < a class ="button " href ="openBook?bookLink=${result['booklink']} " target ="_new "> ${result['Status']}</ a > </ td >
71
+ < td id ="status "> < a class ="button green " href ="openBook?bookLink=${result['booklink']} " target ="_self "> ${result['Status']}</ a > </ td >
72
72
%else:
73
- < td id ="status "> ${result['Status']}</ td >
73
+ %if result['Status'] == 'Wanted':
74
+ < td id ="status "> < a class ="button red " href ="searchForBook?bookLink=${result['booklink']} " target ="_self "> < span class ="a "> ${result['Status']}</ span > < span class ="b "> Search</ span > </ a > </ td >
75
+ %else:
76
+ %if result['Status'] == 'Snatched':
77
+ < td id ="status "> < a class ="button "> ${result['Status']}</ a > </ td >
78
+ %else:
79
+ < td id ="status "> < a class ="button grey "> ${result['Status']}</ a > </ td >
80
+ %endif
81
+ %endif
74
82
%endif
75
83
</ tr >
76
84
%endfor
You can’t perform that action at this time.
0 commit comments