Adapting GUI for error report managing
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / view-models / aaiGetSubs.htm
index 233bab1..ba9960f 100755 (executable)
@@ -2,7 +2,7 @@
   ============LICENSE_START=======================================================\r
   VID\r
   ================================================================================\r
-  Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.\r
+  Copyright (C) 2017 - 2019 AT&T Intellectual Property. All rights reserved.\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
@@ -29,7 +29,8 @@
             <label>Status:</label><span class="status">{{status}}</span>\r
         </div>\r
 \r
-        <div ng-if="errorMsg != null"><font color='red'>{{errorMsg}}\r
+        <div ng-if="errorMsg != null"><font color='red'>{{errorMsg}}<br/>\r
+            <button class="btn btn-danger" ng-click="showReportWindow()" ng-if="isShowErrorReport()">create report</button>\r
             <pre>{{errorDetails | json}}</pre>\r
         </font></div>\r
 \r
@@ -68,7 +69,8 @@
                 <td style="width:30%">\r
                     <div class="fn-ebz-container">\r
                         <select style="width: 250px;" ng-model="selectedserviceinstancetype"\r
-                                ng-options="stype.sinstance as stype.sinstance for stype in serviceInstanceses">\r
+                                ng-options="stype.sinstance as stype.sinstance for stype in serviceInstanceses"\r
+                                data-tests-id="selectedServiceInstanceType">\r
                             <option value="">Select a Service Instance</option>\r
                         </select>\r
                     </div>\r