app/views/swat/pages/revisions/summary.slim in sw2at-ui-0.0.10 vs app/views/swat/pages/revisions/summary.slim in sw2at-ui-0.0.11
- old
+ new
@@ -1,15 +1,15 @@
#revision-info
h1.revision
- span.revision-name
- | {{ revision.data.name || revision.data.time }}
+ revision-name revision="revision" ng-if="(revisionPromise && revisionPromise.$resolved)"
+
span.revision-status ng-class="revision.data.status.name"
| {{ ' '+revision.data.status.label }}
span.loader ng-class="{ true: 'invisible' }[(revisionPromise && revisionPromise.$resolved)]"
.controls
button.btn.revisions ui-sref="revisions" title="See all revisions list"
| Go to Revisions
- button.btn.revisions ui-sref="revision(revision.data)" title="See this revision tests"
+ button.btn.revisions ui-sref="revision(revision.data)" title="See this revision tests" ng-disabled="!revision"
| Tests
button.btn.reload ng-click="reloadData()" title="Refresh this revision"
| Refresh
div