summaryrefslogtreecommitdiffstats
path: root/modules-available/serversetup-bwlp/templates/bootentry-list.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/serversetup-bwlp/templates/bootentry-list.html')
-rw-r--r--modules-available/serversetup-bwlp/templates/bootentry-list.html16
1 files changed, 9 insertions, 7 deletions
diff --git a/modules-available/serversetup-bwlp/templates/bootentry-list.html b/modules-available/serversetup-bwlp/templates/bootentry-list.html
index f9e881b2..929b8c47 100644
--- a/modules-available/serversetup-bwlp/templates/bootentry-list.html
+++ b/modules-available/serversetup-bwlp/templates/bootentry-list.html
@@ -24,21 +24,23 @@
{{/allowEdit}}
</td>
<td align="center">
- {{#allowDelete}}
- <button type="button" class="btn btn-xs btn-danger" data-toggle="modal" data-target="#deleteModal" onclick="deleteBootentry('{{entryid}}')">
+ {{#allowEdit}}
+ <button type="button" class="btn btn-xs btn-danger" data-toggle="modal" data-target="#deleteModal" onclick="deleteBootentry('{{entryid}}', '{{builtin}}')">
<span class="glyphicon glyphicon-trash"></span>
</button>
- {{/allowDelete}}
+ {{/allowEdit}}
</td>
</tr>
{{/bootentryTable}}
</tbody>
</table>
<div class="pull-right">
- <a href="?do=serversetup&amp;show=editbootentry" class="btn btn-success {{allowAdd}}">
- <span class="glyphicon glyphicon-plus"></span>
- {{lang_addBootentry}}
- </a>
+ {{#allowEdit}}
+ <a href="?do=serversetup&amp;show=editbootentry" class="btn btn-success">
+ <span class="glyphicon glyphicon-plus"></span>
+ {{lang_addBootentry}}
+ </a>
+ {{/allowEdit}}
</div>
<!-- Modals -->