1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
6 <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
8 <link href="zpt_stylesheet.css" rel="stylesheet" media="screen" />
9 <link href="plinn_style.css" rel="stylesheet" media="screen" />
12 <body i18n:domain="plinn">
14 <div metal:define-macro="tabs"
15 tal:define="filteredActionsList python:[];
16 dummy python:[ filteredActionsList.extend(l) for l in [ actions.get(key, []) for key in ['folder', 'object'] ] ];
17 forceTab request/forceTab|nothing"
18 tal:condition="python:len(filteredActionsList) > 1" tal:omit-tag="">
19 <div metal:define-macro="standalone_tabs" tal:define="forceTab forceTab|nothing">
20 <ul class="contentTabs">
21 <li class="selected" tal:replace="nothing">
24 <li tal:repeat="action filteredActionsList"
25 tal:attributes="class python:( (forceTab == action['id']) or (request['URL0'].strip() == action['url'].strip() or request['URL0'].strip().split('/')[-1] == action['id']) ) and 'selected' or nothing">
26 <a href="#" tal:attributes="href action/url ; name action/id"
27 tal:content="action/title" i18n:translate="">Edit</a>
33 <div metal:define-macro="additional_tabs"
34 tal:define="filteredActionsList python:actions.get('additional_tabs', [])"
35 tal:condition="filteredActionsList" tal:omit-tag="">
36 <div metal:define-macro="standalone_additional_tabs" tal:define="forceTab forceTab|nothing">
37 <ul class="additionalTabs">
38 <li class="selected" tal:replace="nothing">
41 <li tal:repeat="action filteredActionsList"
42 tal:attributes="class python:( (forceTab == action['id']) or (request['URL0'].strip() == action['url'].strip() or request['URL0'].strip().split('/')[-1] == action['id']) ) and 'selected' or nothing">
43 <a href="#" tal:attributes="href action/url ; name action/id"
44 tal:content="action/title" i18n:translate="">Edit</a>