[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

View file

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