Uzupełnienie Komunikatu EBI nr 8/2020 – życiorysy Członków Rady Nadzorczej BLACK PEARL Spółka Akcyjna (PLBLKPC00014)
17-07-2020 18:12:58 | Bieżący | EBI | 11/2020
$(document).ready( function() {
$(".report-data img").remove();
$(".report-data td").css("border", 0 );
//$(".report-data a").removeAttr("href");
var geruId = window.location.search.substring(0);
var pathname = window.location.pathname;
var tmpUrl = pathname+geruId;
var attrHref = "";
var aReplace=1;
$( ".report-data a" ).each(function( index ) {
attrHref="";
attrHref = $( this ).attr("href");
if (typeof attrHref !== typeof undefined && attrHref !== false) {
var replaceAttrHref= attrHref.replace("#","");
if(attrHref!=replaceAttrHref){
$( this ).attr("href",tmpUrl+""+attrHref);
aReplace=0;
}else{
aReplace=1;
var replaceAttrHref= attrHref.replace("attachment","");
if(attrHref!=replaceAttrHref){
$( this ).attr("href","http://infostrefa.com/espi/pl/reports/view/"+""+attrHref);
$( this ).attr("target","_blank");
aReplace=0;
}
else{
aReplace=1;
var replaceAttrHref= attrHref.replace("http://static.gpw.pl/","http://gpw.pl/");
if(attrHref!=replaceAttrHref){
$( this ).attr("href",replaceAttrHref);
$( this ).attr("target","_blank");
aReplace=0;
}
else{
aReplace=0;
}
}
}
}else{
aReplace=1;
}
if(aReplace==1 && !$(this).hasClass("file")){
$(this).removeAttr("href");
}
});
/*
* Hack plain HTML from database
*/
//Hide empty td
jQuery("table tr td").each(function() {
var td = $(this);
var data = td.text();
if (!data.match(/[a-z1-9]/i)) {
$(this).css("display","none");
}
});
//Hide _DATA_ text
/* jQuery("tr.nTekst td").each(function() {
var td = $(this);
var data = td.text();
if (data.indexOf("_") >= 0){
var h4 = $(this).parents("table").prev("h4").text();
if (h4.indexOf("INFORMACJE O PODMIOCIE") >= 0){
$(this).parent().css("display","none");
}
}
});
//Remove "Nazwa arkusza:"
$(".report-data h4").contents().filter(function(){ return this.nodeType != 1; }).remove();
jQuery(".report-data h4").each(function() {
var h4 = $(this);
var data = h4.text();
if (data.indexOf("INFORMACJE O PODMIOCIE") >= 0){
$(this).hide();
$(this).next("table").hide();
}
});
jQuery(".report-data table a").each(function() {
var a = $(this);
var data = a.text();
if (data.indexOf("INFORMACJE O PODMIOCIE") >= 0){
$(this).parent().hide();
}
/* if (data.indexOf("PODPISY OSÓB REPREZENTUJĄCYCH SPÓŁKĘ") >= 0){
$(this).parent().html("3. PODPISY OSÓB REPREZENTUJĄCYCH SPÓŁKĘ");
} * /
}); */
});