Plugin Directory

Changeset 1630346


Ignore:
Timestamp:
04/05/2017 03:52:51 PM (9 years ago)
Author:
karthikwpress
Message:

removed the default org

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aptly/trunk/js/cerkl_awp_new.js

    r1628771 r1630346  
    455455                html += section(newest_news,attrs.newest);
    456456                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                                }
    457466                {
    458467                    var html_now; //popup logic
     
    460469                var wrapper = 'c_awp_wrapper';
    461470                if (attrs.wide) wrapper += ' c_awp_wide';
    462 
    463471
    464472                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.