Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
maarchRM
Commits
2241fb14
Unverified
Commit
2241fb14
authored
Mar 22, 2021
by
Jerome Boucher
Browse files
feat/16378 : change collection display label with favoris
parent
64a2afe5
Pipeline
#11450
failed with stages
Changes
7
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
data/maarchRM/conf/menu.ini
View file @
2241fb14
...
...
@@ -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'
}
...
...
src/presentation/maarchRM/Resources/locale/fr/recordsManagement/messages.po
View file @
2241fb14
...
...
@@ -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 de
s favoris
."
src/presentation/maarchRM/Resources/view/Collection/Collection.html
View file @
2241fb14
<div
class=
"container-fluid"
>
<div
class=
"page-header"
>
<h1><span
class=
"fa fa-shopping-basket fa-fw"
></span>
Collection
</h1>
<h1><span
class=
"fa fa-shopping-basket fa-fw"
></span>
Favoris
</h1>
</div>
<div
class=
"container-fluid"
id=
"collectionList"
></div>
</div>
src/presentation/maarchRM/Resources/view/recordsManagement/archive/archiveManagement.html
View file @
2241fb14
...
...
@@ -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
;
...
...
src/presentation/maarchRM/Resources/view/recordsManagement/archive/resultActionsButton.html
View file @
2241fb14
...
...
@@ -25,5 +25,4 @@
<?merge hasIntegrityCheckPrivilege.bool() ?>
<li
class=
"checkHash"
data-type=
"checkHash"
><a
href=
"#"
><i
class=
"fa fa-database"
>
</i>
Verify integrity
</a></li>
<li
class=
"divider"
></li>
<li
class=
"addToCollection"
data-type=
"addToCollection"
><a
href=
"#"
><i
class=
"fa fa-shopping-basket"
>
</i>
Add to my collection
</a></li>
</ul>
src/presentation/maarchRM/Resources/view/recordsManagement/archive/resultList.html
View file @
2241fb14
...
...
@@ -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>
...
...
src/presentation/maarchRM/Resources/view/recordsManagement/archive/resultListActionsButton.html
View file @
2241fb14
...
...
@@ -26,5 +26,4 @@
<?merge hasIntegrityCheckPrivilege.bool() ?>
<li
class=
"checkHash"
data-type=
"checkHash"
><a
href=
"#"
><i
class=
"fa fa-database"
>
</i>
Verify integrity
</a></li>
<li
class=
"divider"
></li>
<li
class=
"addToCollection"
data-type=
"addToCollection"
><a
href=
"#"
><i
class=
"fa fa-shopping-basket"
>
</i>
Add to my collection
</a></li>
</ul>
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment