bookwyrm/bookwyrm/templatetags
Hugh Rundle b990d9ccd8
Pass correct user id in Move notification
We were passing the *requesting* user's moved_to value to the Move notification template, instead of the id of the user that they are being notified about.
Additionally, the id_to_username template tag had no fallback for if the user_id is None.

This resolves both problems and removes an unnecessary space in a template for when the logged in user made the move.

Fixes #3196
2024-01-17 21:06:04 +11:00
..
__init__.py rename main code directory 2020-09-17 13:30:54 -07:00
book_display_tags.py spelling: should 2023-04-04 20:02:54 -04:00
celery_tags.py Show queues and runtime instead of start time 2022-09-15 10:53:08 -07:00
date_ext.py naturalday_partial: simplify/refactor 2024-01-01 18:36:31 +01:00
feed_page_tags.py Moves remaining tags into new files 2022-01-18 12:28:59 -08:00
group_tags.py Renames group tags 2022-01-18 12:32:12 -08:00
interaction.py Fixes user follow cache 2022-11-17 11:23:48 -08:00
landing_page_tags.py Fixes localizing query for superlatives 2022-03-01 10:34:17 -08:00
layout.py Fix site_path tag 2021-05-26 16:57:28 +02:00
list_page_tags.py Improve Open Graph data for books and add it for lists 2023-01-18 10:30:26 -05:00
markdown.py More templatetag files 2021-05-11 15:14:42 -07:00
notification_page_tags.py Reverse order of notification related users 2022-07-12 10:32:56 -07:00
rating_tags.py Avoid server error when encountering broken edition 2023-07-17 07:07:01 -07:00
shelf_tags.py Merge pull request #2789 from bpeel/translatable-shelf-name 2023-04-15 16:59:59 +02:00
stars.py Fixes labels 2021-09-10 14:41:55 -07:00
status_display.py Fixes want to read status header 2021-08-21 11:49:57 -07:00
user_page_tags.py Moves remaining tags into new files 2022-01-18 12:28:59 -08:00
utilities.py Pass correct user id in Move notification 2024-01-17 21:06:04 +11:00