Skip to content

Commit

Permalink
Update template.html
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelspellacy committed Jan 7, 2025
1 parent cff061b commit 2294e09
Showing 1 changed file with 34 additions and 8 deletions.
42 changes: 34 additions & 8 deletions _includes/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,15 +93,37 @@

{%- for component in allSelections %}

{% if component.id == current_id %}

{% for example in component.examples %}
{% if component.id == current_id %}

{% assign grouped_examples = component.examples | group_by: "group" %}

{% for group in grouped_examples %}

{% if group.name != "" %}

<optgroup label="{{ group.name }}">

{% for example in group.items %}

<option value="#{{ example.id }}">{{ example.name }}</option>

{% endfor %}

<option value="#{{ example.id }}">{{ example.name }}</option>
</optgroup>

{% endfor %}
{% else %}

{% endif %}
{% for example in group.items %}

<option value="#{{ example.id }}">{{ example.name }}</option>

{% endfor %}

{% endif %}

{% endfor %}

{% endif %}

{%- endfor %}

Expand Down Expand Up @@ -748,6 +770,10 @@ <h2 id="properties">Properties</h2>

{%- endif %}

<h2 id="issues">Report Issues</h2>
<div class="reminder">

<h2 id="issues">Report Issues</h2>

<p>Find a bug? Want a new feature? Report it on <a href="https://jira.radancy.com/secure/Dashboard.jspa#create_link">JIRA</a>. You're so awesome!</p>

<p>Find a bug? Want a new feature? Report it on <a href="https://jira.radancy.com/secure/Dashboard.jspa#create_link">JIRA</a>. You're so awesome!</p>
</div>

0 comments on commit 2294e09

Please sign in to comment.