Fix formatting of links in Amount.format_accounting
This commit is contained in:
parent
641fb054e1
commit
ff0a18f83b
@ -136,7 +136,7 @@ class Amount:
|
|||||||
if link is None:
|
if link is None:
|
||||||
return Markup(text + space)
|
return Markup(text + space)
|
||||||
else:
|
else:
|
||||||
return Markup('<a href="{}">{}</a>{}'.format(link, text, space))
|
return Markup('<a href="{}" class="hover:text-blue-700 hover:underline">{}</a>{}'.format(link, text, space))
|
||||||
|
|
||||||
def quantity_string(self):
|
def quantity_string(self):
|
||||||
if self.commodity == '$':
|
if self.commodity == '$':
|
||||||
|
Loading…
Reference in New Issue
Block a user