Refs #764; added context class to edit link:
- This styles the link as a button which aligns with the other actions that have button styles from bootstrap and plonetheme.barcelonata
This commit is contained in:
parent
6e85735b5b
commit
99ef943328
@ -119,7 +119,7 @@
|
|||||||
<tal:edit tal:condition="python:isEditCommentAllowed and canEdit">
|
<tal:edit tal:condition="python:isEditCommentAllowed and canEdit">
|
||||||
<!-- plone 5 will have auth_token available
|
<!-- plone 5 will have auth_token available
|
||||||
so we'll use modal pattern -->
|
so we'll use modal pattern -->
|
||||||
<a class="commentactionsform pat-plone-modal"
|
<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}">Edit</a>
|
||||||
<form name="edit"
|
<form name="edit"
|
||||||
|
Loading…
Reference in New Issue
Block a user