aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/main/webapp/app
diff options
context:
space:
mode:
authorBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2019-07-11 11:03:45 +0200
committerBartosz Gardziejewski <bartosz.gardziejewski@nokia.com>2019-07-11 11:07:34 +0200
commit5468b405aa1a37d1f2095ad68073fb370a5a8112 (patch)
treea762fb60570eb2b26d676f8a29d1190e8fac9e44 /vid-app-common/src/main/webapp/app
parentb7719bae06f969d1293fad1a16c180afd7ded761 (diff)
Moving report button up, and setting feature flag on
Change-Id: I3df31fe42c2b7e0bec3b52f2886726419a22f681 Issue-ID: VID-488 Signed-off-by: Bartosz Gardziejewski <bartosz.gardziejewski@nokia.com>
Diffstat (limited to 'vid-app-common/src/main/webapp/app')
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/view-models/creationDialog.htm6
-rwxr-xr-xvid-app-common/src/main/webapp/app/vid/scripts/view-models/msoCommit.htm6
2 files changed, 6 insertions, 6 deletions
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/creationDialog.htm b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/creationDialog.htm
index 49d3ef868..42fe083ab 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/creationDialog.htm
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/creationDialog.htm
@@ -9,7 +9,9 @@
</div>
<div class="error" ng-show="isErrorVisible">
- <img src="app/vid/images/error.png"></img>{{error}}
+ <button class="btn-danger" att-button size="small" ng-click="showReportWindow()">Create report</button>
+ <img src="app/vid/images/error.png"></img>
+ {{error}} <br>
</div>
<div ngx-visible="{{isDataVisible}}">
@@ -36,8 +38,6 @@
ng-click="confirm();">Confirm</button>
<button type="button" data-tests-id="cancelButton" ng-click="cancel();" att-button
btn-type="primary" size="small">Cancel</button>
- <button class="btn-danger" ng-if="isShowErrorReport() && isServiceError" att-button size="small"
- ng-click="showReportWindow()">Create report</button>
</div>
</div>
</div>
diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/msoCommit.htm b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/msoCommit.htm
index 10179243e..7cd0ab3b2 100755
--- a/vid-app-common/src/main/webapp/app/vid/scripts/view-models/msoCommit.htm
+++ b/vid-app-common/src/main/webapp/app/vid/scripts/view-models/msoCommit.htm
@@ -33,7 +33,9 @@
ngx-show="{{isProgressVisible}}"></div>
<div class="error" ng-show="!isProgressVisible">
- <img src="app/vid/images/error.png"></img>{{error}}
+ <button class="btn-danger" att-button size="small" ng-click="showReportWindow()">Create report</button>
+ <img src="app/vid/images/error.png"></img>
+ {{error}}
</div>
</div>
@@ -43,8 +45,6 @@
<div class="buttonRow">
<button data-tests-id="msoCommitDialogCloseButton" ngx-enabled="{{isCloseEnabled}}" att-button size="small"
ng-click="close();">Close</button>
- <button class="btn-danger" att-button size="small" ng-show="!isProgressVisible"
- ng-click="showReportWindow()">Create report</button>
</div>
</div>
</div> \ No newline at end of file