Skip to content

Commit

Permalink
gjbarnard#216 - Hide section issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Ardelean-Emanuel committed Aug 30, 2024
1 parent 1502065 commit ce20498
Showing 1 changed file with 15 additions and 4 deletions.
19 changes: 15 additions & 4 deletions templates/grid.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,12 @@
{{/sectionbreak}}
<div id="section-{{number}}" class="grid-section card{{#iscurrent}} currentgridsection{{/iscurrent}}" title="{{sectionname}}">
{{^popup}}
{{#hasbadge}}<div class="grid-section-inner">{{/hasbadge}}
{{^hasbadge}}<a class="grid-section-inner" href="{{sectionurl}}">{{/hasbadge}}
{{#hasbadge}}
<div class="grid-section-inner">
{{/hasbadge}}
{{^hasbadge}}
<a class="grid-section-inner" href="{{sectionurl}}">
{{/hasbadge}}
{{/popup}}
{{#popup}}
<div class="grid-modal grid-section-inner d-flex flex-column h-100 justify-content-between" data-toggle="modal" data-target="#gridPopup" data-section="{{number}}" tabindex="0">
Expand Down Expand Up @@ -109,12 +113,19 @@
</div>
{{/imageerror}}
{{^popup}}
{{#notavailable}}</div>{{/notavailable}}
{{^notavailable}}</a>{{/notavailable}}
{{#notavailable}}
</div>
{{/notavailable}}
{{^notavailable}}
</a>
{{/notavailable}}
{{/popup}}
{{#popup}}
</div>
{{/popup}}
{{#hasbadge}}
</div>
{{/hasbadge}}
</div>
{{/gridsections}}
</div>
Expand Down

0 comments on commit ce20498

Please sign in to comment.