basic import management page

This commit is contained in:
vabene1111
2018-03-30 23:56:49 +02:00
parent e09b4d3074
commit b7fb7e8e9b
9 changed files with 67 additions and 20 deletions

View File

@@ -39,9 +39,18 @@ class KeywordTable(tables.Table):
class MonitoredPathTable(tables.Table):
edit = tables.TemplateColumn("<a href='{% url 'delete_monitor' record.id %}' >" + _('Delete') + "</a>")
delete = tables.TemplateColumn("<a href='{% url 'delete_monitor' record.id %}' >" + _('Delete') + "</a>")
class Meta:
model = Keyword
template_name = 'generic/table_template.html'
fields = ('path', 'last_checked')
class NewRecipeTable(tables.Table):
delete = tables.TemplateColumn("<a href='{% url 'delete_new_recipe' record.id %}' >" + _('Delete') + "</a>")
class Meta:
model = Keyword
template_name = 'generic/table_template.html'
fields = ('name','path')