Commit ffe27bdb authored by Thomas Löffler's avatar Thomas Löffler

Adds extension key in confirmation

parent bb913c2e
Pipeline #2360 passed with stages
in 1 minute and 28 seconds
......@@ -88,13 +88,13 @@
<td class="text-right">
<f:if condition="{extension.versionCount} < 1">
<f:then>
<f:link.action class="btn btn-danger" onclick="if (confirm('Really release?')) return true; else return false;" action="delete" controller="Registerkey" arguments="{extension: extension}">
<f:link.action class="btn btn-danger" onclick="if (confirm('Really delete key \"{extension.extKey}\"?')) return true; else return false;" action="delete" controller="Registerkey" arguments="{extension: extension}">
<i class="fa fa-trash-o"></i>
Delete
</f:link.action>
</f:then>
<f:else>
<f:link.action class="btn btn-secondary" onclick="if (confirm('Really abandon?')) return true; else return false;" action="transfer" controller="Registerkey" arguments="{extension: extension, newUser: 'abandoned_extensions'}">
<f:link.action class="btn btn-secondary" onclick="if (confirm('Really abandon key \"{extension.extKey}\"?')) return true; else return false;" action="transfer" controller="Registerkey" arguments="{extension: extension, newUser: 'abandoned_extensions'}">
<i class="fa fa-trash-o"></i>
Abandon
</f:link.action>
......
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