Sha256: 6796f17943a2c4362fa657e4393987407b009435905e183a87f9c4435e455f45
Contents?: true
Size: 766 Bytes
Versions: 19
Compression:
Stored size: 766 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._?.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
19 entries across 19 versions & 1 rubygems