Skip to content

Instantly share code, notes, and snippets.

@nathanp
Last active February 6, 2019 22:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nathanp/2bb254b62444af391915c17985f966c9 to your computer and use it in GitHub Desktop.
Save nathanp/2bb254b62444af391915c17985f966c9 to your computer and use it in GitHub Desktop.
RockRMS - Discipleship Pathway
<div class="row">
<div class="col-sm-12">
<div class="persondetails-group">
<header>
<h1>Hallmark's Discipleship Pathway</h1>
</header>
</div><!-- .persondetails-group-->
</div>
<div class="col-sm-12">
<div class="wizard" style="margin: 10px 0px 15px 0px;">
{% assign connectGroupTypeId = '25' %}
{% assign servingGroupTypeId = '23' %}
{% assign personIsInConnectGroup = Context.Person | Groups:connectGroupTypeId | Size %}
{% assign personIsInServingGroup = Context.Person | Groups:servingGroupTypeId | Size %}
{% assign membershipClass = Context.Person | Attribute:'MembershipClass' %}
{% assign membership = Context.Person | Attribute:'MembershipDate' %}
{% assign membershipStatus = Context.Person.RecordStatusValue.Value %}
{% assign era = Context.Person | Attribute:'core_CurrentlyAnEra' %}
<div class="wizard-item {% if membershipClass != "" %}active{% endif %}">
<div class="wizard-item-icon">
<i class="fas fa-compass"></i>
</div>
<div class="wizard-item-label">
Discover Hallmark
</div>
</div><!-- .wizard-item -->
<div class="wizard-item {% if membershipStatus == "Active" and membership != "" %}active{% endif %}">
<div class="wizard-item-icon">
<i class="fas fa-id-card"></i>
</div>
<div class="wizard-item-label">
Membership
</div>
</div><!-- .wizard-item -->
<div class="wizard-item {% if personIsInConnectGroup > 0 %}active{% endif %}">
<div class="wizard-item-icon">
<i class="fa fa-fw fa-group"></i>
</div>
<div class="wizard-item-label">
Connect Group
</div>
</div><!-- .wizard-item -->
<div class="wizard-item {% if era != "" %}active{% endif %}">
<div class="wizard-item-icon">
<i class="fas fa-hand-holding-heart"></i>
</div>
<div class="wizard-item-label">
Giving
</div>
</div><!-- .wizard-item -->
<div class="wizard-item {% if personIsInServingGroup > 0 %}active{% endif %}">
<div class="wizard-item-icon">
<i class="fas fa-user-clock"></i>
</div>
<div class="wizard-item-label">
Serving Group
</div>
</div><!-- .wizard-item -->
</div><!-- .wizard -->
</div><!-- .col-sm-12 -->
</div><!-- .row -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment