diff --git a/resources/styles/partials/sidebar-document-history.scss b/resources/styles/partials/sidebar-document-history.scss index 42928ffbeb..c377ba8a07 100644 --- a/resources/styles/partials/sidebar-document-history.scss +++ b/resources/styles/partials/sidebar-document-history.scss @@ -42,6 +42,28 @@ width: 100%; padding: $small; + .page-actions { + align-items: center; + display: flex; + margin-left: auto; + + a { + + svg { + fill: $soft-ui-icons; + height: 15px; + margin-left: $x-small; + width: 15px; + + &:hover { + fill: $intense-ui-icons; + } + + } + + } + + } .pin-icon { cursor: pointer; @@ -93,6 +115,7 @@ } + } } diff --git a/src/uxbox/ui/workspace/sidebar/document_history.cljs b/src/uxbox/ui/workspace/sidebar/document_history.cljs index cb649d4059..b836516cba 100644 --- a/src/uxbox/ui/workspace/sidebar/document_history.cljs +++ b/src/uxbox/ui/workspace/sidebar/document_history.cljs @@ -46,11 +46,12 @@ (if (= section :pinned) [:ul.history-content [:li.current - [:div.pin-icon i/pin] [:span "Current version"]] [:li - [:div.pin-icon i/pin] - [:span "Version 02/02/2016 12:33h"]]]) + [:span "Version 02/02/2016 12:33h"] + [:div.page-actions + [:a i/pencil] + [:a i/trash]]]]) (if (= section :main) [:ul.history-content [:li.current