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 5e5c55d..4374e0d 100644 (file)
@@ -1,48 +1,92 @@
 <!--
-  ================================================================================
-  ECOMP Portal
-  ================================================================================
-  Copyright (C) 2017 AT&T Intellectual Property
-  ================================================================================
-  Licensed under the Apache License, Version 2.0 (the "License");
-  you may not use this file except in compliance with the License.
+  ============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
-  
+              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="w-ecomp-user-json-notification-details-admin"
-       ng-style="{bottom: tabBottom}">
-        <div class="w-ecomp-main-container" >
-       <div class="user-notification" >
-               <div id="'widgets-details-title" class="w-ecomp-main-json-view-title"> Message Notification Details </div>
-       
-       
-<div class="notifications-properties-main">
-               
-               <div ng-bind-html="messageData"></div>
-               </div>
-               
-            <div class="dialog-control-close">
-               
-                <button id="div-cancel-button" class="btn btn-alt btn-small" ng-click="closeThisDialog()">Close</button>
-            </div>
-               
+
+<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>
-</div>
+                                       <div ng-repeat="(key, data) in messageObject">
 
-<script type="application/javascript">
-    $(document).ready(function(){
-        $(".ngdialog-content").css("width","40%")
-        $(".ngdialog-content").css("height","450px")
+                                               <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>
 
-    });
-</script>
+
+                               </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>
+                       
+                       
+