add some more front-end matter

Signed-off-by: Toshaan Bharvani <toshaan@vantosh.com>
newmemberlevels
Toshaan Bharvani 4 years ago
parent bb26c2641e
commit b2c03397ec

@ -15,16 +15,19 @@
<div class="row"> <div class="row">
<div class="col-lg-2">&nbsp;</div> <div class="col-lg-2">&nbsp;</div>
<div class="col-lg-4"> <div class="col-lg-4">
Workgroup Details :
<ul>
{{ if .Param "chair" }} {{ if .Param "chair" }}
{{ $chairfile := printf "%s/%s" "persons" (.Param "chair") }} {{ $chairfile := printf "%s/%s" "persons" (.Param "chair") }}
{{ with $.Site.GetPage $chairfile }} {{ with $.Site.GetPage $chairfile }}
Work Group Chair : <a href="{{ .Permalink }}">{{ .Title }}</a> <li>Chair : <a href="{{ .Permalink }}">{{ .Title }}</a>
{{ if .Param "member" }} {{ if .Param "member" }}
{{ $memberfile := printf "%s/%s" "members" (.Param "member") }} {{ $memberfile := printf "%s/%s" "members" (.Param "member") }}
{{ with $.Site.GetPage $memberfile }} {{ with $.Site.GetPage $memberfile }}
(<a href="{{ .Permalink }}">{{ .Title }}</a>) (<a href="{{ .Permalink }}">{{ .Title }}</a>)
{{ end }} {{ end }}
{{ end }} {{ end }}
</li>
{{ end }} {{ end }}
{{ end }} {{ end }}
{{ if .Param "wgtype" }} {{ if .Param "wgtype" }}
@ -32,11 +35,20 @@
{{ $wgtype := .Param "wgtype" }} {{ $wgtype := .Param "wgtype" }}
{{ range $data.workgroups }} {{ range $data.workgroups }}
{{ if eq $wgtype .id }} {{ if eq $wgtype .id }}
<br> <li>Type : {{ .name }}</li>
Work Group Type : {{ .name }}
{{ end }} {{ end }}
{{ end }} {{ 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>
<div class="col-lg-4"> <div class="col-lg-4">
{{ if .Param "members" }} {{ if .Param "members" }}

Loading…
Cancel
Save