Changeset 485 in products for qPloneTabs/tags/0.2.1/skins/qPloneTabs/qpt_gettabslist.pt
- Timestamp:
- Aug 18, 2006 6:53:26 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
qPloneTabs/tags/0.2.1/skins/qPloneTabs/qpt_gettabslist.pt
r451 r485 1 <tal:tabs tal:define="dummy python:request.RESPONSE.setHeader('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT'); 2 category python:options.get('category', None) or 'portal_tabs'" 3 tal:repeat="tab python:modules['Products.qPloneTabs'].getPortalActions(here, category)"> 4 <li tal:define="id tab/id; 5 visible tab/visible|nothing; 6 index repeat/tab/index" 1 <tal:tabs tal:define="dummy python:request.RESPONSE.setHeader('Expires', 'Mon, 26 Jul 1997 05:00:00 GMT')" 2 tal:repeat="tab python:modules['Products.qPloneTabs'].getPortalTabs(here)"> 3 <li tal:define="id tab/id" 7 4 tal:attributes="id string:tabslist_${id}; 8 title tab/description|nothing; 9 class python:test(visible, '', 'invisible')"> 5 title tab/description|nothing;"> 10 6 <img class="drag-handle" src="drag.gif" alt="" height="11" width="25" /> 11 <div class="bridge"><input type="checkbox" class="visibility" value="1" name="visibility" title="visibility"12 tal:attributes="checked python:test(visible, 'checked', None);13 name string:i${index}_${attrs/name}" /></div>14 7 <a class="delete" href="#">Delete</a> 15 <span class="url-helper" tal:content="tab/getActionExpression|nothing">Tab Action</span> 16 <span class="tab-title" tal:content="tab/title">Tab Name</span> 8 <span tal:content="tab/title">Tab Name</span> 17 9 <form class="editform" 18 10 method="post" 19 11 action="editPTAction" 12 tal:define="index repeat/tab/index" 20 13 tal:attributes="action string:${here/portal_url}/prefs_tabs_form; 21 14 name string:f$index"> 22 <input type="hidden" name="idx" tal:attributes="value index" /> 15 <input type="hidden" name="idx" tal:attributes="value index" /> 16 <fieldset> 17 <legend tal:content="string:Edit '${tab/title}' Action">Edit Action</legend> 23 18 <dl> 24 19 <dt><label>Name</label></dt> … … 27 22 name string:i${index}_${attrs/name}" /></dd> 28 23 </dl> 29 <dl class="collapseAdvanced expandedBlock"> 30 <dt class="headerAdvanced">Advanced</dt> 31 <dd class="contentAdvanced"> 24 25 <dl class="collapsible collapsedBlockCollapsible"> 26 <dt class="collapsibleHeader">Advanced</dt> 27 <dd class="collapsibleContent"> 32 28 <dl> 33 29 <dt><label>URL (Expression)</label></dt> … … 51 47 </dd> 52 48 </dl> 53 <div> 54 <input type="submit" class="editsave" i18n:attributes="value" value="Save" /> 55 <input type="submit" class="editcancel" i18n:attributes="value" value="Cancel" /> 56 </div> 49 </fieldset> 50 <div> 51 <input type="submit" class="editsave" i18n:attributes="value" value="Save" /> 52 <input type="submit" class="editcancel" i18n:attributes="value" value="Cancel" /> 53 </div> 57 54 </form> 58 55 </li>
Note: See TracChangeset
for help on using the changeset viewer.