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 macro n:ifAuthorized #595

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

juzna
Copy link
Contributor

@juzna juzna commented Mar 17, 2012

{ifAuthorized like! $item->id}
  <a n:href="like! $item->id">Like</a>
{/ifAuthorized}

@juzna
Copy link
Contributor Author

juzna commented Mar 17, 2012

@juzna
Copy link
Contributor Author

juzna commented Mar 17, 2012

(I've got some mistakes in coding standard, will fix)

@vjirovsky
Copy link
Contributor

+1, nice, useful, why milestone 2.2?

@enumag
Copy link
Contributor

enumag commented Aug 26, 2013

Because this implementation is wrong and it can be easily added even now using your own compiler extension. I'll put my implementation on GitHub after Nette 2.1 is out.

@TomasVotruba
Copy link
Contributor

@enumag ping 2

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

Successfully merging this pull request may close these issues.

None yet

5 participants