Sha256: 98b2f150c0d53421a1aea8358ebf26e40d8ab10d41f9fb5b3c1238c6b62a44d4
Contents?: true
Size: 627 Bytes
Versions: 130
Compression:
Stored size: 627 Bytes
Contents
<% if available_view_types.count > 1 case view_type.to_sym when :table new_view_type = 'grid' new_icon = 'view-grid' translation_key = 'avo.grid_view' when :grid new_view_type = 'table' new_icon = 'view-list' translation_key = 'avo.table_view' end %> <%= a_link params.permit!.merge(view_type: new_view_type), color: :blue, 'data-turbo-frame': turbo_frame, title: t('avo.switch_to_view', view_type: new_view_type), 'data-tippy': 'tooltip' do %> <%= svg new_icon %> <%= t translation_key, item: @resource.model_class.model_name.human.downcase %> <% end %> <% end %>
Version data entries
130 entries across 130 versions & 1 rubygems