[
https://issues.apache.org/jira/browse/CLOUDSTACK-8961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981113#comment-14981113
]
ASF GitHub Bot commented on CLOUDSTACK-8961:
--------------------------------------------
Github user milamberspace commented on a diff in the pull request:
https://github.com/apache/cloudstack/pull/941#discussion_r43433516
--- Diff: ui/scripts/network.js ---
@@ -6504,7 +6432,123 @@
}
}
}
- }
+ },
+ vpnuser: {
+ type: 'select',
+ title: 'VPN Users',
+
+ listView: {
+ id: 'vpnUsers',
+ fields: {
+ username: { label: 'label.name' },
+ domain: { label: 'label.domain' },
+ state: { label: 'label.state',
+ indicator: {
+ 'Active': 'on',
+ }
+ }
+ },
+ dataProvider: function(args) {
+ var data = {};
+ listViewDataProvider(args, data);
+ $.ajax({
+ url: createURL('listVpnUsers'),
+ data: data,
+ dataType: 'json',
+ async: true,
+ success: function(data) {
+ args.response.success({
+ data:
data.listvpnusersresponse.vpnuser
+ });
+ }
+ });
+ },
+ actions:{
+ destroy: {
+ label: 'label.action.delete.user',
+ messages: {
+ confirm: function(args) { return 'Are
you sure you want to delete the VPN user'},
--- End diff --
Would be better to use a new localization key and put the text in
messages.properties file. Thanks.
> Making the VPN user management more intutive
> --------------------------------------------
>
> Key: CLOUDSTACK-8961
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8961
> Project: CloudStack
> Issue Type: Improvement
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Reporter: Kshitij Kansal
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)