George Stephanis
be4c7db8bd
Pass rates in as an array, not an associative array, so it's an Array in js.
2015-08-12 12:59:08 -04:00
George Stephanis
c9a1ba2f39
A default placeholder to show until the rendering code replaces it.
2015-08-12 12:59:08 -04:00
George Stephanis
536402c183
Insert placeholder divs for search and pagination.
2015-08-12 12:59:07 -04:00
George Stephanis
308c7f8676
Whitespace tweaks
2015-08-12 12:59:07 -04:00
George Stephanis
676af1f308
JSHint fixes.
...
The other advantage of splitting js out of php files — jshint can run
on it! :) :) :)
2015-08-12 12:59:07 -04:00
George Stephanis
52d4ea822c
Extract 'No Rows Selected' string
2015-08-12 12:59:07 -04:00
George Stephanis
973348d6ad
Whitespace tidy!
2015-08-12 12:59:06 -04:00
George Stephanis
18293cf365
Extract the autocomplete for states and countries data.
...
Localize it!
2015-08-12 12:59:06 -04:00
George Stephanis
5d5a64753d
Migrate csv columns to localize script.
2015-08-12 12:59:06 -04:00
George Stephanis
39749c4563
Move js in from php template file.
2015-08-12 12:59:06 -04:00
George Stephanis
a63ef876d7
Rename and tweak how js is registered.
...
Thanks @claudiosmweb for the suggestion to match existing conventions.
2015-08-12 12:59:06 -04:00
George Stephanis
0ed5f40fa2
Prefix template name with `wc-`
...
Good call, @mikejolley
2015-08-12 12:59:06 -04:00
George Stephanis
a59ed70774
Big changeover to JS templating for the table.
...
Switching over to building the table with JS — wp.template.
We are now using the same JS template for existing rows and newly
generated rows on the fly — this should simplify things moving forward.
I’ve also started building stuff in an external JS file rather than
straight on the page. Will continue migrating things to it and
localizing as needed.
Saved ( 2 * displayed tax rates - 1 ) db queries per page load by doing
the locations all in one query and then parceling them out in php.
More coming.
2015-08-12 12:59:06 -04:00
George Stephanis
cb4e3cb774
Tax Rate Search: First whack.
...
This is by no means complete. A number of things need to be relocated
and optimized still, but it does a rough search, purely in JS, and
highlights the results in yellow.
2015-08-12 12:59:05 -04:00
Mike Jolley
ddd97b64c3
Remove white space to fix appearance of new rows
...
Fixes #8730
2015-08-06 11:38:46 +01:00
Shiva Poudel
0d1c2dc4dc
Fix - calls for esc_*
2015-08-06 02:04:21 +05:45
George Stephanis
95e6b84fbb
Make sure we esc_attr translation results
...
Part 2 of … 2, I think.
2015-08-05 14:15:00 -04:00
George Stephanis
29d9a7da8c
Found two missing `esc_js()` calls as well.
2015-08-05 14:10:10 -04:00
George Stephanis
c7ee929325
Partial _e() => esc_attr_e() changeover.
...
There’s a lot of them, so I’m breaking them into multiple commits.
This is safeguarding stuff in case some translation uses a double
quote, it will no longer risk breaking out of the attribute.
2015-08-05 14:10:09 -04:00
Claudio Sanches
054dfe0c7b
Changed default Underscore's template for wp.template in API Keys
2015-08-05 15:02:55 -03:00
Fredrik Rossland
841beb95a6
Found a typo, "Permissons"
...
Changed "Permissons" to "Permissions"
2015-08-01 19:42:10 +02:00
Claudio Sanches
eebd47ecf8
Improved truncated key description
2015-07-16 15:45:00 -03:00
Claudio Sanches
e0be5a2e9f
Added truncated consumer key and last access fields in woocommerce_api_keys table
2015-07-16 15:42:00 -03:00
Beka Rice
54e00fc84a
Fix typo while creating API keys
...
adds missing closing parentheses around user email:
https://cldup.com/pvTlBGBMot.png
2015-07-15 17:30:41 -04:00
Mike Jolley
ed451f278f
Unused var
2015-07-15 16:37:29 +01:00
Mike Jolley
18c6a940f1
Merge branch 'onboarding'
...
Conflicts:
assets/css/admin.css
assets/css/select2.css
assets/css/woocommerce-layout.css
assets/css/woocommerce.css
assets/js/admin/order-backbone-modal.min.js
includes/admin/class-wc-admin-help.php
includes/admin/class-wc-admin.php
includes/admin/views/html-admin-page-status-report.php
includes/admin/views/html-notice-install.php
includes/admin/views/html-notice-template-check.php
includes/admin/views/html-notice-theme-support.php
includes/admin/views/html-notice-tracking.php
includes/class-wc-install.php
includes/class-wc-language-pack-upgrader.php
includes/shipping/international-delivery/class-wc-shipping-international
-delivery.php
2015-07-04 23:11:12 +01:00
Mike Jolley
14c88b49bc
Tweak option labelling
2015-06-23 12:20:13 +01:00
Mike Jolley
4a9c2aece9
Update option wording
2015-06-17 14:27:42 +01:00
Mike Jolley
33c298fea7
Experiment with appending geolocation to query string to prevent caching
2015-06-17 12:12:49 +01:00
Evan Mattson
2181cd1d26
rename $email_id to $email_key
...
`$email_id` here is not the same as `$email->id`, renaming to show this, and for consistency with similar code
2015-06-16 21:37:54 -04:00
Evan Mattson
c9c48b718e
identify current section by email key to be consistent
2015-06-16 21:36:36 -04:00
Tamara Zuk
bd7f07d29f
[2.3] Fix bug introduced in #8365
...
my mistake 🙀
2015-06-16 14:46:54 -04:00
Claudio Sanches
dde7bc699b
Merge pull request #8385 from jobthomas/master
...
Copy edit shipping settings
2015-06-16 10:54:19 -03:00
Job
fd5fec705b
Copy edit shipping settings
...
users > customer's
2015-06-16 15:51:36 +02:00
Mike Jolley
09fb3a604b
[2.3] Small tweak to use email ID rather than classname directly
...
#8365
2015-06-16 14:47:03 +01:00
Tamara Zuk
92c6d3d649
[2.3] Email settings save tweak
...
Allows emails to use a single common class as is done in Order Status
Manager
2015-06-13 10:15:58 -04:00
Claudio Sanches
4698111dd2
Hide api key fields when generate a new keys
2015-06-08 20:22:49 -03:00
Claudio Sanches
51c5ef6b20
Removed extra <p>
2015-06-08 19:45:14 -03:00
Claudio Sanches
89ddda9ff6
Added new api key generation methods
2015-06-08 19:41:35 -03:00
Mike Jolley
1e3fcd0e6d
[2.3] Avoid initialising classes when saving
2015-05-29 17:38:25 +01:00
Claudio Sanches
f503cda874
Improved hold stock input width, closes 8233
2015-05-27 14:26:12 -03:00
Claudio Sanches
e106d57947
Merged #8021
2015-05-18 16:53:04 -03:00
Claudio Sanches
c4d4a623b5
Improved the API Keys table list, added actions and fixed the links
2015-05-18 15:33:36 -03:00
Claudio Sanches
2f5df9c185
Added methods to generate and edit API keys
2015-05-18 15:23:05 -03:00
Matt Harrison
b656ef904a
minor grammar fix. "an SSL" to "a SSL"
2015-05-18 09:03:51 -04:00
Claudio Sanches
c49ab520b8
Created page to edit and create keys
2015-05-16 00:09:29 -03:00
Claudio Sanches
2689d8b51e
Created api keys table list
2015-05-15 23:03:24 -03:00
Claudio Sanches
572712cb52
Improved the access to the keys/apps section in api tab
2015-05-15 17:14:31 -03:00
Claudio Sanches
eb6f25b47b
Moved some webhooks admin methods from WC_Settings_Rest_API to WC_Admin_Webhooks class
2015-05-15 16:50:30 -03:00
Claudio Sanches
7b8a24924a
Moved api settings to API tab
2015-05-15 16:35:50 -03:00