add todos
This commit is contained in:
parent
5269c98095
commit
e6b001f416
@ -127,7 +127,7 @@ function render_response(td, set) {
|
|||||||
|
|
||||||
if (set['found'] && set['found_by'] && set['exists']) {
|
if (set['found'] && set['found_by'] && set['exists']) {
|
||||||
div_class = set['found_by'];
|
div_class = set['found_by'];
|
||||||
// TODO remove marker before marker
|
// TODO remove marker before marker
|
||||||
$(td).find('div.coin').append('x');
|
$(td).find('div.coin').append('x');
|
||||||
}
|
}
|
||||||
$(td).removeClass();
|
$(td).removeClass();
|
||||||
@ -300,7 +300,7 @@ $(document).ready(function() {
|
|||||||
render_login(this.value, color);
|
render_login(this.value, color);
|
||||||
});
|
});
|
||||||
|
|
||||||
// datepicker TODO make it nicer
|
// datepicker TODO make it nicer
|
||||||
$.datepicker.setDefaults( $.datepicker.regional['de'] );
|
$.datepicker.setDefaults( $.datepicker.regional['de'] );
|
||||||
$('input[name=found_on]').datepicker({
|
$('input[name=found_on]').datepicker({
|
||||||
defaultDate: new Date(),
|
defaultDate: new Date(),
|
||||||
|
@ -96,7 +96,7 @@ def show_country(country, single_country=False):
|
|||||||
for irregular_stamp, value in irregular_stamps[year].items():
|
for irregular_stamp, value in irregular_stamps[year].items():
|
||||||
stamps_per_year[irregular_stamp] = {}
|
stamps_per_year[irregular_stamp] = {}
|
||||||
|
|
||||||
# TODO this is not a fix, when more stamps with uniqe years get added
|
# TODO this is not a fix, when more stamps with uniqe years get added
|
||||||
elif country.name_iso == 'gr':
|
elif country.name_iso == 'gr':
|
||||||
stamps_per_year = {'': {}}
|
stamps_per_year = {'': {}}
|
||||||
|
|
||||||
@ -290,7 +290,7 @@ def add_coin(request):
|
|||||||
circulation = int(request.POST['circulation'])
|
circulation = int(request.POST['circulation'])
|
||||||
except ValueError:
|
except ValueError:
|
||||||
circulation = 0
|
circulation = 0
|
||||||
# TODO sollte es dann nicht einen Fehler geben?
|
# TODO sollte es dann nicht einen Fehler geben?
|
||||||
if circulation != 0:
|
if circulation != 0:
|
||||||
if circulation < 0:
|
if circulation < 0:
|
||||||
status = 1
|
status = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user