recipe rating

This commit is contained in:
vabene1111
2020-05-02 17:31:35 +02:00
parent 4c08ade3ee
commit 6a963c26b2
9 changed files with 143 additions and 82 deletions

View File

@ -26,7 +26,7 @@ class RecipeTableSmall(tables.Table):
class RecipeTable(tables.Table):
edit = tables.TemplateColumn("<a href='{% url 'edit_recipe' record.id %}' >" + _('Edit') + "</a>")
edit = tables.TemplateColumn("<a style='color: inherit' href='{% url 'edit_recipe' record.id %}' >" + _('Edit') + "</a>")
name = tables.LinkColumn('view_recipe', args=[A('id')])
all_tags = tables.Column(
attrs={'td': {'class': 'd-none d-lg-table-cell'}, 'th': {'class': 'd-none d-lg-table-cell'}})