[FIX] hw_posbox_homepage: Remove link in iot homepage

Actually if a server is not configured we can click on it and
we are redirect to not reachable page

With this commit it is not possible to click if server is not configured

closes odoo/odoo#162372

Signed-off-by: Yaroslav Soroko (yaso) <yaso@odoo.com>
This commit is contained in:
lejeune quentin
2024-04-18 16:38:24 +00:00
parent 4775ed2f15
commit d17b6e8b48
@@ -192,7 +192,7 @@
</tr>
<tr>
<td class="heading">Server</td>
<td><a href='{{ server_status }}' target=_blank>{{ server_status }}<a class="btn btn-sm float-end" href='/server'>configure</a></td>
<td>{% if server_status != "Not Configured" %}<a href='{{ server_status }}' target=_blank>{% endif %}{{ server_status }}<a class="btn btn-sm float-end" href='/server'>configure</a></td>
</tr>
{% if server_status != "Not Configured" %}
<tr class="{{ 'warn-tr' if not is_certificate_ok }}">