diff --git a/templates/capsule/index.html.twig b/templates/capsule/index.html.twig index 24c3d22ac50d87f75ee65a19e0f80327b8b69087..87f13c870506cbc51a8083631fac02fc2fe5f949 100644 --- a/templates/capsule/index.html.twig +++ b/templates/capsule/index.html.twig @@ -80,6 +80,16 @@ </a> </div> + + <div class="list-item text-nowrap"> + <a href="# + {#{{ path('capsules_edit_group', { 'capsule_id' : capsule.getId()}) }}#} + " class="links text-decoration-none"> + <i class="fas fa-layer-group m-2"></i> + {{ 'capsule.edit.groups.title'|trans }} + </a> + </div> + <div class="list-item text-nowrap"> <a href="/capsule/duplicate/{{ capsule.getId() }}" class="links text-decoration-none"> <i class="far fa-clone m-2"></i> diff --git a/translations/messages.en.yaml b/translations/messages.en.yaml index ad0f150076247179414da7228ca4caec93ae8a1b..10cdd6de54e9afa66cf0785c330190f4bf4659df 100644 --- a/translations/messages.en.yaml +++ b/translations/messages.en.yaml @@ -113,4 +113,32 @@ user: change_password: Change password updated_success: The password has been updated edit_profile: Edit my profile - edit_password: Edit my password \ No newline at end of file + edit_password: Edit my password + +editors: + title: Editors + title_name: Editors of capsule %capsule_name% + add_email_address: Add new editor with email address + current_editors_title: Current editors + pending_editors_title: Pending editors + user_not_editor_error: You are not editor of the capsule + add: + pending_editor: + success: The user user_email has been added to pending editor list. + He will receive an email to invite him register on MemoRekall and to inform him he has been added as an editor of this capsule. + already_added: The user user_email has already been added to pending editor list + email: + title: Invitation to edit a MemoRekall capsule + text: You have been added by %user_name% as editor of the capsule "%capsule_name%". + In order to access and edit it, you first need to register on MemoRekall. Please follow this link to + link: https://project.memorekall.com/register/ + link_name: register + user: + success: The user user_email is now an editor of the capsule capsule_name. + He will receive an email to inform him he has been added as an editor of this capsule. + already_added: The user user_email is already an editor of this capsule + email: + title: New capsule on your list + text: You have been add by %user_name% as editor of the capsule "%capsule_name%". + You can now access and edit it. You will find the capsule in your capsule list. + link: Go to capsule edition page