set/abstract/mod_assets.rb in card-mod-assets-0.16.0 vs set/abstract/mod_assets.rb in card-mod-assets-0.17.0
- old
+ new
@@ -160,6 +160,18 @@
remote_items = card.manifest_group_items "remote"
return unless remote_items
remote_items.map { |args| yield args.clone }
end
+
+ view :core do
+ groups =
+ card.item_cards.map do |item|
+ [item.cardname.tag, item.input_item_cards.map(&:name)]
+ end
+ if card.remote_group_urls.present?
+ groups << ["group: remote", card.remote_group_urls.map { |remote| remote["src"] }]
+ end
+
+ haml :group_list, groups: groups
+ end
end