@ -5,134 +5,133 @@
<main id="main">
<main id="main">
<section id="workgroupsingle">
<section id="workgroupsingle">
<div id="workgroupsingle" class="container-fluid">
<div id="workgroupsingle" class="container-fluid">
<div class="section-header">
<div class="section-header">
<div class="row">
<div class="row">
<div class="col-lg-12 text-center">
<div class="col-lg-12 text-center mb-lg-4">
<h3 class="section-title">{{ .Title }}</h3>
<h1 class="section-title">{{ .Title }}</h1>
<span class="section-divider"></span>
<span class="section-divider"></span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="row">
<div class="col-lg-5 offset-lg-2 pr-4">
<div class="col-lg-2"> </div>
{{ if .Content }}
<div class="col-lg-4">
{{ .Content }}
<ul>
{{ else }}
<li>Workgroup Details :
{{ end }}
</div>
<div class="col-lg-3 details">
<ul>
<ul>
{{ if .Param "chair" }}
<li>Workgroup Details :
<li>Chair :<ul>
<ul>
{{ range (.Param "chair") }}
{{ if .Param "chair" }}
{{ $chairfile := printf "%s/%s" "persons" . }}
<li>Chair :<ul>
{{ with $.Site.GetPage $chairfile }}
{{ range (.Param "chair") }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a>
{{ $chairfile := printf "%s/%s" "persons" . }}
{{ if .Param "member" }}
{{ with $.Site.GetPage $chairfile }}
{{ $memberfile := printf "%s/%s" "members" (.Param "member") }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a>
{{ with $.Site.GetPage $memberfile }}
{{ if .Param "member" }}
(<a href="{{ .Permalink }}">{{ .Title }}</a>)
{{ $memberfile := printf "%s/%s" "members" (.Param "member") }}
{{ with $.Site.GetPage $memberfile }}
(<a href="{{ .Permalink }}">{{ .Title }}</a>)
{{ end }}
{{ end }}
{{ end }}
{{ end }}
</li>
{{ end }}
{{ end }}
{{ end }}
</ul></li>
</li>
{{ end }}
{{ end }}
</ul></li>
{{ if .Param "wgtype" }}
{{ end }}
{{ $data := index $.Site.Data }}
{{ if .Param "wgtype" }}
{{ $wgtype := .Param "wgtype" }}
{{ $data := index $.Site.Data }}
{{ range $data.workgroups }}
{{ $wgtype := .Param "wgtype" }}
{{ if eq $wgtype .id }}
{{ range $data.workgroups }}
<li>Type : {{ .name }}</li>
{{ if eq $wgtype .id }}
{{ end }}
<li>Type : {{ .name }}</li>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ if .Param "participation" }}
{{ if .Param "participation" }}
<li>
Participation : {{ .Param "participation" }}
{{ if eq (.Param "participation") "Public" }}
<i class="fa fa-universal-access" aria-hidden="true"></i>
{{ end }}
{{ if eq (.Param "participation") "Members" }}
<i class="users icon" aria-hidden="true"></i>
{{ end }}
{{ if eq (.Param "participation") "Limited" }}
<i class="fas fa-user-lock" aria-hidden="true"></i>
{{ end }}
</li>
{{ end }}
</ul>
</li>
<li>Workgroup Resources :
<ul>
{{ if .Param "discussion" }}
<li><a href="{{ .Param "discussion" }}"><i class="bullhorn icon" aria-hidden="true"></i>Discussion</a></li>
{{ end }}
{{ if .Param "meetingminutes" }}
<li><a href="{{ .Param "meetingminutes"}}"><i class="pencil alternative icon"></i>Meeting Minutes</a></li>
{{ end }}
{{ if .Param "calendar" }}
<li><i class="calendar alternative icon" aria-hidden="true"></i> Calendar :<ul>
<li><a href="{{ .Param "calendar.web" }}">WebCal</a></li>
<li><a href="{{ .Param "calendar.ics" }}">ICS</a></li>
</ul></li>
{{ end }}
{{ if .Param "git" }}
<li><a href="{{ .Param "git" }}"><i class="fa fa-git-square"></i> Git SCM</a></li>
{{ end }}
{{ if .Param "chat" }}
<li><i class="comments icon" aria-hidden="true"></i> Chat<ul>
<li><a href="{{ .Param "chat.mattermost" }}">OPF Chat</a></li>
{{ if .Param "chat.slack" }}
<li><a href="{{ .Param "chat.slack" }}">OPF Slack</a></li>
{{ end }}
{{ if .Param "chat.irc" }}
<li>{{ .Param "chat.irc" }}</li>
{{ end }}
</ul></li>
{{ end }}
{{ if .Param "files" }}
<li><a href="{{ .Param "files" }}"><i class="folder open icon"></i> Files</a></li>
{{ end }}
{{ if .Param "kanban" }}
<li><a href="{{ .Param "kanban" }}"><i class="tasks icon"></i> Kanban</a></li>
{{ end }}
</ul>
{{ if .Param "members" }}
<li>Active Voting Work Group Members :
<ul>
{{ range $member := .Param "members" }}
{{ $memberfile := printf "%s/%s" "members" $member }}
{{ with $.Site.GetPage $memberfile }}
<li>
<li>
<a href="{{ .Permalink }}">
Participation : {{ .Param "participation" }}
{{ if .Param "image" }}
{{ if eq (.Param "participation") "Public" }}
{{ $imagename := .Param "image" }}
<i class="fa fa-universal-access" aria-hidden="true"></i>
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
{{ end }}
{{ $imageresource := resources.Get $imagelocation }}
{{ if eq (.Param "participation") "Members" }}
{{ $image := $imageresource.Fit "75x75" }}
<i class="users icon" aria-hidden="true"></i>
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
{{ end }}
{{ else }}
{{ if eq (.Param "participation") "Limited" }}
{{ .Title }}
<i class="fas fa-user-lock" aria-hidden="true"></i>
{{ end }}
{{ end }}
</a>
</li>
</li>
{{ end }}
{{ end }}
</ul>
</li>
<li>Workgroup Resources :
<ul>
{{ if .Param "discussion" }}
<li><a href="{{ .Param "discussion" }}"><i class="bullhorn icon" aria-hidden="true"></i>Discussion</a></li>
{{ end }}
{{ if .Param "meetingminutes" }}
<li><a href="{{ .Param "meetingminutes"}}"><i class="pencil alternative icon"></i>Meeting Minutes</a></li>
{{ end }}
{{ if .Param "calendar" }}
<li><i class="calendar alternative icon" aria-hidden="true"></i> Calendar :<ul>
<li><a href="{{ .Param "calendar.web" }}">WebCal</a></li>
<li><a href="{{ .Param "calendar.ics" }}">ICS</a></li>
</ul></li>
{{ end }}
{{ if .Param "git" }}
<li><a href="{{ .Param "git" }}"><i class="fa fa-git-square"></i> Git SCM</a></li>
{{ end }}
{{ if .Param "chat" }}
<li><i class="comments icon" aria-hidden="true"></i> Chat<ul>
<li><a href="{{ .Param "chat.mattermost" }}">OPF Chat</a></li>
{{ if .Param "chat.slack" }}
<li><a href="{{ .Param "chat.slack" }}">OPF Slack</a></li>
{{ end }}
{{ if .Param "chat.irc" }}
<li>{{ .Param "chat.irc" }}</li>
{{ end }}
</ul></li>
{{ end }}
{{ if .Param "files" }}
<li><a href="{{ .Param "files" }}"><i class="folder open icon"></i> Files</a></li>
{{ end }}
{{ if .Param "kanban" }}
<li><a href="{{ .Param "kanban" }}"><i class="tasks icon"></i> Kanban</a></li>
{{ end }}
</ul>
{{ if .Param "members" }}
<li>Active Voting Work Group Members :
<ul>
{{ range $member := .Param "members" }}
{{ $memberfile := printf "%s/%s" "members" $member }}
{{ with $.Site.GetPage $memberfile }}
<li>
<a href="{{ .Permalink }}">
{{ if .Param "image" }}
{{ $imagename := .Param "image" }}
{{ $imagelocation := (printf "%s/%s" "images/members/" $imagename) }}
{{ $imageresource := resources.Get $imagelocation }}
{{ $image := $imageresource.Fit "75x75" }}
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
{{ else }}
{{ .Title }}
{{ end }}
</a>
</li>
{{ end }}
{{ end }}
</ul>
</li>
{{ end }}
{{ end }}
</ul>
</ul>
</li>
</div>
{{ end }}
<div class="col-lg-2"> </div>
</ul>
</div>
<div class="col-lg-4">
{{ if .Content }}
{{ .Content }}
{{ else }}
{{ end }}
</div>
</div>
<div class="col-lg-2"> </div>
</div>
</div>
</div>
</div>
</div>
</section>
</section>
</main>
</main>