|
4 | 4 | * See COPYING.txt for license details.
|
5 | 5 | */
|
6 | 6 | -->
|
7 |
| -<div data-pp-message data-bind="attr: { |
8 |
| - 'class': getAttribute('class'), |
9 |
| - 'data-pp-amount': amount, |
10 |
| - 'data-pp-placement': getAttribute('data-pp-placement'), |
11 |
| - 'data-pp-style-layout': getAttribute('data-pp-style-layout'), |
12 |
| - 'data-pp-style-logo-type': getAttribute('data-pp-style-logo-type'), |
13 |
| - 'data-pp-style-logo-position': getAttribute('data-pp-style-logo-position'), |
14 |
| - 'data-pp-style-text-color': getAttribute('data-pp-style-text-color'), |
15 |
| - 'data-pp-style-text-size': getAttribute('data-pp-style-text-size'), |
16 |
| - 'data-pp-style-color': getAttribute('data-pp-style-color'), |
17 |
| - 'data-pp-style-ratio': getAttribute('data-pp-style-ratio'), |
18 |
| - 'data-pp-buyercountry': buyerCountry |
19 |
| - }" ></div> |
| 7 | +<div data-bind="if: buyerCountry"> |
| 8 | + <div data-pp-message data-bind="attr: { |
| 9 | + 'class': getAttribute('class'), |
| 10 | + 'data-pp-amount': amount, |
| 11 | + 'data-pp-placement': getAttribute('data-pp-placement'), |
| 12 | + 'data-pp-style-layout': getAttribute('data-pp-style-layout'), |
| 13 | + 'data-pp-style-logo-type': getAttribute('data-pp-style-logo-type'), |
| 14 | + 'data-pp-style-logo-position': getAttribute('data-pp-style-logo-position'), |
| 15 | + 'data-pp-style-text-color': getAttribute('data-pp-style-text-color'), |
| 16 | + 'data-pp-style-text-size': getAttribute('data-pp-style-text-size'), |
| 17 | + 'data-pp-style-color': getAttribute('data-pp-style-color'), |
| 18 | + 'data-pp-style-ratio': getAttribute('data-pp-style-ratio'), |
| 19 | + 'data-pp-buyercountry': buyerCountry |
| 20 | + }" ></div> |
| 21 | +</div> |
20 | 22 |
|
0 commit comments