mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
related to #1644 Allow back the UI to remove a physically linked album to a picture. The backend won't let it happend on form validation.
This commit is contained in:
@@ -187,7 +187,7 @@ $('#action-delete-picture').on('click', function() {
|
||||
</select>
|
||||
<div class="related-categories-container">
|
||||
{foreach from=$related_categories item=$cat_path key=$key}
|
||||
<div class="breadcrumb-item"><span class="link-path">{$cat_path['name']}</span>{if $cat_path['isVirtual']}<span id={$key} class="icon-cancel-circled remove-item"></span>{else}<span id={$key} class="icon-help-circled help-item tiptip" title="{'This album is physical, it can\'t be unlinked from the picture'|translate}"></span>{/if}</div>
|
||||
<div class="breadcrumb-item"><span class="link-path">{$cat_path['name']}</span><span id={$key} class="icon-cancel-circled remove-item"></span></div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="breadcrumb-item linked-albums add-item {if $related_categories|@count < 1 } highlight {/if}"><span class="icon-plus-circled"></span>{'Add'|translate}</div>
|
||||
|
||||
Reference in New Issue
Block a user