Skip to content

Commit

Permalink
wth - (SPARCRequest & SPARCDashboard) Display Research Master ID in
Browse files Browse the repository at this point in the history
"View Study/Project Details" and "Study Summary"

This fixes error where Research Master ID was being displayed in the
Project Summaries on Proper and Dashboard. Only should be on Studies. [#139008535]
  • Loading branch information
William Holt committed Feb 17, 2017
1 parent ae4f31b commit 7c17b17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/dashboard/protocols/_summary.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
= edit_protocol_button_display(protocol, permission_to_edit)
.clearfix
.panel-body#protocol-summary.text-left
- if RESEARCH_MASTER_ENABLED
- if RESEARCH_MASTER_ENABLED && protocol.is_study?
.row
.col-sm-2
%label
Expand Down
2 changes: 1 addition & 1 deletion app/views/protocols/_summary.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
= link_to I18n.t('protocols.edit', protocol_type: protocol_type), edit_protocol_path(protocol, srid: service_request.id), class: 'btn btn-warning edit-protocol-information-button'
.clearfix
.panel-body#protocol-summary.text-left
- if RESEARCH_MASTER_ENABLED
- if RESEARCH_MASTER_ENABLED && protocol.is_study?
.row
.col-sm-3
%label
Expand Down

0 comments on commit 7c17b17

Please sign in to comment.