Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactored community team page to align with vocabulary markup #863

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 43 additions & 45 deletions themes/vocabulary_theme/templates/community_team_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,54 +3,52 @@
{% block title %}{{ this.title }}{% endblock %}

{% block body %}
<header>
<h1>{{ this.title }}</h1>
<p> This is a list of all Creative Commons (CC) Community Team members, and their roles and privileges. For more information about CC Community Team, please see <a href="/community/community-team/">the Community Team Page</a>.</p>
</header>

<!-- TODO: decide on presentation implementation -->
<div>
<div>
<div class="header">
<div class="container">
<h1>{{ this.title }}</h1>
<p class="description column is-9 is-paddingless">This is a list of all Creative Commons (CC) Community Team members, and their roles and privileges. For more information about CC Community Team, please see <a href="/community/community-team/">the Community Team Page</a>.</p>
<h2>Project Teams</h2>
{% for project in bag('community_team_members.projects') %}
<h3>{{ project.name }}</h3>
<p>These team members have permissions in the <code>{{ project.repos }}</code> repo(s).</p>
<div>
<table>
<thead>
<tr>
<th>Role</th>
<th>Member Name</th>
</tr>
</thead>
{% for member in project.members %}
<tr>
<td>{{ member.role }}</td>
<td id="{{project.name|lower|replace(' ','-')}}--{{member.name|lower|replace(' ','-')}}">{{ member.name }}</td>
</tr>
{% endfor %}
</table>
</div>
</div>
<div class="container padding-horizontal-big padding-vertical-xl">
<div class="content">
<h2>Project Teams</h2>
{% for project in bag('community_team_members.projects') %}
<h3 class="b-header">{{ project.name }}</h3>
<p>These team members have permissions in the <code>{{ project.repos }}</code> repo(s).</p>
<div class="table-container">
<table class="table is-bordered is-striped">
<thead>
<tr>
<th>Role</th>
<th>Member Name</th>
</tr>
</thead>
{% for member in project.members %}
<tr>
<td>{{ member.role }}</td>
<td id="{{project.name|lower|replace(' ','-')}}--{{member.name|lower|replace(' ','-')}}">{{ member.name }}</td>
</tr>
{% endfor %}
</table>
</div>
{% endfor %}
<h2>Community Building Teams</h2>
<div>
<table>
<thead>
<tr>
<th>Role</th>
<th>Member Name</th>
</tr>
</thead>
{% for member in bag('community_team_members.community_builders') %}
<tr>
<td>{{ member.role }}</td>
<td id="community-builder--{{member.name|replace(' ','-')}}">{{ member.name }}</td>
</tr>
{% endfor %}
<h2>Community Building Teams</h2>
<div class="table-container">
<table class="table is-bordered is-striped">
<thead>
<tr>
<th>Role</th>
<th>Member Name</th>
</tr>
</thead>
{% for member in bag('community_team_members.community_builders') %}
<tr>
<td>{{ member.role }}</td>
<td id="community-builder--{{member.name|replace(' ','-')}}">{{ member.name }}</td>
</tr>
{% endfor %}
</table>
</div>
</div>
</table>
</div>
</div>
</div>
{% endblock %}
Loading