Sha256: 076f540bf250420b34e7a8c9aac1d952be1f8b33a29030813a00d706e33d6326
Contents?: true
Size: 803 Bytes
Versions: 11
Compression:
Stored size: 803 Bytes
Contents
<!-- Renders a message such as "No products to display". If the collection (`this`) is empty, `style="display:none"` is added. This means the message is still present and can be revealed with JavaScript if all items in the collection are removed via ajax remove buttons. The message can be customized via the `empty-collection-message` parameter or by changing the `products.collection.empty_message` translation. --> <def tag="empty-collection-message"> <unless test="&!this.respond_to?('member_class') || this._?.member_class.nil?"> <div class="empty-collection-message" style="#{'display:none' if !this.empty?}" param="default"> <ht key="#{this.member_class.name.underscore}.collection.empty_message"> No <collection-name/> to display </ht> </div> </unless> </def>
Version data entries
11 entries across 11 versions & 1 rubygems