Commit 2b4cae9d authored by Romain Courteaud's avatar Romain Courteaud

slapos_jio: do not display links without href

parent c588db14
...@@ -317,13 +317,15 @@ ...@@ -317,13 +317,15 @@
{ {
"class": "ui-bar ui-corner-all first-child " + status_class "class": "ui-bar ui-corner-all first-child " + status_class
}, [ }, [
domsugar("a", main_link_configuration_dict) domsugar(main_link_configuration_dict.href ? "a" : "span",
main_link_configuration_dict)
]); ]);
domsugar(sub_status_div.querySelector('div'), domsugar(sub_status_div.querySelector('div'),
{ {
"class": "ui-bar ui-corner-all last-child " + right_class "class": "ui-bar ui-corner-all last-child " + right_class
}, [ }, [
domsugar("a", sub_link_configuration_dict) domsugar(sub_link_configuration_dict.href ? "a" : "span",
sub_link_configuration_dict)
]); ]);
if (right_class === 'ui-btn-hide') { if (right_class === 'ui-btn-hide') {
// expand main button to use the space // expand main button to use the space
......
...@@ -278,7 +278,7 @@ ...@@ -278,7 +278,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1010.24757.4921.60774</string> </value> <value> <string>1010.24757.23775.49783</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -298,7 +298,7 @@ ...@@ -298,7 +298,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1691747841.61</float> <float>1691747920.75</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment