DmitrMakeev
commited on
Commit
•
f063722
1
Parent(s):
606ded2
Update bas_vk_tab.html
Browse files- bas_vk_tab.html +24 -1
bas_vk_tab.html
CHANGED
@@ -327,7 +327,30 @@ return link + `<img src="${imageUrl3}" alt="WhatsApp" style="width: 98px; height
|
|
327 |
|
328 |
|
329 |
|
330 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
331 |
|
332 |
|
333 |
|
|
|
327 |
|
328 |
|
329 |
|
330 |
+
{title:"Телеграм", field:"chat_id", formatter: function(cell, formatterParams, onRendered) {
|
331 |
+
var chat_id = cell.getValue();
|
332 |
+
var imageUrltg1 = "https://i.ibb.co/3S4Wt7m/3-2.png";
|
333 |
+
var imageUrlntg2 = "https://i.ibb.co/rZrzQhb/3-1.png";
|
334 |
+
var linktg1 = `<a href="https://t.me" target="_blank">`;
|
335 |
+
var linktg2 = `<a href="https://t.me/${chat_id}" target="_blank">`;
|
336 |
+
if (chat_id === "0" || chat_id === "") {
|
337 |
+
return linktg1 + `<img src="${imageUrltg1}" alt="Image" style="width: 98px; height: 14px;">`;
|
338 |
+
} else {
|
339 |
+
return linktg2 + `<img src="${imageUrlntg2}" alt="Image" style="width: 98px; height: 14px;">`;
|
340 |
+
}
|
341 |
+
}},
|
342 |
+
{title:"GetCurse", field:"gc_url", formatter: function(cell, formatterParams, onRendered) {
|
343 |
+
var gc_url = cell.getValue();
|
344 |
+
var imageUrlvkgc1 = "https://i.ibb.co/F8825KY/1-2.png";
|
345 |
+
var imageUrlvkgc2 = "https://i.ibb.co/S3qwFKM/1-1.png";
|
346 |
+
var linkgc1 = `<a href="https://vk.com/getcourseru" target="_blank">`;
|
347 |
+
var linkgc2 = `<a href="${gc_url}" target="_blank">`;
|
348 |
+
if (gc_url === "0" || gc_url === "") {
|
349 |
+
return linkgc1 + `<img src="${imageUrlvkgc1}" alt="Image" style="width: 98px; height: 14px;">`;
|
350 |
+
} else {
|
351 |
+
return linkgc2 + `<img src="${imageUrlvkgc2}" alt="Image" style="width: 98px; height: 14px;">`;
|
352 |
+
}
|
353 |
+
}},
|
354 |
|
355 |
|
356 |
|