Merge branch 'master' of atrey:/akce/MaM/MaMweb/mamweb
* 'master' of atrey:/akce/MaM/MaMweb/mamweb: Oprava popisku v autocomplete Oprava predchozi
This commit is contained in:
commit
ef9c7aa497
2 changed files with 2 additions and 2 deletions
|
@ -83,7 +83,7 @@ class ProblemAutocomplete(autocomplete_light.AutocompleteModelBase):
|
||||||
|
|
||||||
attrs={
|
attrs={
|
||||||
# This will set the input placeholder attribute:
|
# This will set the input placeholder attribute:
|
||||||
'placeholder': u'Řešitel',
|
'placeholder': u'Problém',
|
||||||
# This will set the yourlabs.Autocomplete.minimumCharacters
|
# This will set the yourlabs.Autocomplete.minimumCharacters
|
||||||
# options, the naming conversion is handled by jQuery
|
# options, the naming conversion is handled by jQuery
|
||||||
'data-autocomplete-minimum-characters': 1,
|
'data-autocomplete-minimum-characters': 1,
|
||||||
|
|
|
@ -290,7 +290,7 @@ class Cislo(SeminarModelBase):
|
||||||
|
|
||||||
def predchozi(self):
|
def predchozi(self):
|
||||||
u"Vrací None, pokud je toto první"
|
u"Vrací None, pokud je toto první"
|
||||||
return self.relativni_v_rocniku(1)
|
return self.relativni_v_rocniku(-1)
|
||||||
|
|
||||||
def relativni_v_rocniku(self, rel_index):
|
def relativni_v_rocniku(self, rel_index):
|
||||||
u"Číslo o `index` dále v ročníku. None pokud neexistuje."
|
u"Číslo o `index` dále v ročníku. None pokud neexistuje."
|
||||||
|
|
Loading…
Reference in a new issue