Skip to content

Commit

Permalink
- made changes to the registration instance active list to hide when …
Browse files Browse the repository at this point in the history
…registration instance detail or category detail is shown
  • Loading branch information
jonedmiston committed Feb 20, 2017
1 parent 98c27b7 commit 1c19cbe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions RockWeb/Blocks/Event/RegistrationInstanceActiveList.ascx.cs
Expand Up @@ -49,6 +49,12 @@ protected override void OnInit( EventArgs e )

gRegInstances.DataKeyNames = new string[] { "Id" };
gRegInstances.GridRebind += gRegInstances_GridRebind;

// hide this block if it determines it's on the event detail page
if ( RockPage.PageParameter( "RegistrationTemplateId" ).IsNotNullOrWhitespace() || RockPage.PageParameter( "CategoryId" ).IsNotNullOrWhitespace() )
{
this.Visible = false;
}
}

/// <summary>
Expand Down

0 comments on commit 1c19cbe

Please sign in to comment.