mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR Consistent link method names: LeftAndMain->PreviewLink() changed to LinkPreview()
This commit is contained in:
parent
ed5110dbbf
commit
d8bb1b2375
@ -1164,7 +1164,7 @@ class LeftAndMain extends Controller implements PermissionProvider {
|
||||
*
|
||||
* @return String|boolean
|
||||
*/
|
||||
public function PreviewLink() {
|
||||
public function LinkPreview() {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -54,8 +54,8 @@
|
||||
<% control Actions %>
|
||||
$Field
|
||||
<% end_control %>
|
||||
<% if Controller.PreviewLink %>
|
||||
<a href="$Controller.PreviewLink" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
||||
<% if Controller.LinkPreview %>
|
||||
<a href="$Controller.LinkPreview" class="cms-preview-toggle-link ss-ui-button" data-icon="preview">
|
||||
<% _t('LeftAndMain.PreviewButton', 'Preview') %> »
|
||||
</a>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user