add todos

This commit is contained in:
koksnuss 2020-05-11 10:49:29 +02:00
parent 5269c98095
commit e6b001f416
2 changed files with 4 additions and 4 deletions

View File

@ -127,7 +127,7 @@ function render_response(td, set) {
if (set['found'] && set['found_by'] && set['exists']) {
div_class = set['found_by'];
// TODO remove marker before marker
// TODO remove marker before marker
$(td).find('div.coin').append('x');
}
$(td).removeClass();
@ -300,7 +300,7 @@ $(document).ready(function() {
render_login(this.value, color);
});
// datepicker TODO make it nicer
// datepicker TODO make it nicer
$.datepicker.setDefaults( $.datepicker.regional['de'] );
$('input[name=found_on]').datepicker({
defaultDate: new Date(),

View File

@ -96,7 +96,7 @@ def show_country(country, single_country=False):
for irregular_stamp, value in irregular_stamps[year].items():
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':
stamps_per_year = {'': {}}
@ -290,7 +290,7 @@ def add_coin(request):
circulation = int(request.POST['circulation'])
except ValueError:
circulation = 0
# TODO sollte es dann nicht einen Fehler geben?
# TODO sollte es dann nicht einen Fehler geben?
if circulation != 0:
if circulation < 0:
status = 1