-
Notifications
You must be signed in to change notification settings - Fork 33
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
Template variable in the link #64
Comments
Sounds doable. I guess we should support email and user id for now? |
I'd actually need First and Last name too. I thought about a "dirty" way, using js, and modify at print time. I'm quiet new to Nextcloud app dev, so if you could point to similar code, would be really helpful. And also, what do you think about the formalism? Thanks a lot for your help! |
I would use what we do in JS code everywhere:
So email, userId and displayName?
Cool 😎 So let me give you some hints:
|
I'm a Nextcloud admin.
I'd like to put links under quota that point to my billing system.
My billing system expects an email in the url for the bill.
Implementation proposal
We create a function that allow Nextcloud admin to have special chars in the url, like say
{{ email }}
, and this would be replaced at runtime, by the actual email of the user.so then, in the admin settings, I'd write:
And as a user, when I click on the link, I'd go to:
What do you think about this feature?
The text was updated successfully, but these errors were encountered: