Skryti nahrani fotografii pokud neexistuje zadne album
This commit is contained in:
@@ -4,17 +4,17 @@
|
||||
|
||||
<div class="btn-toolbar justify-content-center my-5" role="toolbar" aria-label="Toolbar with button groups">
|
||||
<div class="btn-group" role="group" aria-label="First group">
|
||||
<button type="button" data-target="#newPhotoModal" data-toggle="modal" class="btn btn-secondary">
|
||||
Přidat fotografie
|
||||
</button>
|
||||
<% if (albumsCount > 0) { %>
|
||||
<button type="button" data-target="#newPhotoModal" data-toggle="modal" class="btn btn-secondary">
|
||||
Přidat fotografie
|
||||
</button>
|
||||
<% } %>
|
||||
<button type="button" data-target="#newGalleryModal" data-toggle="modal" class="btn btn-secondary">
|
||||
Přidat album
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<% include ../partials/editor/album.ejs %>
|
||||
|
||||
</section>
|
||||
Reference in New Issue
Block a user