Skip to content
Snippets Groups Projects

bonus link in dashboard

Merged Nico Vermaas requested to merge dev-nico into master
2 files
+ 2
2
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -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>"
Loading