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

Adds a button to abandon extensions

parent 49618961
Pipeline #2337 passed with stages
in 1 minute and 27 seconds
......@@ -87,10 +87,18 @@
</td>
<td class="text-right">
<f:if condition="{extension.versionCount} < 1">
<f:link.action class="btn btn-danger" onclick="if (confirm('Really release?')) 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:link.action class="btn btn-danger" onclick="if (confirm('Really release?')) 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'}">
<i class="fa fa-trash-o"></i>
Abandon
</f:link.action>
</f:else>
</f:if>
<f:link.action class="btn btn-info" action="edit" controller="Extension" arguments="{extension: extension}">
<i class="fa fa-pencil"></i>
......
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