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

Removed unused admin section #6901

Merged

Conversation

chen-robert
Copy link
Contributor

Resolves #6864

I removed the unused admin section from app/views/tag/show/_user_controls.html.erb.

@jywarren @gauravano @ananyaarun could you take a look please? Thanks!

@SidharthBansal
Copy link
Member

Please provide us a screenshot of before and after the changes are done!
Thanks for doing a superb job Chen

@chen-robert
Copy link
Contributor Author

@SidharthBansal I'm not quite sure what to screenshot. This PR removes the unused admin section, as described in #6864, with no actual UI changes (seems to be more of a code refactoring issue).

@SidharthBansal
Copy link
Member

SidharthBansal commented Dec 5, 2019 via email

@chen-robert
Copy link
Contributor Author

@SidharthBansal sorry, I double-checked and it removes the "Add a tag parent" from the dropdown menu.

Before:
image

After:
image

This is only shown to admin users however, due to the <% if logged_in_as(['admin']) %> check.

@SidharthBansal
Copy link
Member

SidharthBansal commented Dec 5, 2019 via email

@SidharthBansal SidharthBansal merged commit 76ce2d2 into publiclab:master Dec 5, 2019
@SidharthBansal
Copy link
Member

Superb 🎉

@chen-robert
Copy link
Contributor Author

Thanks! Which code links did you want me to provide?

@SidharthBansal
Copy link
Member

I meant that you can tell me the task url on GCI dashboard so that I can approve it there.

Tlazypanda pushed a commit to Tlazypanda/plots2 that referenced this pull request Jan 14, 2020
vinitshahdeo pushed a commit to vinitshahdeo/plots2 that referenced this pull request Feb 1, 2020
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.

Remove tag parenting UI from templates
2 participants