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 "invite-options" template hook #5045

Merged
merged 1 commit into from
Aug 18, 2021

Conversation

vasantvohra
Copy link
Contributor

Working on a new feature at the UN plugin side, which allows importing and sending invitations in bulk using excel. This requires the addition of buttons on the core template. Therefore, I'd like to add a template hook there.

Let me know if any changes are required on this PR.

Here are some screenshots for reference :)
Screenshot 2021-08-18 at 6 16 27 PM

Screenshot 2021-08-18 at 6 17 16 PM

@@ -21,6 +21,7 @@
</div>
</div>
<div class="toolbar">
{{ template_hook('invite-options', event=event, regform=regform) }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
{{ template_hook('invite-options', event=event, regform=regform) }}
{{ template_hook('registration-invite-options', event=event, regform=regform) }}

Just to be clearer of the scope.

@vasantvohra vasantvohra changed the base branch from master to 3.0.x August 18, 2021 13:05
@ThiefMaster ThiefMaster enabled auto-merge (squash) August 18, 2021 13:11
@ThiefMaster ThiefMaster merged commit a6a453d into indico:3.0.x Aug 18, 2021
@vasantvohra vasantvohra deleted the wip/template_hook branch August 18, 2021 19:04
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.

None yet

2 participants