Sha256: 1bbad29dc58982d36a701e811ac6bbeb07885ac0f39a659d74ed5d79be989833

Contents?: true

Size: 308 Bytes

Versions: 2

Compression:

Stored size: 308 Bytes

Contents

angular.module("hyperadmin")
  .directive "flashMessages", (Flash) ->
    template: """
<aside class="alert alert-{{ flash.getMessage().type }}"
  ng-show="!!flash.getMessage().type">
  <p>{{ flash.getMessage().message }}</p>
</aside>
    """
    restrict: "E"
    link: (scope) ->
      scope.flash = Flash

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.4.0 app/assets/javascripts/hyper_admin/angularjs/directives/flash_messages.js.coffee
hyper_admin-0.3.0 app/assets/javascripts/hyper_admin/angularjs/directives/flash_messages.js.coffee