emailVerificationAlert.js

From disqus.com, 6 Months ago, written in JavaScript, viewed 3 times. This paste is a reply to welcome.js from disqus.com - view diff
URL https://pastebin.freepbx.org/view/9033706d Embed
Download Paste or View Raw
  1. define('home/templates/emailVerificationAlert',['handlebars', 'handlebars.partials', 'core/extensions/handlebars.helpers'], function(Handlebars) {
  2.  
  3. return Handlebars.template({"1":function(container,depth0,helpers,partials,data) {
  4.     var stack1, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=container.escapeExpression, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  5.         if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  6.           return parent[propertyName];
  7.         }
  8.         return undefined
  9.     };
  10.  
  11.   return "<div class=\"alert alert--warning text-medium\">\n"
  12.     + alias2(lookupProperty(helpers,"gettext").call(alias1,"The email address for your account %(email)s still needs to be verified.",{"name":"gettext","hash":{"email":lookupProperty(helpers,"tag").call(alias1,"strong",{"name":"tag","hash":{"text":((stack1 = (depth0 != null ? lookupProperty(depth0,"user") : depth0)) != null ? lookupProperty(stack1,"email") : stack1)},"data":data,"loc":{"start":{"line":3,"column":93},"end":{"line":3,"column":125}}})},"data":data,"loc":{"start":{"line":3,"column":0},"end":{"line":3,"column":128}}}))
  13.     + "\n<a href=\"/verify\" data-action=\"verify-email\">"
  14.     + alias2(lookupProperty(helpers,"gettext").call(alias1,"Resend confirmation email »",{"name":"gettext","hash":{},"data":data,"loc":{"start":{"line":4,"column":45},"end":{"line":4,"column":86}}}))
  15.     + "</a>\n</div>\n";
  16. },"compiler":[8,">= 4.3.0"],"main":function(container,depth0,helpers,partials,data) {
  17.     var stack1, lookupProperty = container.lookupProperty || function(parent, propertyName) {
  18.         if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
  19.           return parent[propertyName];
  20.         }
  21.         return undefined
  22.     };
  23.  
  24.   return ((stack1 = lookupProperty(helpers,"if").call(depth0 != null ? depth0 : (container.nullContext || {}),(depth0 != null ? lookupProperty(depth0,"shouldShowEmailVerificationAlert") : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data,"loc":{"start":{"line":1,"column":0},"end":{"line":6,"column":7}}})) != null ? stack1 : "");
  25. },"useData":true})
  26.  
  27. });
  28. // https://c.disquscdn.com/next/c0d8fa9/home/js/templates/emailVerificationAlert.js

Replies to emailVerificationAlert.js rss

Title Name Language When
TimelineFiltersCollection.js disqus.com javascript 6 Months ago.

Reply to "emailVerificationAlert.js"

Here you can reply to the paste above