Skip to content

Add user variable to templates#4

Open
cooperised wants to merge 1 commit into
usernein:mainfrom
cooperised:user-variable
Open

Add user variable to templates#4
cooperised wants to merge 1 commit into
usernein:mainfrom
cooperised:user-variable

Conversation

@cooperised

Copy link
Copy Markdown

This small patch makes the {{ user }} variable available from within templates using this card. In common with other cards that support frontend jinja templates, this variable contains the friendly name of the logged-in user.

@cooperised

Copy link
Copy Markdown
Author

Closes #3 (at least, the part about the {{user}} variable).

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.

2 participants