Skip to content

Commit

Permalink
Merge pull request #10 from eea/develop
Browse files Browse the repository at this point in the history
temporal coverage data is now hidden behind an accordion  refs #117295
  • Loading branch information
alecghica authored Jun 19, 2020
2 parents 1928c7c + 403206d commit 257bbdc
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions docs/HISTORY.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

7.8 - (2020-06-19)
---------------------------
* Change: temporal coverage data is now hidden behind an accordion
[ichim-david refs #117295]

7.7 - (2020-02-28)
--------------------------
* Bug fix: fixed temporal coverage insert when upgrading to jquery 3.4.1
Expand Down
24 changes: 12 additions & 12 deletions eea/forms/skins/eea_forms_macros/temporal_macros.pt
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,28 @@
portal_url portal_state/portal_url;"
tal:condition="value">
<!-- Title -->
<h3 class="temporal-coverage-title notoc" metal:define-slot="temporal-coverage-title" i18n:translate="">
<div class="eea-accordion-panel">
<h3 class="temporal-coverage-title notoc eea-accordion-title eea-icon-left-container" metal:define-slot="temporal-coverage-title" i18n:translate="">
Temporal coverage
</h3>

<!--- Body -->
<metal:body metal:define-slot="temporal-coverage-body">
<div id="tempCoverage">
<div id="tempCoverage" class="pane">
<tal:temporal tal:repeat="temp temporalCoverage" tal:condition="python:value != '-1'">
<span>
<a class="link-category" rel="tag"
tal:content="temp"></a>
<span class="separator" tal:condition="python:not repeat['temp'].end">,</span>
<span class="body-category" rel="tag"
tal:content="temp"></span>
</span>
</tal:temporal>
<span tal:condition="python:value == '-1'">
<a i18n:translate="" class="link-category" rel="tag">
<span i18n:translate="" class="body-category" rel="tag">
Dynamic
</a>
</span>
</span>
</div>
</metal:body>
</div>
</tal:render>
</tal:temporalCoverage>

Expand All @@ -43,15 +44,14 @@
<dd metal:fill-slot="temporal-coverage-body" id="tempCoverage">
<tal:temporal tal:repeat="temp temporalCoverage" tal:condition="python:value != '-1'">
<span>
<a class="link-category" rel="tag"
tal:content="temp"></a>
<span class="separator" tal:condition="python:not repeat['temp'].end">,</span>
<span class="body-category" rel="tag"
tal:content="temp"></span>
</span>
</tal:temporal>
<span id="tempCoverage" tal:condition="python:value == '-1'">
<a i18n:translate="" class="link-category" rel="tag" href="#">
<span i18n:translate="" class="body-category" rel="tag" href="#">
Dynamic
</a>
</span>
</span>
</dd>

Expand Down
2 changes: 1 addition & 1 deletion eea/forms/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.7
7.8

0 comments on commit 257bbdc

Please sign in to comment.