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

Enhance to work with custom css-tags #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

digital-h
Copy link

I pretty much like your library. But unfortunately I ran into the problem, that I already have a style for my pagination with my dedicated css-classes. Therefor I needed a way to customize your output to match my css-classes.

I now came up with the following apprach, as I think it is most straightforward to handle it directly in the tag. The idea is: if a custom-css-tag is defined, then use it. Otherwise do the fallback to the default css-class.

I hope you like my approach and I would be glad if you would include it in your project, so that I can also work with future releases.

Hint: I only refactored the properties-file for german now. In case you want to merge this PR, these changes have to be adapted to the other languages as well.

Hope to hear from you soon!

@jpenren
Copy link
Owner

jpenren commented Dec 12, 2017

Another alternative can be overwrite the properties files in your own project. If do you place your custom properties files on src/main/resources/thymeleaf-spring-data-dialect/*.properties on project that uses the library, this will be used

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

Successfully merging this pull request may close these issues.

3 participants