Claudio Sanches
525db3aa21
Fixed incorrect package tags
2020-08-05 17:49:10 -03:00
Rodrigo Primo
23b69eba53
Use phpcbf to fix coding standard violations in includes/admin
...
After using phpcbf to fix the coding standard violations, I did some manual adjustments to the changes, especially in poorly indented files.
2018-03-05 16:21:35 -03:00
Mike Jolley
95cc51ae5c
Swap to text input for tax rate %, and format as decimal.
...
Closes #16524
2017-08-21 12:49:23 +01:00
Rami Yushuvaev
d2457fe922
i18n: escape translation strings and fix wrong usage of i18n functions
2017-03-13 07:39:46 +02:00
Claudiu Lodromanean
4a4de2a951
Americanize some words
2017-02-27 14:59:37 -08:00
Justin Shreve
a315e174b7
Fix tax name typo and wrap with _escape.
2016-12-07 11:03:28 -08:00
Rami Yushuvaev
8ab8bef52e
add translators comments
2016-10-29 13:51:56 +03:00
Rami Yushuvaev
4375618438
i18n context functions ( #12156 )
...
* Replace some context function with translation comments
* Remove two more context function
* Replace another context function with translation comments
2016-10-24 08:31:07 +01:00
Claudio Sanches
657c312cae
Fix strings case ( #12069 )
...
* Fixed case for all _e, esc_attr_e and esc_html_e strings
* Fixed case for all _n_noop strings
* Fixed case for all _x strings
* Fixed case for all __, esc_html__ and esc_attr__ strings
* Fixed a few more strings
* Fixed strings in unit tests
* Fix PayPal Standard case.
* Save Order text
2016-10-12 11:16:30 +01:00
Rami Yushuvaev
83e938af1e
i18n: Merge similar translation strings to reduce the total strings count #11905
2016-10-11 04:39:13 +03:00
Mike Jolley
0d6a3af108
Remove sorting function
2016-07-27 10:22:02 +01:00
Mike Jolley
a02ac79339
Change range symbol to ... to avoid conflicts with postcodes with hyphens
2016-05-23 17:30:37 +01:00
Mike Jolley
3fcc68e2f8
Replace http hrefs with https
...
Closes #10716
2016-04-18 11:58:12 +01:00
Mike Jolley
8c85183d6e
[2.5] Remove case check from tax rate country REGEX
2016-01-27 12:10:36 +00:00
Claudio Sanches
636e2389aa
Changed … to …
2016-01-12 14:03:01 -02:00
Mike Jolley
70a9eb3807
Fix pagination + sorting on tax screen
...
@claudiosmweb
2016-01-12 12:01:10 +00:00
Claudio Sanches
b85ae9056c
Rename wc_add_help_tip() function to wc_help_tip()
2015-10-23 13:09:08 -02:00
Claudio Sanches
2e95a68357
Use new "question" mark icon font
...
Created wc_add_help_tip() function to generate the icons
Replaced all .help_tip elements and [?]
We'll keep the old image and styles in order to maintain backwards
compatibility
Closes #9381
2015-10-23 01:40:52 -02:00
Mike Jolley
d5409f5b5e
Merge conflicts
2015-10-08 13:28:25 +01:00
Mike Jolley
0197a99065
Merge branch 'issue/8587'
...
Conflicts:
assets/css/admin.css
assets/css/woocommerce.css
includes/admin/class-wc-admin-assets.php
includes/admin/settings/views/html-settings-tax.php
2015-10-08 13:26:52 +01:00
Mike Jolley
8ee479afd7
Remove unused input
2015-10-08 13:25:01 +01:00
Mike Jolley
ac02ec290a
Improved styling and wording
2015-10-08 13:18:00 +01:00
Florian Ludwig
35655f8544
Fixed all inefficient selector usages
...
Use find for more efficient selectors - more information on e.g.
https://24ways.org/2011/your-jquery-now-with-less-suck/
2015-09-07 19:51:10 +02:00
George Stephanis
81804d8d3b
Don't show the `pre` displaying the changes by default.
2015-08-14 11:07:35 -04:00
George Stephanis
b4bd433342
Update the unsaved message to give better data.
2015-08-13 11:58:09 -04:00
George Stephanis
f77b77e335
New template for empty set.
2015-08-12 15:29:17 -04:00
George Stephanis
220550621a
Populate the search field value attribute
2015-08-12 14:38:25 -04:00
George Stephanis
4aedda5eb8
Indent the template file properly.
2015-08-12 13:52:04 -04:00
George Stephanis
56218b0824
Add in a notification for unsaved changes.
2015-08-12 12:59:13 -04:00
George Stephanis
8dc2126718
Update the tablenav so the gotos are never out of range.
2015-08-12 12:59:12 -04:00
George Stephanis
837931f99a
Check for truthiness.
...
This avoids silliness where `’0’` evaluates to true. Just parse it as
an int and evaluate that.
2015-08-12 12:59:11 -04:00
George Stephanis
2a0951e4e5
Add more data attributes to the rows and fields.
2015-08-12 12:59:11 -04:00
George Stephanis
8a416f105b
Should be comparing to `'1'` not `1`.
2015-08-12 12:59:10 -04:00
George Stephanis
ddba588987
Migrate the logic and queries out of the template file.
...
Move them where they belong, in the class that calls it.
2015-08-12 12:59:09 -04:00
George Stephanis
5f4cbf78d0
Remove the legacy pagination.
2015-08-12 12:59:09 -04:00
George Stephanis
4df13e6ffb
Don't set them for unexistent rates.
2015-08-12 12:59:09 -04:00
George Stephanis
7bebbaff9e
Pagination now works by first, prev, next, last.
...
Still need to get number based pagination working.
2015-08-12 12:59:09 -04:00
George Stephanis
cf59aec17d
Add in and populate pagination template.
...
The buttons don’t actually do anything yet, but it outputs accurately
and inherits core styles.
2015-08-12 12:59:09 -04:00
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