Changeset 1630346
- Timestamp:
- 04/05/2017 03:52:51 PM (9 years ago)
- File:
-
- 1 edited
-
aptly/trunk/js/cerkl_awp_new.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aptly/trunk/js/cerkl_awp_new.js
r1628771 r1630346 455 455 html += section(newest_news,attrs.newest); 456 456 html += section(last_news,attrs.last); 457 458 if (html == '') { 459 html += '<div class="c_awp_section c_awp_processing"><div class="c_awp_loading" style="border-color:{{colors.section_color}};border-top-color:{{colors.headline}};"></div><div style="color:{{colors.headline}}">Aptly is hard at work, personalizing this site\'s content. It may take up to an hour to get the personalization in place but you are going to love it!</div></div>'; 460 461 var spinner_bg = attrs.defaults.colors.section_color.trim(); 462 if (spinner_bg == attrs.defaults.colors.headline.trim()) spinner_bg = attrs.background; 463 html = html.replace(/{{colors.headline}}/g,attrs.defaults.colors.headline); 464 html = html.replace('{{colors.section_color}}',spinner_bg); 465 } 457 466 { 458 467 var html_now; //popup logic … … 460 469 var wrapper = 'c_awp_wrapper'; 461 470 if (attrs.wide) wrapper += ' c_awp_wide'; 462 463 471 464 472 var modal_about = '<div id="c_awp_modal_about" class="c_awp_modal fade" tabindex="-1" role="dialog">' +
Note: See TracChangeset
for help on using the changeset viewer.