Skip to content

Commit

Permalink
#1474 Add dashboard operation in flow
Browse files Browse the repository at this point in the history
  • Loading branch information
To-om committed Oct 19, 2020
1 parent a25ea42 commit 055158a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions frontend/app/views/directives/flow/dashboard.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<div class="flow-dashboard" ng-switch="base.operation">
<div class="flow-item-title wrap">
<i class="fa fa-tachometer"></i>
{{base.details.title}}
</div>

<div class="flow-item-updates wrap" ng-switch-when="Creation">
Dashboard {{base.details.title}} added
</div>

<div class="flow-item-updates wrap" ng-switch-when="Delete">
Dashboard {{base.details.title}} removed
</div>
</div>
1 change: 1 addition & 0 deletions frontend/app/views/directives/flow/flow.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
<flow-item target="targetWindow" type="action" data="value" ng-switch-when="action"></flow-item>
<flow-item target="targetWindow" type="caseTemplate" data="value" ng-switch-when="casetemplate"></flow-item>
<flow-item target="targetWindow" type="organisation" data="value" ng-switch-when="organisation"></flow-item>
<flow-item target="targetWindow" type="dashboard" data="value" ng-switch-when="dashboard"></flow-item>
</div>
</div>

0 comments on commit 055158a

Please # to comment.