Handling exit status different from 0
diff --git a/views/ngXosViews/truckroll/src/templates/truckroll.tpl.html b/views/ngXosViews/truckroll/src/templates/truckroll.tpl.html
index 3454107..9bbdb4c 100644
--- a/views/ngXosViews/truckroll/src/templates/truckroll.tpl.html
+++ b/views/ngXosViews/truckroll/src/templates/truckroll.tpl.html
@@ -73,14 +73,24 @@
<div class="loader"></div>
</div>
</div>
- <div class="row" ng-hide="!vm.truckroll.result">
- <div class="col-xs-12">
- <label>
- Result:
- </label>
+ <section ng-hide="!vm.truckroll.is_synced">
+ <div class="row" style="margin-top: 20px">
+ <div class="col-xs-12" ng-hide="!vm.truckroll.result_code">
+ <label>Result Code</label>
+ </div>
+ <div class="col-xs-12">
+ <pre>{{vm.truckroll.result_code}}</pre>
+ </div>
</div>
- <div class="col-xs-12">
- <pre>{{vm.truckroll.result}}</pre>
+ <div class="row">
+ <div class="col-xs-12">
+ <label>
+ Result:
+ </label>
+ </div>
+ <div class="col-xs-12" ng-hide="!vm.truckroll.result">
+ <pre>{{vm.truckroll.result}}</pre>
+ </div>
</div>
- </div>
+ </section>
</form>
\ No newline at end of file