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

jamesk-tiersupdate
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,61 +33,49 @@
{{ 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"> {{ if .Param "systems" }}
POWER Based 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" }} <h3>Provides these OPF HUB resources :</h3>
<div class="col-lg-4"> <ul>
Provides following OPF HUB resources : {{ range $p := .Param "provides" }}
<ul> <li>{{ $p }}</li>
{{ range $p := .Param "provides" }} {{ end }}
<li>{{ $p }}</li> </ul>
{{ end }} {{ end }}
</ul> </div>
</div> <div class="col-lg-4">
{{ 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>
{{ end }}
{{ if .Param "projects" }} {{ if .Param "projects" }}
<div class="col-lg-4"> <h3>Project Types :</h3>
Project Types : <ul>
<ul> {{ range $o := .Param "projects" }}
{{ range $o := .Param "projects" }} <li>{{ $o }}</li>
<li>{{ $o }}</li> {{ end }}
{{ end }} </ul>
</ul> {{ else }}
</div> &nbsp;
{{ end }} {{ end }}
<div class="col-lg-4">&nbsp;</div> {{ if .Param "addons" }}
{{ if .Param "operatingsystems" }} <h3>Resource Addons :</h3>
<div class="col-lg-8 operatingsystems"> <ul>
Operating Systems : {{ range $a := .Param "addons" }}
<ul class="operatingsystems"> {{ if ne $a "none" }}
{{ range $s := .Param "operatingsystems" }} <li>{{ $a }}</li>
<li class="operatingsystems">{{ $s }}</li> {{ end }}
{{ end }} {{ end }}
</ul> </ul>
</div>
{{ end }} {{ end }}
</div>
</div> </div>
</div> </div>
{{ if .Content }} {{ if .Content }}

Loading…
Cancel
Save