Changeset 143
- Timestamp:
- 3 Nov 2005, 06:30:05 (19 years ago)
- Location:
- waeup_product/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/Extensions/install.py
r141 r143 32 32 log = [] 33 33 prlog = log.append 34 34 35 35 def pr(msg, prlog=prlog): 36 36 prlog('%s<br>' % msg) … … 180 180 # main_tab actions ###( 181 181 ########################################## 182 path = "/sections/%(SRPP_ID)s" % globals() 182 path = "/sections/%(SRPP_ID)s" % globals() 183 183 actions = ( { 'tool' : 'portal_actions', 184 184 'id' : 'student_administration', 185 185 'name' : 'Students', 186 #'action' : 'string:$folder_url/students',187 'action' : 'string:$portal_url%(path)s/students' % vars(),186 'action' : 'string:${portal_url}/students', 187 #'action' : 'string:$portal_url%(path)s/students' % vars(), 188 188 'permission': (View, ), 189 189 'category' : 'main_tabs', … … 193 193 'id' : 'Academics', 194 194 'name' : 'Academics', 195 'action' : 'string:$portal_url%(path)s/academics' % vars(),195 #'action' : 'string:$portal_url%(path)s/academics' % vars(), 196 196 #'action' : 'string:${portal_url}/sections/unidemo', 197 #'action' : 'string:$folder_url/academics',197 'action' : 'string:${portal_url}/academics', 198 198 'permission': (View ), 199 199 'category' : 'main_tabs', … … 203 203 'id' : 'accomodation', 204 204 'name' : 'Accommodation', 205 'action' : 'string:$portal_url%(path)s/accommodation' % vars(),205 #'action' : 'string:$portal_url%(path)s/accommodation' % vars(), 206 206 #'action' : 'string:${portal_url}/sections/waeup/accommodation/accommodation_index_html', 207 'action' : 'string:${portal_url}/accommodation', 207 208 'permissions': (View), 208 209 #'permissions': (ModifyPortalContent,UniversityManage,StudentManage), … … 292 293 ## ), 293 294 ## } 294 ## 295 ## 295 296 ## 296 297 ## theme_ids = theme_container.objectIds() … … 308 309 ## theme_container.setDefaultTheme(target_themes[0]['id']) 309 310 ###) 310 311 311 312 312 313 ########################################## 313 314 # portal types -
waeup_product/trunk/skins/waeup_default/temporary_view_all.pt
r138 r143 18 18 <h1> <span tal:content="context/title_or_id" /></h1> 19 19 20 <p>This is a temporary view of the object of type <em tal:content="here/portal_type" /> with id <em tal:content="here/id" /> which can be customized according to the customers needs.</p> 20 <p>This is a temporary view of the object with id <em tal:content="here/id" /> 21 of type <em tal:content="here/portal_type" /> 22 which can be customized according to the customers needs.</p> 21 23 22 24 <br /> … … 32 34 33 35 34 <tal:block condition="python: len(items)"> 35 <p tal:repeat="item items"> 36 <a href="jamb" 36 37 <tal:block condition="python: len(items)"> 38 <table> 39 <span tal:repeat="item items"> 40 <tr> 41 <td> 42 <span tal:content="item/portal_type" />: 43 </td> 44 <td> 45 <i> 46 <a href="jamb" 37 47 tal:attributes="href item/absolute_url" 38 tal:content="item/title_or_id"></a> 39 (Type: <span tal:content="item/portal_type" />) 40 </p> 41 </tal:block> 42 <tal:block condition="python: not len(items)"> 48 tal:content="item/title_or_id"></a></i> 49 </td> 50 </tr> 51 </span> 52 </table> 53 </tal:block> 54 55 <tal:block condition="python: not len(items)"> 43 56 (No items contained here!) 44 57 </tal:block> 45 58 46 59 </metal:block> -
waeup_product/trunk/skins/waeup_default/waeup_layout_lib.pt
r138 r143 29 29 <metal:block define-macro="table_view" 30 30 tal:define="layout options/layout"> 31 <table border=" 1">31 <table border="0"> 32 32 <tal:block repeat="row layout/rows"> 33 33 <tr> … … 41 41 <tal:block condition="widget/label"> 42 42 <td valign="top"> 43 <span class="dlabel" i18n:translate="" tal:condition="widget/is_i18n"44 tal:content="widget/label">label</span>45 <span class="dlabel" tal:condition="not:widget/is_i18n"46 tal:content="widget/label">label</span>43 <span i18n:translate="" tal:condition="widget/is_i18n"> 44 <span tal:content="widget/label" />:</span> 45 <span tal:condition="not:widget/is_i18n"> 46 <span tal:content="widget/label" />:</span> 47 47 </td> 48 48 </tal:block> 49 49 <tal:block condition="not: widget/label"> 50 50 <td> 51 < span class="dlabel" valign="top"> no label </span>51 <div valign="top"> no label </div> 52 52 </td> 53 53 </tal:block> 54 54 <td> 55 < span tal:condition="cell" tal:content="structure cell/widget_rendered"></span>56 < span tal:condition="not:cell/widget_rendered"> none </span>55 <div class="ddescription" tal:condition="cell" tal:content="structure cell/widget_rendered"></div> 56 <div class="ddescription" tal:condition="not:cell/widget_rendered"> none </div> 57 57 </td> 58 58 </div>
Note: See TracChangeset for help on using the changeset viewer.