| Index: pages/committee/members.tmpl |
| =================================================================== |
| --- a/pages/committee/members.tmpl |
| +++ b/pages/committee/members.tmpl |
| @@ -394,46 +394,46 @@ |
| {% if (count | length) > 0 %} |
| </ul> |
| {% endif %} |
| {% if position == "Member" or (count | length) < 1 %} |
| <p><a class="btn-primary" href="committee/apply">{{ "Apply" | translate("apply-button", "button label") }}</a></p> |
| {% endif %} |
| {% endmacro %} |
| -{% macro group_list(group) -%} |
| +{% macro group_list(id, group) -%} |
| <section class="group-list"> |
| - <h4>{{ group | translate("group-name-heading", "heading") }}</h4> |
| + <h4>{{ group | translate( id + "-heading", "heading") }}</h4> |
| <dl> |
| <dt>{{ "Representative" | translate("representative-heading", "heading") }}</dt> |
| <dd>{{ member_list(group, "Representative") }}</dd> |
| </dl> |
| <dl> |
| <dt>{{ "Members" | translate("members-heading", "heading") }}</dt> |
| <dd>{{ member_list(group, "Member") }}</dd> |
| </dl> |
| </section> |
| {%- endmacro %} |
| {% macro coalition_section(id) -%} |
| <section class="section"> |
| <h3 class="h2">{{ coalitions[id].title | translate("{{ id }}-heading", "heading") }}</h3> |
| <p class="col-6">{{ coalitions[id].description | translate("{{ id }}-intro") }}</p> |
| {% for group in coalitions[id].groups %} |
| - {{ group_list(group) }} |
| + {{ group_list(id, group) }} |
| {% endfor %} |
| </section> |
| {% endmacro %} |
| <section class="container"> |
| <div class="row section"> |
| <div class="col-6"> |
| <h1>{{ "Members" | translate("members-heading", "heading") }}</h1> |
| <hr> |
| - <p>{{ "The Acceptable Ads Committee is divided into three Coalitions, with each faction consisting of several Members. Each group includes a Representative and multiple supporting Members." | translate("members-intro-2") }}</p> |
| + <p>{{ "The Acceptable Ads Committee is divided into three Coalitions, with each faction consisting of several Members. Each group includes a Representative and multiple supporting Members." | translate("members-intro-1") }}</p> |
| <p>{{ "Below is a list of all current Representatives and supporting Members, broken down by Coalition." | translate("members-intro-2") }}</p> |
| </div> |
| <aside class="col-6"> |
| <img id="committee-structure" class="block" alt="{{ "Acceptable Ads Committee Structure" | translate("featured-image-alt", "Image alt text") }}" src="/img/png/blog/acceptable-ads-committee-structure.png" /> |
| </aside> |
| </div> |
| </section> |