[update] Show difference between versions + [update] button

This commit is contained in:
brunosimon
2016-08-15 23:28:15 +02:00
parent 2a54fe708d
commit 5ac57d4c4f
10 changed files with 103 additions and 3 deletions
+6
View File
@@ -25,6 +25,8 @@ section.page-project(ng-controller="ProjectController as controller",ng-init="in
div.always-last-version-toggle(ng-click="always_last_version_toggle_click()",ng-class="always_last_version ? 'active' : 'inactive'")
.switch
| always last version
div.mark-all-as-read(ng-click="mark_all_as_read()")
| Mark all as read
.aside-tree
nav.files-tree-nav
ul
@@ -54,6 +56,10 @@ section.page-project(ng-controller="ProjectController as controller",ng-init="in
.line= line_index++
code(hljs,hljs-source="version.content")
| {{ version.content }}
code.differences(ng-if="version.diff")
span(ng-repeat="_difference in version.diff",ng-class="{removed: _difference.removed, added: _difference.added}")
span.value
| {{ _difference.value }}
include ../../partials/footer.jade