Skip to content

Commit

Permalink
Merge pull request #128 from magento-webdev/bugfixes
Browse files Browse the repository at this point in the history
[WebDev] Bugfixes
  • Loading branch information
MomotenkoNatalia authored Jul 5, 2016
2 parents c29f3e7 + 6930d43 commit 6ee307f
Show file tree
Hide file tree
Showing 48 changed files with 483 additions and 355 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,14 @@ public function render(\Magento\Framework\DataObject $row)
{
$readDetailsHtml = $row->getUrl() ? '<a class="action-details" target="_blank" href="' . $row->getUrl() . '">' . __(
'Read Details'
) . '</a> | ' : '';
) . '</a>' : '';

$markAsReadHtml = !$row->getIsRead() ? '<a class="action-mark" href="' . $this->getUrl(
'*/*/markAsRead/',
['_current' => true, 'id' => $row->getId()]
) . '">' . __(
'Mark as Read'
) . '</a> | ' : '';
) . '</a>' : '';

$encodedUrl = $this->_urlHelper->getEncodedUrl();
return sprintf(
Expand Down
1 change: 1 addition & 0 deletions app/code/Magento/Backend/view/adminhtml/layout/default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<head>
<title>Magento Admin</title>
<meta name="viewport" content="width=1024"/>
<meta name="format-detection" content="telephone=no"/>
<link src="requirejs/require.js"/>
<css src="extjs/resources/css/ext-all.css"/>
<css src="extjs/resources/css/ytheme-magento.css"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -314,9 +314,7 @@ public function addContainerChildren(
ltrim(static::META_CONFIG_PATH, ArrayManager::DEFAULT_PATH_DELIMITER),
$attributeContainer,
[
'sortOrder' => $sortOrder * self::SORT_ORDER_MULTIPLIER,
// TODO: Eliminate this in scope of MAGETWO-51364
'scopeLabel' => $this->getScopeLabel($attribute),
'sortOrder' => $sortOrder * self::SORT_ORDER_MULTIPLIER
]
);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,6 @@
</item>
</item>
</item>

</item>
</item>
<item name="itemsAfter" xsi:type="array">
Expand Down Expand Up @@ -443,6 +442,5 @@
</block>
</referenceContainer>
<referenceContainer name="page.messages" remove="true"/>
<move element="logo" destination="checkout.header.wrapper"/>
</body>
</page>
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
<container name="checkout.header.wrapper" label="Checkout Page Header" as="checkout_header_wrapper" htmlTag="div" htmlClass="header content"/>
</container>
</referenceContainer>
<move element="logo" destination="checkout.header.wrapper"/>
</layout>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<!-- ko text: currentBillingAddress().street --><!-- /ko --><br/>
<!-- ko text: currentBillingAddress().city --><!-- /ko -->, <!-- ko text: currentBillingAddress().region --><!-- /ko --> <!-- ko text: currentBillingAddress().postcode --><!-- /ko --><br/>
<!-- ko text: getCountryName(currentBillingAddress().countryId) --><!-- /ko --><br/>
<!-- ko text: currentBillingAddress().telephone --><!-- /ko --><br/>
<!-- ko if: (currentBillingAddress().telephone) -->
<a data-bind="text: currentBillingAddress().telephone, attr: {'href': 'tel:' + currentBillingAddress().telephone}"></a>
<!-- /ko --><br/>
<button type="button"
class="action action-edit-address"
data-bind="visible: !isAddressSameAsShipping(), click: editAddress">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
* See COPYING.txt for license details.
*/
-->
<div class="amount">
<span data-bind="html: cart().subtotal"></span>
<div class="amount price-container">
<span class="price-wrapper" data-bind="html: cart().subtotal"></span>
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
<!-- ko text: address().street --><!-- /ko --><br/>
<!-- ko text: address().city --><!-- /ko -->, <!-- ko text: address().region --><!-- /ko --> <!-- ko text: address().postcode --><!-- /ko --><br/>
<!-- ko text: getCountryName(address().countryId) --><!-- /ko --><br/>
<!-- ko text: address().telephone --><!-- /ko --><br/>
<!-- ko if: (address().telephone) -->
<a data-bind="text: address().telephone, attr: {'href': 'tel:' + address().telephone}"></a>
<!-- /ko --><br/>
<!-- ko if: (address().isEditable()) -->
<button type="button"
class="action edit-address-link"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,7 @@
<!-- ko text: address().street --><!-- /ko --><br/>
<!-- ko text: address().city --><!-- /ko -->, <!-- ko text: address().region --><!-- /ko --> <!-- ko text: address().postcode --><!-- /ko --><br/>
<!-- ko text: getCountryName(address().countryId) --><!-- /ko --><br/>
<!-- ko text: address().telephone --><!-- /ko --><br/>
<!-- ko if: (address().telephone) -->
<a data-bind="text: address().telephone, attr: {'href': 'tel:' + address().telephone}"></a>
<!-- /ko --><br/>
<!-- /ko -->
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@
*/
-->
<!-- ko if: isDisplayed() -->
<tr>
<td colspan="2" data-bind="text: title"></td>
<td class="col grandtotal">
<span data-bind ="text: getValue(), attr:{'data-label': title}"></span>
<tr class="grand totals">
<td class="mark" scope="row">
<strong data-bind="i18n: title"></strong>
</td>
<td class="amount" data-bind="attr: {'data-th': $t(title)}">
<strong><span class="price" data-bind="text: getValue()"></span></strong>
<!-- ko foreach: elems() -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!-- /ko -->
Expand Down
2 changes: 1 addition & 1 deletion app/code/Magento/Customer/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ T: {{var telephone}}
{{depend street4}}{{var street4}}<br />{{/depend}}
{{if city}}{{var city}}, {{/if}}{{if region}}{{var region}}, {{/if}}{{if postcode}}{{var postcode}}{{/if}}<br/>
{{var country}}<br/>
{{depend telephone}}T: {{var telephone}}{{/depend}}
{{depend telephone}}T: <a href="tel:{{var telephone}}">{{var telephone}}</a>{{/depend}}
{{depend fax}}<br/>F: {{var fax}}{{/depend}}
{{depend vat_id}}<br/>VAT: {{var vat_id}}{{/depend}}]]></html>
<pdf><![CDATA[{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}|
Expand Down
Loading

0 comments on commit 6ee307f

Please sign in to comment.