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

Option to display navbar #691

Merged
merged 5 commits into from
Sep 13, 2020
Merged

Option to display navbar #691

merged 5 commits into from
Sep 13, 2020

Conversation

svileshina
Copy link
Collaborator

@svileshina svileshina commented Sep 10, 2020

The issue is attached - there needs to be an option as to whether the navbar should show up on the Community Resources and the Annoucements pages. So I added an option for that in system settings that can be toggled.

Question:
the lists /annoucements-list and /community-resources-list are both handled by PublicPagesController, so I added the same method in there as well but I am not sure if that was intended or not (last commit)

Also should index also have the display_navbar switch or should it always be without_navbar?

@svileshina svileshina linked an issue Sep 10, 2020 that may be closed by this pull request
Copy link
Collaborator

@solebared solebared left a comment

Choose a reason for hiding this comment

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

Looks great! 🚀 A couple of very minor comments.

app/controllers/announcements_controller.rb Outdated Show resolved Hide resolved
app/controllers/announcements_controller.rb Outdated Show resolved Hide resolved
@svileshina svileshina merged commit 27419ca into main Sep 13, 2020
@solebared solebared deleted the option-to-display-navbar branch October 2, 2020 21:36
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.

Option to display navbar on CommunityResources and Announcements
2 participants