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 2a4bbf9 commit b45f3f5
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app/Modules/Fof/ArchiveModule/templates/Default/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,17 @@
</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
11 changes: 11 additions & 0 deletions app/Modules/Fof/DefaultModule/templates/Archive/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,17 @@
</a></div>
{/if}

{if $eventKey['key'] === '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}
{if is_dir(__DIR__.'/../../../../media/fof/photos/'.App\Modules\Fof\Core\BasePresenter::createEventKey($eventKey['event']))}
<div class="mt-5">
<h2>{switch $language->value}{case 'cs'}Soutěž{default}Competition{/switch}</h2>
Expand Down

0 comments on commit b45f3f5

Please sign in to comment.