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

Jl - Remove editing nonclinical tab #709

Merged
merged 1 commit into from
Apr 28, 2020
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

.bootstrap-table-dropdown-overflow
#sla-custom-toolbar
%p= "All editing functions for non-clinical services should be done in Sparc Dashboard"
%p= t(:line_item)[:edit_in_sparc]
/ %button.btn.btn-success.otf_service_new{type: "button", aria: {label: "Add Line Item"}}= t(:line_item)[(is_protocol_type_study? (@protocol)) ? :add_line_item_study : :add_line_item_project]
%table.study_level_activities{id: "study-level-activities-table", data: {toggle: 'table', search: "true", "show-columns" => "true", "show-refresh" => "true", "show-toggleOn" => "true", url: line_items_path(format: :json, protocol_id: protocol.id), striped: "true", toolbar: "#sla-custom-toolbar", "show-export" => "true", "export-types" => ['xlsx'], "export-options" => "{\"ignoreColumn\": [], \"fileName\": \"Protocol_#{protocol.sparc_id}\"}"}}
%thead.primary-header
Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ en:
create_project: "Create New Non-clinical Service"
delete_line_item: "Delete line item"
edit: "Edit Non-clinical Service"
edit_in_sparc: "All editing functions for non-clinical services should be done in SPARCDashboard"
flash_messages:
created: "Non-clinical Service Created"
deleted: "Non-clinical Service Deleted"
Expand Down