Ghost/ghost/admin/app/templates
Kevin Ansfield 581f0b34b4
🐛 Fixed missing validation of offer amounts in the admin panel (#16022)
closes https://github.com/TryGhost/Team/issues/2380

- improved offer validation for `amount` field to cover all type/amount cases
- added validate-on-blur to the amount field to match our standard validation behaviour
- added re-validation of the amount field when the type is changed and the amount gets reset
- removed the internal parsing of a decimal trial days entry to an integer so the field value matches what is set internally and we let the user know that partial trial days are not supported

Non-user-facing refactors:
- renamed `_saveOfferProperty` to `_updateOfferProperty` to better reflect what it does
- fixed missing indentation for conditional blocks in the offer template
2023-01-03 09:23:11 +00:00
..
editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
explore Added Ghost Explore in Ghost as iframe app behind feature flag (#15495) 2022-10-07 14:32:54 +01:00
lexical-editor Lexical-powered editor experiment (#15278) 2022-08-23 11:45:50 +01:00
members Added new members CSV importer (#1797) 2020-12-10 01:02:31 +05:30
posts Wired email debug screen with API (#15919) 2022-12-02 14:38:40 +05:30
react-editor Fixed linter error for use of {{action}} in editor-loading controller 2022-07-18 10:50:03 +01:00
settings Migrated <GhValidationStatusContainer> to {{validation-status}} modifier 2022-12-09 12:38:35 +00:00
setup Updated the copy for All Done screen 2022-03-10 11:50:35 +00:00
application-error.hbs Migrated to <AngleBracketSyntax /> (#1460) 2020-01-16 15:14:03 +00:00
application.hbs Added Ghost Explore app 2022-10-26 10:05:50 +01:00
dashboard.hbs Fixed date range dropdown without flag 2022-10-11 10:47:31 +02:00
designsandbox.hbs Added <GhPostBookmark> and displayed on publish flow complete step 2022-05-10 13:26:13 +01:00
editor.hbs Reduced default post relations (#15798) 2022-11-15 10:17:26 +01:00
error.hbs Fixed 404 code alignment 2021-07-08 15:42:46 +02:00
lexical-editor.hbs Switched snippet update modal to new modal pattern 2022-11-14 09:55:34 +00:00
lexicalsandbox.hbs Updated lexical sandbox page structure 2022-09-28 11:06:32 +07:00
member.hbs 🐛 Fixed unexpected "unsaved changes" modal when deleting a member 2022-12-05 11:48:37 +00:00
members-activity.hbs Added spam event to feed in frontend admin (#15847) 2022-11-18 14:33:48 +04:00
members.hbs Cleaned up member filters (#15784) 2022-11-10 11:05:12 +01:00
offer.hbs 🐛 Fixed missing validation of offer amounts in the admin panel (#16022) 2023-01-03 09:23:11 +00:00
offers.hbs 🐛 Fixed archived offers return button not working (#16023) 2022-12-16 11:32:05 +01:00
pages-loading.hbs Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
pages.hbs Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
posts-loading.hbs Refactored posts and pages controllers to Octane patterns 2022-10-07 18:39:34 +01:00
posts.hbs 🐛 Fixed error preventing admin area being usable by staff users with Contributor role 2022-10-31 12:01:39 +00:00
reset.hbs Refactored reset controller to Octane patterns 2022-10-07 19:07:51 +01:00
settings.hbs Added Playwright member's actions tests (#15968) 2022-12-12 10:13:08 +04:00
setup.hbs Fixed flash of failure state when submitting site setup and staff signup forms 2022-05-27 12:13:54 +01:00
signin.hbs Refactored signin controller to Octane patterns 2022-11-01 14:12:23 +00:00
signup.hbs Migrated signup screen to Octane patterns 2022-05-27 13:28:29 +01:00
site.hbs Added reset-to-homepage behaviour when clicking "view site" link 2019-03-21 17:55:58 +00:00
tag.hbs Fixed breadcrumbs responsive issues 2022-10-06 16:25:57 +07:00
tags-loading.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
tags.hbs Updated breadcrumb and title style across admin 2022-10-04 12:35:29 +07:00
whatsnew.hbs Renamed {{scroll-to}}'s shouldScroll argument to when 2022-11-11 11:53:53 +00:00