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

Hide "view report" button from Arches system settings #11662

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
2 changes: 1 addition & 1 deletion arches/app/views/resource.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ def add_i18n_to_widget_defaults(widgets):
context["nav"]["title"] = ""
context["nav"]["menu"] = nav_menu

if resourceid not in (None, ""):
if resourceid not in (None, "", settings.SYSTEM_SETTINGS_RESOURCE_ID):
context["nav"]["report_view"] = True

if resourceid == settings.RESOURCE_INSTANCE_ID:
Expand Down
3 changes: 2 additions & 1 deletion releases/8.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ Arches 8.0.0 Release Notes
- Add support for tile sort order to the bulk data manager [#11638](https://github.com/archesproject/arches/pull/11638)
- Show the loading UX immediately when the user imports a resource model [#10540](https://github.com/archesproject/arches/issues/10540)
- Fix issue that produced an error when cycling between the dropdown options in Advanced search [#11442](https://github.com/archesproject/arches/issues/11442)
- Adds message when copying geojson url to clipboard [#11076](https://github.com/archesproject/arches/issues/11076)
- Add message when copying geojson url to clipboard [#11076](https://github.com/archesproject/arches/issues/11076)
- Hide "view report" button in Arches system settings [#11659](https://github.com/archesproject/arches/issues/11659)

### Dependency changes
```
Expand Down