Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@
<asp:BoundField DataField="Medication" HeaderText="Medication" />
<asp:BoundField DataField="Instructions" HeaderText="Instructions" />
<asp:BoundField DataField="Schedule" HeaderText="Schedule" />
<Rock:DeleteField HeaderText="Remove" ID="btnDeleteMed" OnClick="btnDeleteMed_Click" />
</Columns>
</Rock:Grid>
<asp:LinkButton runat="server" ID="btnAddMedication" CssClass="btn btn-primary margin-t-sm"
OnClick="btnAddMedication_Click"><i class="fa fa-plus"></i> Add Medication</asp:LinkButton>
<div class="margin-t-sm text-muted small">
<i class="fa fa-info-circle"></i> Medications are managed through the registration process. Contact an administrator to make changes.
</div>
</div>
</div>
</Content>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1134,8 +1134,8 @@ protected void ManageMeds_Click( object sender, Rock.Web.UI.Controls.RowEventArg

var person = personService.Get( personId );
mdManageMeds.Title = person != null
? string.Format( "Manage Medications - {0}", person.FullName )
: "Manage Medications";
? string.Format( "Manage Medications - {0} (View Only)", person.FullName )
: "Manage Medications (View Only)";

var matrixAttributeId = attributeService.Queryable()
.Where( a => a.EntityTypeId == personEntityId && a.Key == matrixKey )
Expand Down