Update initial info to be more concise/less redundant from form options

remotes/1690132257852795115/master
Maximillian Schmidt 2 years ago
parent 997fa7a89a
commit 0751a25b76

@ -11,7 +11,7 @@
<div class="row"> <div class="row">
<div class="col-lg-4"> <div class="col-lg-4">
{{ if .Param "member" }} {{ if .Param "member" }}
Provider :&nbsp; <h3>Provider :&nbsp;
{{ $member := .Param "member" }} {{ $member := .Param "member" }}
{{ range where .Site.RegularPages "Section" "members" }} {{ range where .Site.RegularPages "Section" "members" }}
{{ $membercompany := .File.BaseFileName }} {{ $membercompany := .File.BaseFileName }}
@ -33,63 +33,51 @@
{{ end }} {{ end }}
</a> </a>
{{ end }} {{ end }}
{{ end }} {{ end }}</h3>
{{ end }} {{ end }}
</div> </div>
{{ if .Param "systems" }}
<div class="col-lg-4"> <div class="col-lg-4">
POWER Based systems : {{ if .Param "systems" }}
<h3>POWER Based systems :</h3>
<ul> <ul>
{{ range $s := .Param "systems" }} {{ range $s := .Param "systems" }}
<li>{{ $s }}</li> <li>{{ $s }}</li>
{{ end }} {{ end }}
</ul> </ul>
</div>
{{ end }} {{ end }}
{{ if .Param "provides" }} {{ if .Param "provides" }}
<div class="col-lg-4"> <h3>Provides these OPF HUB resources :</h3>
Provides following OPF HUB resources :
<ul> <ul>
{{ range $p := .Param "provides" }} {{ range $p := .Param "provides" }}
<li>{{ $p }}</li> <li>{{ $p }}</li>
{{ end }} {{ end }}
</ul> </ul>
</div>
{{ end }} {{ end }}
<div class="col-lg-4">&nbsp;</div>
{{ if .Param "addons" }}
<div class="col-lg-4">
Resource Addons :
<ul>
{{ range $a := .Param "addons" }}
<li>{{ $a }}</li>
{{ end }}
</ul>
</div> </div>
{{ end }}
{{ if .Param "projects" }}
<div class="col-lg-4"> <div class="col-lg-4">
Project Types : {{ if .Param "projects" }}
<h3>Project Types :</h3>
<ul> <ul>
{{ range $o := .Param "projects" }} {{ range $o := .Param "projects" }}
<li>{{ $o }}</li> <li>{{ $o }}</li>
{{ end }} {{ end }}
</ul> </ul>
</div> {{ else }}
&nbsp;
{{ end }}
{{ if .Param "addons" }}
<h3>Resource Addons :</h3>
<ul>
{{ range $a := .Param "addons" }}
{{ if ne $a "none" }}
<li>{{ $a }}</li>
{{ end }} {{ end }}
<div class="col-lg-4">&nbsp;</div>
{{ if .Param "operatingsystems" }}
<div class="col-lg-8 operatingsystems">
Operating Systems :
<ul class="operatingsystems">
{{ range $s := .Param "operatingsystems" }}
<li class="operatingsystems">{{ $s }}</li>
{{ end }} {{ end }}
</ul> </ul>
</div>
{{ end }} {{ end }}
</div> </div>
</div> </div>
</div>
{{ if .Content }} {{ if .Content }}
<div class="row"> <div class="row">
{{ .Content }} {{ .Content }}

Loading…
Cancel
Save