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

Feat: Conditional toolbar #2525

Closed
iJungleboy opened this issue Sep 21, 2021 · 0 comments
Closed

Feat: Conditional toolbar #2525

iJungleboy opened this issue Sep 21, 2021 · 0 comments

Comments

@iJungleboy
Copy link
Contributor

I'm submitting a ...
[x] feature request

...about
[x] Razor templating

Current behavior

Sometimes you want a toolbar to only appear on specific conditions - like if the data is not the IsDemoItem. ATM this is ugly to implement. better would be something like

@Edit.Toolbar(Content, condition: !Content.IsDemoItem)

Your environment

  • 2sxc version(s): 12.04
@iJungleboy iJungleboy self-assigned this Sep 21, 2021
@iJungleboy iJungleboy added this to To do in 2sxc 12.00 to 2sxc 12.08 LTS via automation Sep 21, 2021
iJungleboy added a commit that referenced this issue Sep 21, 2021
2sxc 12.00 to 2sxc 12.08 LTS automation moved this from To do to Done Sep 21, 2021
@iJungleboy iJungleboy moved this from Done to V12.05 in 2sxc 12.00 to 2sxc 12.08 LTS Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

1 participant