Sha256: 575427ce706d547c213f3574d33ab9bc9e892b4a83155d78c2256ed0b9c2ac07
Contents?: true
Size: 1.62 KB
Versions: 48
Compression:
Stored size: 1.62 KB
Contents
.entity_list.ui.styled.accordion - container.lists.each do |id, list, text, options| - if Proc === list = fragment do - list = list.call - next if list.nil? .title = list.respond_to?(:list_link) ? list.list_link(:length, id) : list.length %span.title - title = text || id = title.sub('--', '—').sub('->', '⇨') .content - if (defined? force and force) or list.length < 500 - if list.respond_to? :link = list.link * ", " - else = list * ", " - else = modal_fragment "Too many entities to list" do - if list.respond_to? :link = list.link * ", " - else = list * ", " - else - if list.empty? .title = 0 %span.title - title = text || id = title.sub('--', '—').sub('->', '⇨') - else .title = list.respond_to?(:list_link) ? list.list_link(:length, id) : list.length %span.title - title = text || id = title.sub('--', '—').sub('->', '⇨') .content - if (defined? force and force) or list.length < 500 - if list.respond_to? :link = list.link * ", " - else = list * ", " - else = reveal "Too many entities to list" do = fragment do - if list.respond_to? :link = list.link * ", " - else = list * ", "
Version data entries
48 entries across 48 versions & 1 rubygems