Skip to content
Snippets Groups Projects
Verified Commit 63d2c9cb authored by Pinguin's avatar Pinguin :penguin: Committed by Jonathan Weth
Browse files

Add a auto-remove for the button if no link exsists

parent bf06fff3
No related branches found
No related tags found
3 merge requests!1237Release 3.0,!1233Resolve "Links in object column of data check table is broken",!1183Release 3.0
......@@ -60,9 +60,11 @@
<td>{{ result.related_object }}</td>
<td>{{ result.related_check.problem_name }}</td>
<td>
{% if result.related_object.get_absolute_url %}
<a class="btn-flat waves-effect waves-light" href="{{ result.related_object.get_absolute_url|remove_prefix:"/django/" }}" target="_blank">
{% trans "Show object" %}
</a>
{% endif %}
</td>
<td>
{% for option_name, option in result.related_check.solve_options.items %}
......
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