Skip to content

Commit

Permalink
MGEO_SB-187 put delete icon in MD actions dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
jahow committed Oct 17, 2017
1 parent f02c35c commit 8dbc933
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,15 @@
<i class="fa fa-sitemap"></i>&nbsp;
<span data-translate="">createChild</span>
</a></li>
<!-- Specific Geocat -->
<li class="divider" data-ng-if="user.canEditRecord(md)"></li>
<li><a ng-click="mdService.deleteMd(md)"
ng-if="user.canEditRecord(md)"
data-gn-confirm-click="{{'deleteRecordConfirm' | translate:md}}">
<i class="fa fa-trash-o"></i>&nbsp;
<span translate>delete</span>
</a></li>
<!-- End specific geocat -->
</ul>
</div>
<div class="btn-group md-actions">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,14 +86,16 @@
<div class="gn-md-actions-btn pull-right"
data-gn-md-actions-menu="mdView.current.record"/>

<a class="btn btn-danger gn-md-delete-btn pull-right"
<!-- Specific Geocat -->
<!-- <a class="btn btn-danger gn-md-delete-btn pull-right"
data-ng-show="user.canEditRecord(mdView.current.record)"
data-gn-click-and-spin="deleteRecord(mdView.current.record)"
data-gn-confirm-click="{{'deleteRecordConfirm' | translate:mdView.current.record}}"
title="{{'delete' | translate}}">
<i class="fa fa-times"></i>
</a>
</a> -->
<!-- End specific geocat -->

<a class="btn btn-primary gn-md-edit-btn pull-right"
data-ng-show="user.canEditRecord(mdView.current.record)"
Expand Down

0 comments on commit 8dbc933

Please sign in to comment.