You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2019/07/08 10:23:10 UTC

[GitHub] [cloudstack] Spaceman1984 commented on a change in pull request #3475: Allowing template owner to download template

Spaceman1984 commented on a change in pull request #3475: Allowing template owner to download template
URL: https://github.com/apache/cloudstack/pull/3475#discussion_r301022540
 
 

 ##########
 File path: ui/scripts/templates.js
 ##########
 @@ -1378,12 +1378,7 @@
                                     isextractable: {
                                         label: 'label.extractable.lower',
                                         isBoolean: true,
-                                        isEditable: function() {
-                                            if (isAdmin())
-                                                return true;
-                                            else
-                                                return false;
-                                        },
+                                        isEditable: true,
 
 Review comment:
   The edit button is not shown for public templates when logged in with a different account, so the extractable checkbox is not displayed.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services