Sha256: 824da03c90b88b428813abd5b94de3467b8a5f4c16c585c58c703282e1c2e817

Contents?: true

Size: 792 Bytes

Versions: 63

Compression:

Stored size: 792 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_in / 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

63 entries across 63 versions & 1 rubygems

Version Path
volt-0.9.7.pre8 app/volt/views/notices/index.html
volt-0.9.7.pre7 app/volt/views/notices/index.html
volt-0.9.7.pre6 app/volt/views/notices/index.html
volt-0.9.7.pre5 app/volt/views/notices/index.html
volt-0.9.7.pre3 app/volt/views/notices/index.html
volt-0.9.7.pre2 app/volt/views/notices/index.html
volt-0.9.6 app/volt/views/notices/index.html
volt-0.9.6.pre3 app/volt/views/notices/index.html
volt-0.9.6.pre2 app/volt/views/notices/index.html
volt-0.9.6.pre1 app/volt/views/notices/index.html
volt-0.9.5 app/volt/views/notices/index.html
volt-0.9.5.pre12 app/volt/views/notices/index.html
volt-0.9.5.pre11 app/volt/views/notices/index.html
volt-0.9.5.pre9 app/volt/views/notices/index.html
volt-0.9.5.pre8 app/volt/views/notices/index.html
volt-0.9.5.pre7 app/volt/views/notices/index.html
volt-0.9.5.pre6 app/volt/views/notices/index.html
volt-0.9.5.pre5 app/volt/views/notices/index.html
volt-0.9.5.pre4 app/volt/views/notices/index.html
volt-0.9.5.pre3 app/volt/views/notices/index.html