You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openpower.foundation_sw_dev/themes/openpowerfoundation/layouts/groups/single.html

99 lines
2.6 KiB
HTML

{{ partial "header.html" . }}
{{ partial "navbar.html" . }}
<main id="main">
<section id="workgroupsingle">
<div id="workgroupsingle" class="container-fluid">
<div class="section-header">
<div class="row">
<div class="col-lg-12 text-center">
<h3 class="section-title">{{ .Title }}</h3>
</div>
</div>
<div class="row">
<div class="col-lg-2">&nbsp;</div>
<div class="col-lg-4">
Workgroup Details :
<ul>
{{ if .Param "chair" }}
{{ $chairfile := printf "%s/%s" "persons" (.Param "chair") }}
{{ with $.Site.GetPage $chairfile }}
<li>Chair : <a href="{{ .Permalink }}">{{ .Title }}</a>
{{ if .Param "member" }}
{{ $memberfile := printf "%s/%s" "members" (.Param "member") }}
{{ with $.Site.GetPage $memberfile }}
(<a href="{{ .Permalink }}">{{ .Title }}</a>)
{{ end }}
{{ end }}
</li>
{{ end }}
{{ end }}
{{ if .Param "wgtype" }}
{{ $data := index $.Site.Data }}
{{ $wgtype := .Param "wgtype" }}
{{ range $data.workgroups }}
{{ if eq $wgtype .id }}
<li>Type : {{ .name }}</li>
{{ end }}
{{ end }}
{{ end }}
{{ if .Param "participation" }}
<li>Participation : {{ .Param "participation" }}</li>
{{ end }}
{{ if .Param "git" }}
<li>Git : <a href="{{ .Param "git" }}">{{ .Param "git" }}</a></li>
{{ end }}
{{ if .Param "discussion" }}
<li>Discussion : <a href="{{ .Param "discussion" }}">{{ .Param "discussion" }}</a></li>
{{ end }}
</ul>
</div>
<div class="col-lg-4">
{{ if .Param "members" }}
Active Voting Work Group Members :<br>
<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 "50x50" }}
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
{{ else }}
{{ .Title }}
{{ end }}
</a>
</li>
{{ end }}
{{ end }}
</ul>
{{ end }}
</div>
<div class="col-lg-2">&nbsp;</div>
</div>
<div class="row">
<span class="section-divider"></span>
</div>
</div>
<div class="row">
{{ if .Content }}
<div class="col-lg-2">&nbsp;</div>
<div class="col-lg-8">
{{ .Content }}
</div>
<div class="col-lg-2">&nbsp;</div>
{{ end }}
</div>
</div>
</section>
</main>
{{ partial "footer.html" . }}