Adapting GUI for error report managing
[vid.git] / vid-app-common / src / main / webapp / app / vid / scripts / view-models / aaiServiceTypes.htm
index cc69fb5..68aaec5 100755 (executable)
                        <img src="app/vid/images/spinner.gif"></img>\r
                        <label>Status:</label><span class="status">{{status}}</span>\r
                </div>\r
-               <div ng-if="errorMsg != null"><font color='red'>{{errorMsg}}<pre>{{errorDetails | json}}</pre></font></div>\r
+               <div ng-if="errorMsg != null">\r
+                       <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></font>\r
+               </div>\r
                <h2 class="heading2"><center>Create New Service Instance</center></h2>\r
                \r
                <table class="create-instance-service ">\r