Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changes/600.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed missing f-prefix in share_title f-string that caused the share title to display incorrectly.
4 changes: 2 additions & 2 deletions src/goats_tom/templatetags/tom_overrides.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,8 +167,8 @@ def get_photometry_data(context, target, target_share=False):
"submitter": context["request"].user,
"target": target,
"data_type": "photometry",
"share_title": f"Updated data for {target.name} from"
"{getattr(settings, 'TOM_NAME', 'TOM Toolkit')}.",
"share_title": f"Updated data for {target.name} from "
f"{getattr(settings, 'TOM_NAME', 'TOM Toolkit')}.",
}
form = DataShareForm(initial=initial)
form.fields["data_type"].widget = forms.HiddenInput()
Expand Down
Loading