Skip to content

Commit

Permalink
Added years and age columns.
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeburg committed Nov 26, 2024
1 parent 9a53f63 commit 895d92d
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 11 deletions.
18 changes: 17 additions & 1 deletion app/components/prospective-application-table.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@
<th>Status</th>
<th>Name / Email</th>
<th>Assigned To</th>
<th>BRC Events</th>
<th>Is {{fa-icon "greater-than-equal"}} 18?</th>
<th>Updated At / By</th>
<th>Clubhouse Account</th>
<th>Clubhouse Acct</th>
</tr>
</thead>
<tbody>
Expand All @@ -34,6 +36,20 @@
-
{{/if}}
</td>
<td>
{{#if row.isBRCExperienceOkay}}
<UiBadge @type="success">qualified</UiBadge>
{{else}}
<UiBadge @type="warning">unqualified</UiBadge>
{{/if}}
</td>
<td>
{{#if row.is_over_18}}
<UiBadge @type="success">{{fa-icon "greater-than-equal" right=1}} 18</UiBadge>
{{else}}
<UiBadge @type="warning">{{fa-icon "ban" right=1}} 18</UiBadge>
{{/if}}
</td>
<td>
{{#if row.updated_by_person_at}}
{{shift-format row.updated_by_person_at}}
Expand Down
19 changes: 9 additions & 10 deletions app/templates/vc/applications/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,6 @@
@fieldSize="sm"
/>
</div>
<FormLabel @auto={{true}}>Age</FormLabel>
<div class="col-auto">
<ChForm::Select @name="ageFilter"
@value={{this.ageFilter}}
@options={{this.ageFilterOptions}}
@onChange={{set-value this 'ageFilter'}}
@fieldSize="sm"
/>
</div>
<FormLabel @auto={{true}}>BRC Exp</FormLabel>
<div class="col-auto">
<ChForm::Select @name="experienceFilter"
Expand All @@ -60,7 +51,15 @@
@fieldSize="sm"
/>
</div>

<FormLabel @auto={{true}}>Age</FormLabel>
<div class="col-auto">
<ChForm::Select @name="ageFilter"
@value={{this.ageFilter}}
@options={{this.ageFilterOptions}}
@onChange={{set-value this 'ageFilter'}}
@fieldSize="sm"
/>
</div>
</FormRow>


Expand Down

0 comments on commit 895d92d

Please sign in to comment.