Unverified Commit 2241fb14 authored by Jerome Boucher's avatar Jerome Boucher
Browse files

feat/16378 : change collection display label with favoris

parent 64a2afe5
Pipeline #11450 failed with stages
......@@ -195,7 +195,7 @@ menu = "[
'class' : 'fa fa-bar-chart fa-fw'
},
{
'label' : 'Collection',
'label' : 'Favoris',
'href' : '/collection',
'class' : 'fa fa-shopping-basket fa-fw'
}
......
......@@ -1321,7 +1321,7 @@ msgid "Object"
msgstr "Objet"
msgid "Archive added to collection."
msgstr "Archive ajoutée à la collection."
msgstr "Archive ajoutée aux favoris."
msgid "Archive removed from collection."
msgstr "Archive retirée de la collection."
msgstr "Archive retirée des favoris."
<div class="container-fluid">
<div class="page-header">
<h1><span class="fa fa-shopping-basket fa-fw"></span>&nbsp;Collection</h1>
<h1><span class="fa fa-shopping-basket fa-fw"></span>&nbsp;Favoris</h1>
</div>
<div class="container-fluid" id="collectionList"></div>
</div>
......@@ -64,10 +64,6 @@ $('.multipleActionMenu').on('click', 'li', function() {
case "checkHash":
ArchivesAction.checkHash(selection['ids'].join("&archiveIds[]="));
break;
case "addToCollection":
console.log(selection);
ArchivesAction.addToCollection();
break;
default:
var transaction = false;
$("#transaction").val() ? transaction = true : transaction = false;
......@@ -88,9 +84,6 @@ $('#archiveList').on('click', '.actionMenu li', function() {
case "checkHash":
ArchivesAction.checkHash(id);
break;
case "addToCollection":
ArchivesAction.addToCollection(id);
break;
default:
var transaction = false;
$("#transaction").val() ? transaction = true : transaction = false;
......
......@@ -25,5 +25,4 @@
<?merge hasIntegrityCheckPrivilege.bool() ?>
<li class="checkHash" data-type="checkHash"><a href="#"><i class="fa fa-database">&nbsp;</i>&nbsp;Verify integrity</a></li>
<li class="divider"></li>
<li class="addToCollection" data-type="addToCollection"><a href="#"><i class="fa fa-shopping-basket">&nbsp;</i>&nbsp;Add to my collection</a></li>
</ul>
......@@ -31,7 +31,7 @@
<th>Deposit date</th>
<th>Disposal date</th>
<th>Status</th>
<th><span><i class="fa fa-star-o" title="collection"></i></span></th>
<th><span><i class="fa fa-star-o" title="Favoris"></i></span></th>
<th style="min-width:150px;"></th>
</tr>
</thead>
......
......@@ -26,5 +26,4 @@
<?merge hasIntegrityCheckPrivilege.bool() ?>
<li class="checkHash" data-type="checkHash"><a href="#"><i class="fa fa-database">&nbsp;</i>&nbsp;Verify integrity</a></li>
<li class="divider"></li>
<li class="addToCollection" data-type="addToCollection"><a href="#"><i class="fa fa-shopping-basket">&nbsp;</i>&nbsp;Add to my collection</a></li>
</ul>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment