Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Be able edit (in case of database repo) translations in phrases page #62

Open
oriolbcn opened this issue Oct 19, 2018 · 0 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@oriolbcn
Copy link
Contributor

oriolbcn commented Oct 19, 2018

Ideally we need to make the updates via AJAX from Vue. In order to do that we need to support the JSON format in the update method and return the updated translation. Also see if we can get the csfr token.

From Vue we make the request and update the translation in the front-end too. We can add the path to call for each translation when rendering the template from Rails, and probably also the authenticity token to pass the csfr protection (otherwise we would need to disable it for this endpoint)

@oriolbcn oriolbcn added the enhancement New feature or request label Oct 19, 2018
@artero artero self-assigned this Nov 5, 2018
@artero artero mentioned this issue Nov 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants