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

Scorecards 2023 - Privacy policy page #569

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

lucascumsille
Copy link
Contributor

Fixes: #503

Preview here:

Screen.Recording.2023-10-04.at.10.49.41.mov

Copy link
Member

@zarino zarino left a comment

Choose a reason for hiding this comment

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

Looks good. Just one comment about the missing page title.

@@ -47,6 +47,10 @@ class LogoutView(LogoutView):
next_page = "scoring:home"


class PrivacyView(TemplateView):
template_name = "scoring/privacy.html"
Copy link
Member

Choose a reason for hiding this comment

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

I think you’ll want to set the page_title context variable, so that the <title> tag in the <head> gets populated?

def get_context_data(self, **kwargs):
    context = super().get_context_data(**kwargs)
    context["page_title"] = "Privacy policy"
    return context

@lucascumsille lucascumsille merged commit 89e926d into scorecards-2023 Oct 4, 2023
1 of 5 checks passed
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