forked from website/openpower.foundation
135 lines
4.3 KiB
HTML
135 lines
4.3 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 mb-lg-4">
|
|
<h1 class="section-title">{{ .Title }}</h1>
|
|
<span class="section-divider"></span>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-5 offset-lg-2 pr-4">
|
|
{{ if .Content }}
|
|
{{ .Content }}
|
|
{{ else }}
|
|
|
|
{{ end }}
|
|
</div>
|
|
<div class="col-lg-3 details">
|
|
<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="fas fa-bullhorn"></i> Discussion</a></li>
|
|
{{ end }}
|
|
{{ if .Param "meetingminutes" }}
|
|
<li><a href="{{ .Param "meetingminutes"}}"><i class="fas fa-pencil-alt"></i> Meeting Minutes</a></li>
|
|
{{ end }}
|
|
{{ if .Param "calendar" }}
|
|
<li><i class="fas fa-calendar-alt"></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="fab fa-git-square"></i> Git SCM</a></li>
|
|
{{ end }}
|
|
{{ if .Param "chat" }}
|
|
<li><i class="fas fa-comments"></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="fas fa-folder-open"></i> Files</a></li>
|
|
{{ end }}
|
|
{{ if .Param "kanban" }}
|
|
<li><a href="{{ .Param "kanban" }}"><i class="fas fa-tasks"></i> Kanban</a></li>
|
|
{{ end }}
|
|
</ul>
|
|
{{ if .Param "members" }}
|
|
<li>Active Voting Work Group Members :
|
|
<ul><li><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 webp" }}
|
|
<img src="{{ $image.RelPermalink }}" alt="{{ .Title }}" title="{{ .Title }}">
|
|
{{ else }}
|
|
{{ .Title }}
|
|
{{ end }}
|
|
</a>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
</ul></li></ul>
|
|
</li>
|
|
{{ end }}
|
|
</ul>
|
|
</div>
|
|
<div class="col-lg-2"> </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</main>
|
|
{{ partial "footer.html" . }}
|