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

Version Path
hobo_rapid-2.0.1 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre10 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre9 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre8 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre7 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre6 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre5 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre4 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre3 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre2 taglibs/lists/empty_collection_message.dryml
hobo_rapid-2.0.0.pre1 taglibs/lists/empty_collection_message.dryml
hobo_rapid-1.4.0.pre8 taglibs/lists/empty_collection_message.dryml
hobo_rapid-1.4.0.pre7 taglibs/lists/empty_collection_message.dryml
hobo_rapid-1.4.0.pre6 taglibs/lists/empty_collection_message.dryml
hobo_rapid-1.4.0.pre5 taglibs/lists/empty_collection_message.dryml
hobo_rapid-1.4.0.pre4 taglibs/lists/empty_collection_message.dryml
hobo_rapid-1.4.0.pre3 taglibs/lists/empty_collection_message.dryml
hobo_rapid-1.4.0.pre2 taglibs/lists/empty_collection_message.dryml