2015-02-07 19:49:04 +01:00
|
|
|
nav(ng-include='"components/navbar/navbar.html"')
|
|
|
|
|
2015-02-09 02:42:31 +01:00
|
|
|
nav(ng-include='"components/elements/header.html"')
|
2015-02-07 19:49:04 +01:00
|
|
|
|
|
|
|
.container
|
|
|
|
.row
|
2015-02-09 02:42:31 +01:00
|
|
|
//span(ng-show='isCurrent()')
|
2015-02-07 19:49:04 +01:00
|
|
|
| Current revision
|
2015-02-10 02:19:47 +01:00
|
|
|
form.form-inline.controls.well
|
|
|
|
|
2015-02-10 02:47:35 +01:00
|
|
|
//a.btn.btn-primary(ng-hide='App.isFirst(revision.document, revision)' href='/{{revision.document._id}}/revision/{{App.previousRevision(revision.document, revision)._id}}')
|
2015-02-10 02:19:47 +01:00
|
|
|
| View Previous
|
|
|
|
//a.btn.btn-primary(ng-hide='App.isFirst()' href='/wdiff/{{App.previousRevision(revision.document, revision)._id}}/{{revision._id}}')
|
|
|
|
| Wdiff from Previous
|
|
|
|
//a.btn.btn-primary(ng-hide='App.isCurrent()' href='/wdiff/{{revision._id}}/{{App.nextRevision(revision.document, revision)._id}}')
|
|
|
|
| Wdiff to Next
|
2015-02-10 02:47:35 +01:00
|
|
|
//a.btn.btn-primary(ng-hide='App.isCurrent(revision.document, revision)' href='/{{revision.document._id}}/revision/{{App.nextRevision(revision.document, revision)._id}}')
|
2015-02-10 02:19:47 +01:00
|
|
|
| View Next
|
2015-02-10 02:47:35 +01:00
|
|
|
a.btn.btn-primary.pull-right(ng-hide='App.isCurrent(revision.document, revision)' href='/wdiff/{{revision._id}}/{{revision.document.currentRevision}}')
|
2015-02-10 02:19:47 +01:00
|
|
|
| Wdiff to Current
|
2015-02-07 19:49:04 +01:00
|
|
|
|
|
|
|
.row
|
2015-02-09 02:42:31 +01:00
|
|
|
.col-lg-6.col-md-9
|
2015-02-07 19:49:04 +01:00
|
|
|
div
|
|
|
|
p
|
|
|
|
| State:
|
2015-02-09 02:42:31 +01:00
|
|
|
{{revision.state}}
|
2015-02-07 19:49:04 +01:00
|
|
|
div(btf-markdown='revision.content')
|
2015-02-09 02:42:31 +01:00
|
|
|
//pre
|
2015-02-07 19:49:04 +01:00
|
|
|
{{json(revision)}}
|
|
|
|
|
|
|
|
|
|
|
|
footer(ng-include='"components/elements/footer.html"')
|