Commit 2de59208 authored by Alain Takoudjou's avatar Alain Takoudjou

slapos_web: fix for rename destroy hosting_subscription ui

parent e6c1235f
......@@ -66,6 +66,11 @@ $(document).ready(function(){\n
return false;\n
}\n
});\n
$("#alert_destroy_hs").click(function(){\n
$("#destroy_hs").attr("rel", "");\n
$("#destroy_hs").val("Destroy");\n
$(this).fadeOut(500);\n
});\n
});\n
</script>\n
"""\n
......
......@@ -118,7 +118,7 @@
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Name</string> </value>
<value> <string>Short title</string> </value>
</item>
</dictionary>
</value>
......
......@@ -107,6 +107,7 @@
<string>my_title</string>
<string>your_ad</string>
<string>my_url_string</string>
<string>my_short_title</string>
<string>my_source_reference</string>
<string>your_status</string>
<string>info</string>
......@@ -115,8 +116,8 @@
<string>my_update_button</string>
<string>my_start_button</string>
<string>my_stop_button</string>
<string>my_rename_button</string>
<string>my_restricted_access_token_generate_button</string>
<string>my_rename_button</string>
<string>your_connection_listbox</string>
<string>your_monitoring_status</string>
<string>your_destroy_hosting</string>
......
......@@ -193,7 +193,7 @@
</item>
<item>
<key> <string>default</string> </key>
<value> <string>Your hosting subscription will be destroyed, this action cannot be cancelled. Do you want to continue ?</string> </value>
<value> <string>Your hosting subscription will be destroyed, this action cannot be cancelled. Do you want to continue ? Click here to cancel.</string> </value>
</item>
<item>
<key> <string>description</string> </key>
......@@ -221,7 +221,7 @@
</item>
<item>
<key> <string>extra</string> </key>
<value> <string>id=\'alert_destroy_hs\' style=\'background-color: #FFC7C2; padding: 7px 10px; color: #BA1000; border: 1px solid #D54C38; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); line-height: 20px; width: 80%; display: none;\'</string> </value>
<value> <string>id=\'alert_destroy_hs\' style=\'background-color: #FFC7C2; padding: 7px 10px; color: #BA1000; border: 1px solid #D54C38; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); line-height: 20px; width: 80%; display: none; cursor: pointer;\'</string> </value>
</item>
<item>
<key> <string>hidden</string> </key>
......
......@@ -64,10 +64,6 @@
<key> <string>default</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>enabled</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>field_id</string> </key>
<value> <string></string> </value>
......
......@@ -109,7 +109,7 @@
<key> <string>_text</string> </key>
<value> <string encoding="cdata"><![CDATA[
python:"<h1>Partitions installed for: %s</h1>" % (context.getTranslatedShortTitle() or context.getTranslatedTitle())
python:"<h1>Partitions installed for: %s</h1>" % context.getTranslatedTitle()
]]></string> </value>
</item>
......
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