-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show popover descriptions for scenarios with no modifications
- Add a new popover view to show if a scenario can't or doesn't have modifications - Current Conditions and 100% Forest Cover explain what they are - Regular Scenarios without modifications, describe how to add modifications
- Loading branch information
Alice Rottersman
committed
Aug 21, 2017
1 parent
45c1b0d
commit 31925b9
Showing
3 changed files
with
46 additions
and
12 deletions.
There are no files selected for viewing
16 changes: 16 additions & 0 deletions
16
src/mmw/js/src/compare/templates/compareDescriptionPopover.html
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,16 @@ | ||
{% if is_pre_columbian %} | ||
<h3 class="compare-no-mod-title">{{name}}</h3> | ||
<p> | ||
Lorem ipsum this scenario shows the tr55 model results under pre columbian conditions... | ||
</p> | ||
{% elif is_current_conditions %} | ||
<h3 class="compare-no-mod-title">{{name}}</h3> | ||
<p> | ||
Lorem ipsum this is the model run under current conditions | ||
</p> | ||
{% else %} | ||
<h3 class="compare-no-mod-title">No modifications</h3> | ||
<p> | ||
To add modifications, close this modal and select "Land cover" or "Conservation practices" lorem ipsum dolor sit | ||
</p> | ||
{% endif %} |
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