Sha256: 5743f4126a6d623ea928b52ef7bed3c379aca511ad3a79d7ffd128a75e5895b6

Contents?: true

Size: 1.28 KB

Versions: 4

Compression:

Stored size: 1.28 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"8hyper_admin/angularjs/directives/table/table_row.js;FI"
pathname;TI"z/home/sindre/Code/hyper/hyper_admin/app/assets/javascripts/hyper_admin/angularjs/directives/table/table_row.js.coffee;FI"content_type;TI"application/javascript;TI"
mtime;Tl+NŸTI"length;TiI"digest;TI"%40054c252188ca8a323c0df043d77822;FI"source;TI"(function() {
  angular.module("hyperadmin").directive("tableRow", function() {
    return {
      template: "<td ng-repeat=\"attribute in attributes\">\n  <ng-include src=\"template(attribute)\"></ng-include>\n</td>\n<td>\n  <a ui-sref=\"{{ resourceClass.plural }}.show({ id: resource.id })\">\n    Show\n  </a>\n  <a ui-sref=\"{{ resourceClass.plural }}.edit({ id: resource.id })\">\n    Edit\n  </a>\n  <a ui-sref=\"{{ resourceClass.plural }}.show({ id: resource.id })\" delete-link>\n    Destroy\n  </a>\n</td>",
      restrict: "A",
      scope: {
        attributes: "=",
        resource: "="
      },
      link: function(scope) {
        return scope.template = function(attr) {
          return "table-" + attr.type;
        };
      }
    };
  });

}).call(this);
;TI"required_assets_digest;TI"%24bf6d9986d5dcc24df4fe62e69b31ce;FI"
_version;TI"%3e3098c8a5e9a7f3b984ba95ac600637;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/5d2d334072610a8b33f89e1c1e3b09f1
hyper_admin-0.2.0 spec/dummy/tmp/cache/assets/development/sprockets/e8cac11b7c752cd692b94d83732f4183
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/5d2d334072610a8b33f89e1c1e3b09f1
hyper_admin-0.1.0 spec/dummy/tmp/cache/assets/development/sprockets/e8cac11b7c752cd692b94d83732f4183