silverstripe-framework/templates/SilverStripe/Forms/GridField/GridFieldViewButton.ss
Luke Edwards 385e9e105c Create GridField Actions Menu component (#8083)
* WIP GridField action menu work, the gist of the idea is using a new gridfield component

* Add delete action to actions menu

* Actions are added automatically to action menu (allows for extension)

* Add test and minor changes

* Add docs and minor changes

* Refactor ActionMenuItem into distinct types, general ActionMenu cleanup

* Add icons and fix title

* Pass columnName, so it can be used by components

* Update test to open and find action menu buttons

* Add section in changelog upgrade section for GridField_ActionMenu
2018-05-29 16:10:52 +12:00

4 lines
160 B
Scheme

<a class="grid-field__icon-action font-icon-right-open btn--icon-large action action-detail view-link" href="$Link">
<span class="sr-only">View</span>
</a>