Update license in non-Java files.
[portal.git] / ecomp-portal-FE-common / client / app / views / user-notifications-admin / user.notifications.Json.details.modal.page.html
index 2c22751..4374e0d 100644 (file)
@@ -1,48 +1,92 @@
-<!--\r
-  ================================================================================\r
-  ECOMP Portal\r
-  ================================================================================\r
-  Copyright (C) 2017 AT&T Intellectual Property\r
-  ================================================================================\r
-  Licensed under the Apache License, Version 2.0 (the "License");\r
-  you may not use this file except in compliance with the License.\r
-  You may obtain a copy of the License at\r
-  \r
-       http://www.apache.org/licenses/LICENSE-2.0\r
-  \r
-  Unless required by applicable law or agreed to in writing, software\r
-  distributed under the License is distributed on an "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-  See the License for the specific language governing permissions and\r
-  limitations under the License.\r
-  ================================================================================\r
-  -->\r
-<div class="w-ecomp-user-json-notification-details-admin"\r
-       ng-style="{bottom: tabBottom}">\r
-        <div class="w-ecomp-main-container" >\r
-       <div class="user-notification" >\r
-               <div id="'widgets-details-title" class="w-ecomp-main-json-view-title"> Message Notification Details </div>\r
-       \r
-       \r
-<div class="notifications-properties-main">\r
-               \r
-               <div ng-bind-html="messageData"></div>\r
-               </div>\r
-               \r
-            <div class="dialog-control-close">\r
-               \r
-                <button id="div-cancel-button" class="btn btn-alt btn-small" ng-click="closeThisDialog()">Close</button>\r
-            </div>\r
-               \r
-                       </div>\r
-\r
-</div>\r
-</div>\r
-\r
-<script type="application/javascript">\r
-    $(document).ready(function(){\r
-        $(".ngdialog-content").css("width","40%")\r
-        $(".ngdialog-content").css("height","450px")\r
-\r
-    });\r
-</script>\r
+<!--
+  ============LICENSE_START==========================================
+  ONAP Portal
+  ===================================================================
+  Copyright © 2017 AT&T Intellectual Property. All rights reserved.
+  ===================================================================
+  Unless otherwise specified, all software contained herein is licensed
+  under the Apache License, Version 2.0 (the “License”);
+  you may not use this software except in compliance with the License.
+  You may obtain a copy of the License at
+              http://www.apache.org/licenses/LICENSE-2.0
+  Unless required by applicable law or agreed to in writing, software
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  Unless otherwise specified, all documentation contained herein is licensed
+  under the Creative Commons License, Attribution 4.0 Intl. (the “License”);
+  you may not use this documentation except in compliance with the License.
+  You may obtain a copy of the License at
+              https://creativecommons.org/licenses/by/4.0/
+  Unless required by applicable law or agreed to in writing, documentation
+  distributed under the License is distributed on an "AS IS" BASIS,
+  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+  See the License for the specific language governing permissions and
+  limitations under the License.
+  ============LICENSE_END============================================
+  ECOMP is a trademark and service mark of AT&T Intellectual Property.
+  -->
+
+<div class="b2b-modal-header">
+                       <h2 class="w-ecomp-main-json-view-title" id="notification-details-title">Message Notification Details</h2>
+
+                       <div class="corner-button in">
+                               <button type="button" class="close" aria-label="Close" id="user-notification-button-cancel"
+                                       ng-click="$dismiss('cancel')"></button>
+                       </div>
+               </div>
+
+               <div class="b2b-modal-body">
+               <div class="notifications-properties-main">
+
+                               <div>
+
+                                       <p>Message Source :{{selectedAdminNotification.msgSource}}</p>
+                                       <p>Message Title :{{selectedAdminNotification.msgHeader}}</p>
+                                       <p>Message Recipient :{{messageRecipients}}</p>
+                                       Notification Hyperlink :<a
+                                               ng-click="notifiHyperlink('{{selectedAdminNotification.notificationHyperlink}}')">{{selectedAdminNotification.notificationHyperlink}}</a>
+
+                                       <div ng-repeat="(key, data) in messageObject">
+
+                                               <div ng-switch on="key">
+                                                       <div ng-switch-when="ticketNum">
+                                                               {{key}} : <a
+                                                                       ng-click="notifiHyperlink('{{selectedAdminNotification.notificationHyperlink}}')">{{data}}
+                                                               </a>
+                                                       </div>
+                                                       <div ng-switch-when="eventDate">
+                                                               <p>{{key}} : {{data | date:'yyyy-MM-dd HH:mm:ss Z'}}</p>
+                                                       </div>
+                                                       <div ng-switch-when="lastModifiedDate">
+                                                               <p>{{key}} : {{data | date:'yyyy-MM-dd HH:mm:ss Z'}}</p>
+                                                       </div>
+                                                       <div ng-switch-default>
+                                                               <p>{{key}} :{{data}}</p>
+                                                       </div>
+                                               </div>
+                                       </div>
+
+
+                               </div>
+                       </div>
+                       </div>
+                       <br>
+                       <div class="b2b-modal-footer">
+                               <div class="dialog-control">
+                               <button id="div-cancel-button" class="btn btn-alt btn-small" ng-click="$dismiss('cancel')"role="button" tabindex="0">Close</button>
+                                               
+                                       </div>
+                       </div>
+                       
+                       
+