-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
51 changed files
with
1,768 additions
and
10 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
grails-app/views/project/_configurableMeriPlanChangesView.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<div id="meriplan-changes" class="meri-plan space-after" data-bind="let:{details:meriPlan(), detailsChanged:meriPlanChanged()}"> | ||
MERI-PLAN CHANGES TESTING | ||
<g:each var="content" in="${config?.meriPlanContents}"> | ||
<div class="row"> | ||
<div class="col-sm-12 p-3"> | ||
<g:if test="${!(mode in content.excludedModes?:[])}"> | ||
<g:render template="/project/meriPlanChanges/${content.template}" model="${content.model}"/> | ||
</g:if> | ||
</div> | ||
</div> | ||
</g:each> | ||
|
||
</div> |
14 changes: 14 additions & 0 deletions
14
grails-app/views/project/_configurableMeriPlanOriginalView.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div id="meriplan-original" class="meri-plan space-after" data-bind="let:{details:meriPlan(), detailsChanged:meriPlanChanged()}"> | ||
MERI-PLAN ORIGINAL TESTING | ||
<g:each var="content" in="${config?.meriPlanContents}"> | ||
<div class="row"> | ||
<div class="col-sm-12 p-3"> | ||
<g:if test="${!(mode in content.excludedModes?:[])}"> | ||
<g:render template="/project/meriPlanChanges/${content.template}" model="${content.model}"/> | ||
</g:if> | ||
</div> | ||
</div> | ||
</g:each> | ||
|
||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div id="activity-list-view"> | ||
<g:if test="${title}"> | ||
<h4>${title}</h4> | ||
</g:if> | ||
|
||
<ul data-bind="visible:details.activities.activities().length > 0 || details.activities.activities.otherChecked()"> | ||
<!-- ko foreach:details.activities.activities --> | ||
<li class="activity" data-bind="text:$data"></li> | ||
<!-- /ko --> | ||
<li class="activity" data-bind="visible:details.activities.activities.otherChecked(), text:details.activities.activities.otherValue()"></li> | ||
</ul> | ||
|
||
<span class="activity" data-bind="visible:details.activities.activities().length == 0 && !details.activities.activities.otherChecked()">${noneSelectedMessage}</span> | ||
</div> |
7 changes: 7 additions & 0 deletions
7
grails-app/views/project/meriPlanChanges/_adaptiveManagement.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<div id="adaptive-management-view"> | ||
<g:if test="${title}"> | ||
<h4>${title}</h4> | ||
</g:if> | ||
<p>Methods and processes that will enable adaptive management during the lifetime of this project</p> | ||
<span data-bind="text:details.adaptiveManagement"></span> | ||
</div> |
29 changes: 29 additions & 0 deletions
29
grails-app/views/project/meriPlanChanges/_additionalOutcomes.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<h4>Additional benefits</h4> | ||
<table class="table secondary-outcome"> | ||
<thead> | ||
<tr> | ||
<th class="outcome-priority">Secondary outcome(s)</th> | ||
<th class="priority">${ priority ?:"Secondary Investment Priorities"}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td class="outcome-priority" id="secondaryOutcomes"> | ||
<span> | ||
<g:set var="max" value="${Math.max(project.custom.details.outcomes?.secondaryOutcomes?.size(), changed.custom.details.outcomes?.secondaryOutcomes?.size()?:0)}"/> | ||
<g:each in="${(0..<max)}" var="i"> | ||
<span><fc:renderComparison changed="${changed.custom.details.outcomes.secondaryOutcomes ?: []}" i="${i}" original="${project.custom.details.outcomes.secondaryOutcomes ?: []}" property="description"/></span> | ||
</g:each> | ||
</span> | ||
</td> | ||
<td> | ||
<span id="secondaryAssets"> | ||
<g:set var="max" value="${Math.max(project.custom.details.outcomes?.secondaryOutcomes?.assets?.size(), changed.custom.details.outcomes?.secondaryOutcomes?.assets?.size()?:0)}"/> | ||
<g:each in="${(0..<max)}" var="i"> | ||
<span><fc:renderComparison changed="${changed.custom.details.outcomes.secondaryOutcomes ?: []}" i="${i}" original="${project.custom.details.outcomes.secondaryOutcomes ?: []}" property="assets"/></span> | ||
</g:each> | ||
</span> | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<h4>Project assets</h4> | ||
<g:if test="${viewExplanation}"> | ||
${viewExplanation ?: "Species, ecological community or environmental asset(s) the project is targeting"} | ||
</g:if> | ||
<g:set var="assetClass" value="${useCategorySelection || autoSelectCategory ? 'asset-detail': 'asset'} "/> | ||
<table class="table assets-view"> | ||
<thead> | ||
<tr> | ||
<th class="index"></th> | ||
<g:if test="${fromPriorities && useCategorySelection}"> | ||
<th class="asset-category">Asset Type</th> | ||
</g:if> | ||
<th class="${assetClass}">${assetHeading ?: "Species, ecological community or environmental asset(s) the project is targeting"}</th> | ||
<g:if test="${fromPriorities && autoSelectCategory}"> | ||
<th class="asset-category">Asset Type</th> | ||
</g:if> | ||
</tr> | ||
</thead> | ||
<tbody data-bind="foreach:details.assets"> | ||
<tr> | ||
<td class="index" data-bind="text:$index()+1"></td> | ||
<g:if test="${fromPriorities && useCategorySelection}"> | ||
<td class="asset-category"> | ||
<span data-bind="text:category"></span> | ||
</td> | ||
</g:if> | ||
<td class="${assetClass}"> | ||
<span data-bind="text:description"></span> | ||
</td> | ||
<g:if test="${fromPriorities && autoSelectCategory}"> | ||
<td class="asset-category"> | ||
<span data-bind="text:category"></span> | ||
</td> | ||
</g:if> | ||
</tr> | ||
</tbody> | ||
</table> |
2 changes: 2 additions & 0 deletions
2
grails-app/views/project/meriPlanChanges/_attachmentFooter.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<h4>${heading}</h4> | ||
<p>${attachmentText}</p> |
5 changes: 5 additions & 0 deletions
5
grails-app/views/project/meriPlanChanges/_communityEngagement.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h4>${title}</h4> | ||
|
||
<div class="community-engagement-view row"> | ||
<span class="col-sm-12" data-bind="text:details.communityEngagement"></span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<h4>${title}</h4> | ||
|
||
<div class="consultation-view row"> | ||
<span class="col-sm-12" data-bind="text:details.consultation"></span> | ||
</div> |
17 changes: 17 additions & 0 deletions
17
grails-app/views/project/meriPlanChanges/_controlApproach.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<g:if test="${title}"> | ||
<h4>${title}</h4> | ||
</g:if> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th class="approach-current">Could this control approach pose a threat to Native Animals/Plants or Biodiversity?</th> | ||
<th class="approach-details">Details</th> | ||
</tr> | ||
</thead> | ||
<tbody data-bind="foreach : details.threatToNativeSpecies.rows"> | ||
<tr> | ||
<td class="approach-current"><span data-bind="text:couldBethreatToSpecies"></span></td> | ||
<td class="approach-details"><span data-bind="text:details"></span></td> | ||
</tr> | ||
</tbody> | ||
</table> |
23 changes: 23 additions & 0 deletions
23
grails-app/views/project/meriPlanChanges/_controlMethod.gsp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<g:if test="${title}"> | ||
<h4>${title}</h4> | ||
</g:if> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th class="index"></th> | ||
<th class="method-current">Are there any current control methods for this pest?</th> | ||
<th class="method-success">Has it been successful?</th> | ||
<th class="method-type">Type of method</th> | ||
<th class="method-details">Details</th> | ||
</tr> | ||
</thead> | ||
<tbody data-bind="foreach : details.threatControlMethod.rows"> | ||
<tr> | ||
<td class="index"><span data-bind="text: $index()+1"></span></td> | ||
<td class="method-current"><span data-bind="text:currentControlMethod"></span></td> | ||
<td class="method-success"><span data-bind="text:hasBeenSuccessful"></span></td> | ||
<td class="method-type"><span data-bind="text:methodType"></span></td> | ||
<td class="method-details"><span data-bind="text:details"></span></td> | ||
</tr> | ||
</tbody> | ||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<g:if test="${tableFormatting}"> | ||
<table class="table"> | ||
<thead> | ||
<tr> | ||
<th>Project description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td style="display:none" class="original" data-bind="text:details.description"></td> | ||
<td style="display:none" class="changed" data-bind="text:detailsChanged.description"></td> | ||
<td wrap class="diff1"></td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</g:if> | ||
<g:else> | ||
<h4>Project description</h4> | ||
<td style="display:none" class="original" data-bind="text:details.description"></td> | ||
<td style="display:none" class="changed" data-bind="text:detailsChanged.description"></td> | ||
<td wrap class="diff1"></td> | ||
</g:else> | ||
|
Oops, something went wrong.