From e6281911f0d6812bf5cb25d6838d836535af5422 Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 20 Dec 2017 16:42:23 +0000 Subject: [PATCH] Add history-file-tree.pug --- .../views/project/editor/history-file-tree.pug | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 services/web/app/views/project/editor/history-file-tree.pug diff --git a/services/web/app/views/project/editor/history-file-tree.pug b/services/web/app/views/project/editor/history-file-tree.pug new file mode 100644 index 0000000000..9015dfe258 --- /dev/null +++ b/services/web/app/views/project/editor/history-file-tree.pug @@ -0,0 +1,17 @@ +aside.file-tree.file-tree-history(ng-controller="FileTreeController", ng-class="{ 'multi-selected': multiSelectedCount > 0 }", ng-show="ui.view == 'history' && history.isV2").full-size + .toolbar.toolbar-filetree + span Modified files + + .file-tree-inner + ul.list-unstyled.file-tree-list + li( + ng-repeat="(pathname, doc) in history.selection.docs" + ng-class="{ 'selected': history.selection.pathname == pathname }" + ) + .entity + .entity-name.entity-name-history( + ng-click="history.selection.pathname = pathname", + ng-class="{ 'deleted': doc.deleted }" + ) + i.fa.fa-fw.fa-pencil + span {{ pathname }}