5abda7d0 by Jeremy Groot

fix to externs

1 parent 0e6b4a18
...@@ -8539,6 +8539,7 @@ br { ...@@ -8539,6 +8539,7 @@ br {
8539 8539
8540 .item a { 8540 .item a {
8541 display: flex !important; 8541 display: flex !important;
8542 color: #000000;
8542 } 8543 }
8543 8544
8544 a.xls, .item a.xls { 8545 a.xls, .item a.xls {
......
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
...@@ -28,7 +28,8 @@ function checkOffsetForTopper() { ...@@ -28,7 +28,8 @@ function checkOffsetForTopper() {
28 function getIsExternLink($link) { 28 function getIsExternLink($link) {
29 $link = $link.trim(); 29 $link = $link.trim();
30 if($link.indexOf('brokers') === -1 && 30 if($link.indexOf('brokers') === -1 &&
31 $link.indexOf('localhost') === -1 && $link.indexOf('mailto:') === -1 && $link.indexOf('tel:') === -1 && $link.indexOf('#') !== 0) { 31 $link.indexOf('localhost') === -1 && $link.indexOf('mailto:') === -1 && $link.indexOf('tel:') === -1
32 && $link.indexOf('#') !== 0) {
32 if($link !== "/" && $link !== "#" && $link.indexOf('/') !== 0) { 33 if($link !== "/" && $link !== "#" && $link.indexOf('/') !== 0) {
33 return true; 34 return true;
34 } 35 }
......
...@@ -93,10 +93,12 @@ html{ ...@@ -93,10 +93,12 @@ html{
93 93
94 .item a { 94 .item a {
95 display: flex !important; 95 display: flex !important;
96 color:#000000;
96 } 97 }
97 98
99
98 a, .item a { 100 a, .item a {
99 101
100 &.xls { 102 &.xls {
101 border-top:1px solid #949598; 103 border-top:1px solid #949598;
102 border-bottom:1px solid #949598; 104 border-bottom:1px solid #949598;
......
...@@ -156,7 +156,7 @@ function circulars($circular){ ...@@ -156,7 +156,7 @@ function circulars($circular){
156 156
157 <tr class="table-like__item"> 157 <tr class="table-like__item">
158 <td class="item"> 158 <td class="item">
159 <a target="_blank" role="button" class="item-link" href="http://localhost:3000/wp-content/plugins/tenzing-campaign-monitor/campaignRetriever.php?campaignURL=<?= $url ?>"><?= $name ?></a> 159 <a target="_blank" role="button" class="item-link extern" href="/wp-content/plugins/tenzing-campaign-monitor/campaignRetriever.php?campaignURL=<?= $url ?>"><?= $name ?></a>
160 <span class='updated-at'> 160 <span class='updated-at'>
161 <?= $send_datef ?> 161 <?= $send_datef ?>
162 </span> 162 </span>
......