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

Fix reactions modal #7

Merged

Conversation

gamboz
Copy link
Contributor

@gamboz gamboz commented Apr 15, 2024

As per comments-ink/django-comments-ink#59 , there seems to be a miss-match between the name of the template used in views.reacting.ReactedToObjectUserListView and the code that would work with modal.js.

Here I've only created a link to list_reacted_to_object.html (which seems to be what modal.js expects), with the name used in the view, but it's not the ideal solution.

I'm not sure how to proceed:

  1. change the name of the template here?
  2. change the name of the template in the view?

I think list_reacted is not used as template name in django-comments-ink, so I'd be inclined toward solution 1 🙂

This PR depends on this PR on the main project side.

gamboz added 3 commits April 15, 2024 09:15
i.e. not the complete rendered template
but call it users_reacted_to_object.html, as it's referenced in
django-comments-ink.views.reacting.ReactedToObjectUserListView
@gamboz gamboz marked this pull request as ready for review April 15, 2024 09:42
@danirus danirus merged commit 6b0ca9d into comments-ink:main Apr 15, 2024
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