Sha256: 600df0092355d0d08573591124fbb450f3ababd5ad8ccad9dd422cbb9f7e3166

Contents?: true

Size: 798 Bytes

Versions: 5

Compression:

Stored size: 798 Bytes

Contents

<:Body>
  {{ if page._reloading }}
    <div class="notices alert alert-info">Reloading...</div>
  {{ end }}
  {{ if channel.status == :reconnecting }}
    <div class="notices alert alert-info">
      Connection Lost... {{ channel.error }}...
      {{ if channel.reconnect_interval }}  Reconnecting in {{ (channel.reconnect_interval / 1000.0).round }} sec{{ end }}
    </div>
  {{ end }}
  {{ if page._reconnected }}
    <div class="notices alert alert-success">Reconnected!</div>
  {{ end }}
  {{ flash.keys.each do |key| }}
    {{ if flash.send(:"_#{key}").present? }}
      <div class="notices alert alert-{{ map_key_class(key) }}" e-click="flash.clear">
        {{ flash.send(:"_#{key}").each do |notice| }}
          <p>{{ notice }}</p>
        {{ end }}
      </div>
    {{ end }}
  {{ end }}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
volt-0.8.22.beta2 app/volt/views/notices/index.html
volt-0.8.22.beta1 app/volt/views/notices/index.html
volt-0.8.21 app/volt/views/notices/index.html
volt-0.8.20 app/volt/views/notices/index.html
volt-0.8.19 app/volt/views/notices/index.html