[DealabsBridge] Follow website changes (#852)

Pepper changed the CSS class of some elements. The bridge was changed to
follow these changes.
This commit is contained in:
sysadminstory 2018-10-15 18:25:04 +02:00 committed by LogMANOriginal
parent d89c65d219
commit 704ad50607
1 changed files with 5 additions and 7 deletions

View File

@ -1120,10 +1120,8 @@ class PepperBridgeAbstract extends BridgeAbstract {
$selectorHot = implode(
' ', /* Notice this is a space! */
array(
'flex',
'flex--align-c',
'flex--justify-space-between',
'space--b-2',
'cept-vote-box',
'vote-box'
)
);
@ -1142,8 +1140,7 @@ class PepperBridgeAbstract extends BridgeAbstract {
array(
'size--all-s',
'flex',
'flex--justify-e',
'flex--grow-1',
'boxAlign-jc--all-fe'
)
);
@ -1175,7 +1172,8 @@ class PepperBridgeAbstract extends BridgeAbstract {
. $this->GetSource($deal)
. $deal->find('div[class*='. $selectorDescription .']', 0)->innertext
. '</td><td>'
. $deal->find('div[class='. $selectorHot .']', 0)->children(0)->outertext
. $deal->find('div[class*='. $selectorHot .']', 0)
->find('span', 1)->outertext
. '</td></table>';
$dealDateDiv = $deal->find('div[class*='. $selectorDate .']', 0)
->find('span[class=hide--toW3]');