Skip to content
Snippets Groups Projects
Commit ee2bf7f3 authored by Nico Vermaas's avatar Nico Vermaas
Browse files

bonus link in dashboard

parent de6a45a0
No related branches found
No related tags found
3 merge requests!74Acceptance,!73Master,!62bonus link in dashboard
......@@ -202,7 +202,7 @@ def construct_link(request, status, workflow_id, count):
link = str(count)
try:
query = "?status=" + status + "&workflow=" + str(workflow_id)
url = request.build_absolute_uri('/atdb/tasks') + query
url = "https://" +request.build_absolute_uri('/atdb/tasks') + query
if not "http" in url:
url = "https://" + url
link = '<a href="' + url + '" target="_blank">' + str(count) + "</a>"
......
......@@ -27,7 +27,7 @@ class TaskTable(tables.Table):
status = StatusColumn()
creationtime = tables.Column(verbose_name='CreationTime')
buttons = tables.TemplateColumn(verbose_name='Actions',
buttons = tables.TemplateColumn(verbose_name='Set Status',
template_name='query/status_buttons_per_row.html',
orderable=False) # orderable not sortable
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment