Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
API CHANGE: Removed 'add new' button from GridFieldToolbarHeader, ins…
…tead opting to include two HTML fragments: toolbar-header-left and toolbar-header-right.
- Loading branch information
Sam Minnee
committed
Mar 9, 2012
1 parent
92a3535
commit d795a55
Showing
4 changed files
with
17 additions
and
53 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
<tr class="title"> | ||
<th colspan="$ColumnCount"><h2>$Title</h2><% if NewEnabled %> <a href="$NewLink" class="action ss-ui-action-constructive ss-ui-button ui-button ui-widget ui-state-default ui-corner-all new new-link" data-icon="add"><% _t('GridField.AddNew', 'Add New') %></a><% end_if %></th> | ||
<th colspan="$ColumnCount"> | ||
<% if Title %><h2>$Title</h2><% end_if %> | ||
<div class="left">\$DefineFragment(toolbar-header-left)</div> | ||
<div class="right">\$DefineFragment(toolbar-header-right)</div> | ||
</th> | ||
</tr> |