This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from solidusio/add/source_view
Add Source View
- Loading branch information
Showing
3 changed files
with
22 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
app/views/spree/admin/payments/source_views/_paypal_braintree.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<fieldset data-hook="credit_card"> | ||
<div class="row"> | ||
<div class="alpha six columns"> | ||
<dl> | ||
<dt><%= Spree.t(:identifier) %>:</dt> | ||
<dd><%= payment.number %></dd> | ||
|
||
<dt><%= t('solidus_paypal_braintree.nonce') %>:</dt> | ||
<dd><%= payment.source.nonce %></dd> | ||
|
||
<dt><%= Spree.t(:response_code) %>:</dt> | ||
<dd><%= payment.response_code %></dd> | ||
</dl> | ||
</div> | ||
</div> | ||
</fieldset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
# Sample localization file for English. Add more files in this directory for other locales. | ||
# See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points. | ||
|
||
en: | ||
hello: Hello world | ||
solidus_paypal_braintree: | ||
nonce: Nonce |