Skip to content

Commit

Permalink
Hide secure outcome for #348
Browse files Browse the repository at this point in the history
  • Loading branch information
nutjob4life committed Mar 14, 2024
1 parent c13eaea commit 94e4a1d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/eke.knowledge/src/eke/knowledge/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,13 @@ def get_context(self, request: HttpRequest, *args, **kwargs) -> dict:
context['publications'] = [i for i in self.publications.order_by(Lower('title'))]

# Show the new secure outcome only for logged in users
context['show_secure_outcome'] = request and request.user.is_authenticated
# context['show_secure_outcome'] = request and request.user.is_authenticated
#
# Actually …
#
# In https://github.com/EDRN/P5/issues/348#issuecomment-1998265624 @hoodriverheather requests
# that we don't show the secure outcome
context['show_secure_outcome'] = False

return context

Expand Down

0 comments on commit 94e4a1d

Please sign in to comment.