Mark edit link for translation (#91)

Mark edit link for translation.
This commit is contained in:
Gil Forcada Codinachs 2016-04-07 18:36:19 +02:00 committed by Jens W. Klein
parent 2e3ffc9b2c
commit eee8e3c1b6
2 changed files with 5 additions and 2 deletions

View File

@ -14,7 +14,9 @@ New:
Fixes: Fixes:
- *add item here* - Mark 'Edit' button for translation.
https://github.com/plone/plone.app.discussion/issues/90
[gforcada]
2.4.11 (2016-03-31) 2.4.11 (2016-03-31)

View File

@ -121,7 +121,8 @@
so we'll use modal pattern --> so we'll use modal pattern -->
<a class="commentactionsform pat-plone-modal context" <a class="commentactionsform pat-plone-modal context"
tal:condition="auth_token" tal:condition="auth_token"
tal:attributes="href string:${reply/absolute_url}/@@edit-comment?_authenticator=${auth_token}">Edit</a> tal:attributes="href string:${reply/absolute_url}/@@edit-comment?_authenticator=${auth_token}"
i18n:translate="Edit">Edit</a>
<form name="edit" <form name="edit"
action="" action=""
method="get" method="get"