diff --git a/devapp/templates/devapp/dev.html b/devapp/templates/devapp/dev.html index d1efa1b..3910334 100644 --- a/devapp/templates/devapp/dev.html +++ b/devapp/templates/devapp/dev.html @@ -60,9 +60,15 @@ - - {% trans 'Delete' %} - + {% if perms.devapp.delete_device %} + + {% trans 'Delete' %} + + {% else %} + + {% trans 'Delete' %} + + {% endif %}