fixup! Galerie: Obrázek přejmenován na Soubor
This commit is contained in:
parent
3e18f51550
commit
d45b970f77
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ class DummyBazmek(ZobrazitelnyBazmek):
|
|||
attrs = _fmt_attrs(kwargs)
|
||||
# Stavíme HTML ad-hoc, co se může rozbít :'-)
|
||||
obrazek = format_html(r'<img src="{}"/>', self.placeholder, attrs)
|
||||
popisek = format_html(r'<p style="text-align: center; font-size: 1.1em;">Prosím oprav typ aktuálního obrázku v <a href="{}">adminu</a>!</p>', reverse('admin:galerie_obrazek_change', args=(self.db_objekt.id,)))
|
||||
popisek = format_html(r'<p style="text-align: center; font-size: 1.1em;">Prosím oprav typ aktuálního obrázku v <a href="{}">adminu</a>!</p>', reverse('admin:galerie_soubor_change', args=(self.db_objekt.id,)))
|
||||
return format_html(r'<div {}>{}{}</div>', attrs, obrazek, popisek)
|
||||
def zmenseny_nahled(self, **kwargs):
|
||||
attrs = _fmt_attrs(kwargs)
|
||||
|
|
|
|||
Loading…
Reference in a new issue