Hardcoded URLs in displaynameview.html

Issue #729 resolved
Luuk created an issue

line 199-202:

  <li><a href="/admin/review/failed/CT/">CT</a></li>
  <li><a href="/admin/review/failed/MG/">Mammography</a></li>
  <li><a href="/admin/review/failed/DX/">Radiography</a></li>
  <li><a href="/admin/review/failed/RF/">Fluoro</a></li>

Should be:

  <li><a href="{% url 'review_failed_imports' CT %}">CT</a></li>
  <li><a href="{% url 'review_failed_imports' MG %}">Mammography</a></li>
  <li><a href="{% url 'review_failed_imports' DX %}">Radiography</a></li>
  <li><a href="{% url 'review_failed_imports' RF %}">Fluoro</a></li>

Also in review_failed_imports.html, line 125:

                          url: "/admin/review/failed/study",

Should be:

                          url: "{% url 'review_failed_study_details' %}",

Comments (4)

  1. Luuk reporter

    And also line 34 (url: "/admin/review/studiesdeletefailed",) should be: url: "{% url 'review_failed_studies_delete' %}",

  2. Log in to comment