sandbox/tmp/cache/assets/D8C/D40/sprockets%2Fc4a00154a0e1c15a495ce4d49c9f0ccf in iugu-ux-0.9.2 vs sandbox/tmp/cache/assets/D8C/D40/sprockets%2Fc4a00154a0e1c15a495ce4d49c9f0ccf in iugu-ux-0.9.3

- old
+ new

@@ -1,8 +1,9 @@ -o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1357654410.5688109gf: @value"‰ {I" +o: ActiveSupport::Cache::Entry :@compressedF:@expires_in0:@created_atf1358772538.3108799ću: @value"€ +{I" class:EFI"BundledAsset;FI"logical_path;FI"3iugu-ux/components/presenters/iugu-ui-alert.js;FI" pathname;FI"~/Users/patricknegri/Desenvolvimento/iugu-ux/vendor/assets/javascripts/iugu-ux/components/presenters/iugu-ui-alert.jst.eco;FI"content_type;FI"application/javascript;FI" -mtime;FI"2013-01-08T10:25:41-02:00;FI" length;FilI" digest;F"%336eeaa9ca52bf08a4874268b30cb2bfI" source;FI"l(function() { +mtime;FI"2013-01-11T10:51:33-02:00;FI" length;Fi‡I" digest;F"%e74fc0a9d91fd8940ef380c840db4324I" source;FI"‡(function() { this.JST || (this.JST = {}); this.JST["iugu-ux/components/presenters/iugu-ui-alert"] = function(__obj) { if (!__obj) __obj = {}; var __out = [], __capture = function(callback) { var out = __out, result; @@ -40,27 +41,39 @@ }; } (function() { (function() { - __out.push('<div class="notice notice-green">\n <a class="close" data-dismiss="notice" href="#">x</a>\n <h4 class="notice-heading">'); + __out.push('<div class="notice '); + __out.push(__sanitize(this.alertClass)); + + __out.push('">\n <a class="close" data-dismiss="notice" href="#">x</a>\n <h4 class="notice-heading">'); + __out.push(__sanitize(this.headerText)); - __out.push('</h4>\n <p>'); + __out.push('</h4>\n '); - __out.push(__sanitize(this.bodyText)); + if (this.bodyText) { + __out.push('\n <p>'); + __out.push(__sanitize(this.bodyText)); + __out.push('</p><br/>\n '); + } - __out.push('</p><br/>\n <a class="button" data-dismiss="alert" href="#">'); + __out.push('\n '); - __out.push(__sanitize(this.buttonText)); + if (this.buttonText) { + __out.push('\n <a class="button" data-dismiss="alert" href="#">'); + __out.push(__sanitize(this.buttonText)); + __out.push('</a>\n '); + } - __out.push('</a>\n</div>\n'); + __out.push('\n</div>\n'); }).call(this); }).call(__obj); __obj.safe = __objSafe, __obj.escape = __escape; return __out.join(''); }; }).call(this); -;FI"required_assets_digest;F"%f60816920f0f1a18b19d5c9c7ed2b63bI" _version;F"%9f3b95dd7ea3030dc35985c0a8020862 +;FI"required_assets_digest;F"%20e088cb434dbcfc493e810f8e80b8a6I" _version;F"%9f3b95dd7ea3030dc35985c0a8020862 \ No newline at end of file