Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5146 from ZitaNemeckova/fix_god_sort
Unify sorting in GOD page
- Loading branch information
Showing
3 changed files
with
24 additions
and
41 deletions.
There are no files selected for viewing
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
19 changes: 19 additions & 0 deletions
19
app/views/generic_object_definition/_table_button.html.haml
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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
%hr | ||
%h3 | ||
= _('Buttons') | ||
%table.table.table-bordered.table-hover.table-striped | ||
%thead | ||
%th.table-view-pf-select | ||
%th | ||
= _('Text') | ||
%th | ||
= _('Hover Text') | ||
%tbody | ||
- buttons.each do |obj| | ||
%tr | ||
%td.table-view-pf-select | ||
%i{:class => obj.options[:button_icon], :style => obj.options.key?(:button_color) ? "color: #{obj.options[:button_color]};" : nil} | ||
%td | ||
= obj[:name] | ||
%td | ||
= obj[:description] |