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

Add the possibility of defining aliases for columns #36

Open
mchojrin opened this issue Mar 7, 2017 · 2 comments
Open

Add the possibility of defining aliases for columns #36

mchojrin opened this issue Mar 7, 2017 · 2 comments

Comments

@mchojrin
Copy link

mchojrin commented Mar 7, 2017

I'm seeing a column name in my index.html that I'd like to change for something more readable (view wise).

I believe it could be achieved by changing the parameters in vendor/petkopara/crud-generator-bundle/Resources/views/macros/th_sortable.html.twig:

If colName whas actually (perhaps optionally) an array it should be easy to do.

@RodolVelasco
Copy link

@mchojrin did you find a way to change the name of a column?

@mchojrin
Copy link
Author

@RodolVelasco not really. I have to say though I haven't tried that hard either... I've been busy with other things. I guess the way to go would be to try that on a sandbox project and, if it works, create a pull request to submit the improvement...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants