Skip to content

Commit

Permalink
photo batch alert
Browse files Browse the repository at this point in the history
  • Loading branch information
Headary committed Feb 17, 2025
1 parent b45f3f5 commit c431812
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
23 changes: 12 additions & 11 deletions app/Modules/Fof/ArchiveModule/templates/Default/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,6 @@
</ul>
{/if}
{if is_dir(__DIR__.'/../../../../media/fof/photos/'.$eventKey)}
{if $eventKey === '2025'}
<div class="alert alert-info" role="alert">
<p class="mb-0">
{if $language->value === 'cs'}
Zveřejnili jsme první sadu fotek, na další se můžete těšit v blízké době.
{else}
We have published the first batch of photos, you can look forward for more in the near future.
{/if}
</p>
</div>
{/if}
<ul class="stylized">
<li>
<a href="#competition">
Expand Down Expand Up @@ -146,9 +135,21 @@
{* </div>*}
{* {/if}*}


{if is_dir(__DIR__.'/../../../../media/fof/photos/'.$eventKey)}
<div class="panel color-auto" id="competition">
<section class="inner-container">
{if $eventKey === '2025'}
<div class="alert alert-info" role="alert">
<p class="mb-0">
{if $language->value === 'cs'}
Zveřejnili jsme první sadu fotek, na další se můžete těšit v blízké době.
{else}
We have published the first batch of photos, you can look forward for more in the near future.
{/if}
</p>
</div>
{/if}
<h1>{switch $language->value}
{case 'cs'}Fotografie ze soutěže
{default}Photos from the competition
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
{/if}

{if $eventKey['key'] === '2025'}
<div class="alert alert-info" role="alert">
<div class="alert alert-info mt-5" role="alert">
<p class="mb-0">
{if $language->value === 'cs'}
Zveřejnili jsme první sadu fotek, na další se můžete těšit v blízké době.
Expand Down

0 comments on commit c431812

Please sign in to comment.