X-Git-Url: https://svn.cri.ensmp.fr/git/Plinn.git/blobdiff_plain/55884d0a630a05d708c8c4924e24f75d7167a9d0..83cd2734b6931b3ccd7f369187b47b722ac2c40a:/skins/generic/widgets.pt?ds=sidebyside diff --git a/skins/generic/widgets.pt b/skins/generic/widgets.pt index d87ea31..be44d58 100644 --- a/skins/generic/widgets.pt +++ b/skins/generic/widgets.pt @@ -48,7 +48,11 @@ </script> </div> - <div metal:define-macro="clipboard" tal:condition="python:not request.SESSION.get('editBoxes')" tal:omit-tag="" i18n:domain="plinn" tal:on-error="python:here.emptyClipboard(empty=True,ajax=True) and None"> + <div metal:define-macro="clipboard" + tal:condition="python:not request.SESSION.get('editBoxes')" + i18n:domain="plinn" + tal:on-error="python:here.emptyClipboard(empty=True,ajax=True) and None" + id="clipboard"> <table tal:condition="clip" class="clipboard" cellspacing="0" tal:define="clip here/getCPInfoList"> <tr><th i18n:translate="">Clipboard</th></tr> <tr><td> @@ -56,10 +60,8 @@ <ul> <li tal:repeat="item clip" tal:attributes="class python:repeat['item'].odd() and 'odd' or 'even'"><input type="checkbox" name="indexes:int:list" tal:attributes="value repeat/item/index"/><a tal:attributes="href item/url ; title item/title"><img tal:attributes="src item/icon ; alt item/type ; height item/height ; width item/width" border="0" /> <span tal:replace="item/title">Title</span></a></li> </ul> - <!-- - <input type="submit" name="delete" value="Delete" i18n:attributes="value" style="float:left"/> - <input type="submit" name="empty" value="Empty" i18n:attributes="value" style="float:right" /> - --> + <input type="submit" name="delete" value="Delete" i18n:attributes="value" style="float:left"/> + <input type="submit" name="empty" value="Empty" i18n:attributes="value" style="float:right" /> </form> </td></tr> </table>