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/themes/openpowerfoundation/layouts/groups/single.html

138 lines
4.1 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>
<span class="section-divider"></span>
</div>
</div>
<div class="row">
<div class="col-lg-2">&nbsp;</div>
<div class="col-lg-4">
<ul>
<li>Workgroup Details :
<ul>
{{ if .Param "chair" }}
<li>Chair :<ul>
{{ range (.Param "chair") }}
{{ $chairfile := printf "%s/%s" "persons" . }}
{{ with $.Site.GetPage $chairfile }}
<li><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 }}
{{ end }}
</li>
{{ end }}
</ul></li>
{{ 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" }}
{{ 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 "calendar" }}
<li>Calendar <i class="calendar alternative icon" aria-hidden="true"></i> :<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 }}
</ul>
</div>
<div class="col-lg-4">
{{ if .Content }}
{{ .Content }}
{{ else }}
&nbsp;
{{ end }}
</div>
<div class="col-lg-2">&nbsp;</div>
</div>
</div>
</div>
</section>
</main>
{{ partial "footer.html" . }}