Univention Bugzilla – Attachment 6763 Details for
Bug 37941
External DNS name should be displayed when using EC2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
display public dns_name
bug_37941_display_public_dns_name.patch (text/plain), 1.12 KB, created by
Andreas Peichert
on 2015-03-16 13:28:59 CET
(
hide
)
Description:
display public dns_name
Filename:
MIME Type:
Creator:
Andreas Peichert
Created:
2015-03-16 13:28:59 CET
Size:
1.12 KB
patch
obsolete
>Index: univention-virtual-machine-manager-daemon/umc/js/uvmm/InstancePage.js >=================================================================== >--- univention-virtual-machine-manager-daemon/umc/js/uvmm/InstancePage.js (Revision 59052) >+++ univention-virtual-machine-manager-daemon/umc/js/uvmm/InstancePage.js (Arbeitskopie) >@@ -190,12 +190,20 @@ > }); > this._instance.public_ips = newArr; > >+ // display public dns_name >+ if (this._instance.extra.dns_name) { >+ this._instance.public_ips = this._instance.extra.dns_name; >+ } >+ > // set values to form > this._generalForm.setFormValues(this._instance); > > // append public/private https link >- if (this._instance.public_ips[0]) { >+ if (this._instance.extra.dns_name) { > widget = this._generalForm.getWidget('public_ips'); >+ this._appendLinkToLabel(widget, 'https://' + this._instance.public_ips); >+ } else if (this._instance.public_ips[0]) { >+ widget = this._generalForm.getWidget('public_ips'); > this._appendLinkToLabel(widget, 'https://' + this._instance.public_ips[0]); > } > if (this._instance.private_ips[0]) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 37941
: 6763