Skip to content
Snippets Groups Projects
Commit 89dacbdb authored by Jerome Chauveau's avatar Jerome Chauveau
Browse files

disable or remove unavailable collection actions

parent ff5e2fa4
No related branches found
No related tags found
No related merge requests found
......@@ -68,9 +68,6 @@ function openMoveSourceDialog(source) {
modal.show()
}
function openMoveCollectionDialog(collectionPath){
console.debug('todo')
}
function doMoveSource(){
const collection = document.getElementById('move-collection-select').value
......
......@@ -110,9 +110,7 @@
<td onclick="window.location.href='{concat('/bundles/max-db?collection=',$path)}'" style="cursor:pointer;" class="align-middle"></td>
<td onclick="window.location.href='{concat('/bundles/max-db?collection=',$path)}'" style="cursor:pointer;" class="align-middle"><sl-relative-time title="{string($dir/@modified-date)}" date="{string($dir/@modified-date)}" lang="fr-FR"></sl-relative-time></td>
<td class="text-center align-middle" onclick="">
<sl-icon-button name="download" title="télécharger" onclick="downloadCollection('{$path}')">
</sl-icon-button>
<sl-icon-button name="hand-index" title="déplacer" onclick="openMoveCollectionDialog('{$path}')">
<sl-icon-button disabled="disabled" name="download" title="télécharger" onclick="downloadCollection('{$path}')">
</sl-icon-button>
<sl-icon-button name="trash" title="supprimer" onclick="deleteCollection('{$path}')">
</sl-icon-button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment