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 the view pattern syntax #8

Closed
NaPs opened this issue Jul 22, 2013 · 1 comment
Closed

Enhance the view pattern syntax #8

NaPs opened this issue Jul 22, 2013 · 1 comment
Milestone

Comments

@NaPs
Copy link
Owner

NaPs commented Jul 22, 2013

Somes ideas:

  • Field alternatives, eg: {title_fr|title} -> take title_fr, and if not present, take title (already implemented in commit a716196)
  • Default value in field alternative, eg: {favorite|"Not faves"}
  • Transformation flags, eg: {title:lower}
@NaPs
Copy link
Owner Author

NaPs commented Jul 23, 2013

Alternative and default have been implemented. Transformation is put aside for now because not really useful finally.

@NaPs NaPs closed this as completed Jul 23, 2013
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant