Changeset 124 for waeup_product/trunk/skins/waeup_default
- Timestamp:
- 29 Oct 2005, 10:45:10 (19 years ago)
- Location:
- waeup_product/trunk/skins/waeup_default
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_default/getWAeUPTypes.py
r119 r124 30 30 'cps_section_wf': 'waeup_section_wf', 31 31 'actions': ({'id': 'view', 32 'name': 'action_view', 33 'action': 'university_view', 34 'condition': "python:member and 'Manager' in member.getRoles()", 32 'name': 'Standard View', 33 #'action': 'university_view', 34 'action': 'temporary_view_all', 35 #'condition': "python:member and 'Manager' in member.getRoles()", 35 36 'permissions': (View,)}, 36 37 ## {'id': 'add_accommodation', … … 93 94 'cps_section_wf': 'waeup_section_wf', 94 95 'actions': ({'id': 'view', 95 'name': 'Students', 96 'action': 'students_folder_view', 96 'name': 'Standard View', 97 #'action': 'students_folder_view', 98 'action': 'temporary_view_all', 97 99 #'condition': "python:member and 'Manager' in member.getRoles()", 98 100 'permissions': (View,)}, … … 108 110 'action' : 'string:${object/absolute_url}/create_jamb', 109 111 'permissions': (UniversityManage,StudentManage)}, 112 { 113 'id' : 'my_admission', 114 'name' : 'My Admission Status', 115 'action' : 'string:${object/absolute_url}/check_admission', 116 'condition': 'object/portal_membership/isAnonymousUser', 117 'permission': (View,)}, 118 { 119 'id' : 'admission_list', 120 'name' : 'Admission List', 121 'action' : 'string:${object/absolute_url}/admission_status', 122 'condition': 'object/portal_membership/isAnonymousUser', 123 'permission': (View,)}, 110 124 { 111 125 'id': 'localroles', … … 155 169 'cps_section_wf': 'waeup_section_wf', 156 170 'actions': ({'id': 'view', 157 'name': 'Academics', 158 'action': 'academics_view', 171 'name': 'Standard View', 172 #'action': 'academics_view', 173 'action': 'temporary_view_all', 159 174 'condition': "", 160 175 'permissions': (View,)}, … … 197 212 'actions': ( 198 213 {'id': 'view', 199 'name': ' action_view',200 'action': 'string:${object_url}/student_index_html',201 #'action': 'string:${object_url}/cpsdocument_view',214 'name': 'Standard View', 215 #'action': 'string:${object_url}/student_index_html', 216 'action': 'temporary_view_all', 202 217 'condition': '', 203 218 'permission': (View,), … … 215 230 'visible' : 0, 216 231 }, 232 {'id' : 'JAMB', 233 'name' : 'JAMB Data', 234 'action' : 'string:${object/absolute_url}/JAMB', 235 'condition': '', 236 'permission': (ModifyPortalContent,)}, 237 { 238 'id' : 'PERSONAL', 239 'name' : 'Personal Data', 240 'action' : 'string:${object/absolute_url}/PERSONAL', 241 'condition': '', 242 'permission': (ModifyPortalContent,)}, 243 { 244 'id' : 'book_accomodation', 245 'name' : 'Book Accomodation', 246 'action' : 'string:${object/absolute_url}/book_accommodation', 247 'condition': '', 248 'permission': (ModifyPortalContent,)}, 217 249 ) 218 250 } … … 240 272 ## 'actions': ( 241 273 ## {'id': 'view', 242 ## 'name': ' action_view',274 ## 'name': 'Standard View', 243 275 ## 'action': 'string:${object_url}/document_view', 244 276 ## 'condition': '', … … 297 329 'actions': ( 298 330 {'id': 'view', 299 'name': 'action_view', 300 'action': 'string:${object_url}/jamb_index_html', 331 'name': 'Standard View', 332 #'action': 'string:${object_url}/jamb_index_html', 333 'action': 'temporary_view_all', 301 334 'condition': '', 302 335 'permission': (View,), … … 306 339 'action': 'string:${object_url}/waeup_edit_form', 307 340 'condition': '', 308 'permission': ( ModifyPortalContent,StudentManage),341 'permission': (StudentManage), 309 342 }, 310 343 {'id': 'localroles', … … 353 386 'actions': ( 354 387 {'id': 'view', 355 'name': ' action_view',356 'action': 'string:${object_url}/student_personal_index_html',388 'name': 'Standard View', 389 #'action': 'string:${object_url}/student_personal_index_html', 357 390 #'action': 'string:${object_url}/cpsdocument_view', 358 'permission': ('View',), 391 'action': 'temporary_view_all', 392 'permission': (View,), 359 393 'category': 'object', 360 394 'visible': True,}, … … 363 397 'action': 'string:${object_url}/student_personal_edit_form', 364 398 'condition': '', 365 'permission': ( 'View',),399 'permission': (ModifyPortalContent,), 366 400 'category': 'object', 367 401 'visible': True,}, … … 398 432 'actions': ( 399 433 {'id': 'view', 400 'name': 'action_view', 401 'action': 'string:${object_url}/faculty_index_html', 434 'name': 'Standard View', 435 #'action': 'string:${object_url}/faculty_index_html', 436 'action': 'temporary_view_all', 402 437 'condition': '', 403 438 'permission': (View,), … … 412 447 'name': 'Add Department', 413 448 'action' : 'string:${object/absolute_url}/create_common?type_name=Department', 414 'permissions': ( ModifyPortalContent,UniversityManage,)},449 'permissions': (UniversityManage,)}, 415 450 {'id': 'contents', 416 451 'name': 'action_folder_contents', 417 452 'action': 'folder_contents', 418 453 'condition': "python:member and 'Manager' in member.getRoles()", 419 'permissions': (ModifyPortalContent, UniversityManage,)},454 'permissions': (ModifyPortalContent,)}, 420 455 {'id': 'edit', 421 456 'name': 'action_edit', 422 457 'action': 'cpsdocument_edit_form', 423 458 'condition': "python:member and 'Manager' in member.getRoles()", 424 'permissions': (ModifyPortalContent, UniversityManage,)},459 'permissions': (ModifyPortalContent,)}, 425 460 {'id': 'metadata', 426 461 'name': 'action_metadata', … … 461 496 'actions': ( 462 497 {'id': 'view', 463 'name': 'action_view', 464 'action': 'string:${object_url}/department_index_html', 498 'name': 'Standard View', 499 #'action': 'string:${object_url}/department_index_html', 500 'action': 'temporary_view_all', 465 501 'condition': '', 466 502 'permission': ('View',), … … 470 506 'action': 'string:${object_url}/waeup_edit_form', 471 507 'condition': '', 472 'permission': ( FacultyManage,),508 'permission': (UniversityManage,), 473 509 'visible': True,}, 474 510 {'id': 'create_course', 475 511 'name': 'Add Course', 476 512 'action' : 'string:${object/absolute_url}/create_course', 477 'permissions': ( ModifyPortalContent,UniversityManage,)},513 'permissions': (UniversityManage,)}, 478 514 {'id': 'contents', 479 515 'name': 'action_folder_contents', 480 516 'action': 'folder_contents', 481 517 'condition': "python:member and 'Manager' in member.getRoles()", 482 'permissions': (ModifyPortalContent, UniversityManage,)},518 'permissions': (ModifyPortalContent,)}, 483 519 {'id': 'edit', 484 520 'name': 'action_edit', 485 521 'action': 'cpsdocument_edit_form', 486 522 'condition': "python:member and 'Manager' in member.getRoles()", 487 'permissions': (ModifyPortalContent, UniversityManage,)},523 'permissions': (ModifyPortalContent,)}, 488 524 {'id': 'metadata', 489 525 'name': 'action_metadata', … … 524 560 'actions': ( 525 561 {'id': 'view', 526 'name': 'action_view', 527 'action': 'string:${object_url}/course_index_html', 562 'name': 'Standard View', 563 #'action': 'string:${object_url}/course_index_html', 564 'action': 'temporary_view_all', 528 565 'condition': '', 529 566 'permission': ('View',), … … 585 622 'actions': ( 586 623 {'id': 'view', 587 'name': 'action_view', 588 'action': 'accommodation_index_html', 624 'name': 'Standard View', 625 #'action': 'accommodation_index_html', 626 'action': 'temporary_view_all', 589 627 'condition': '', 590 628 'permission': (View,), … … 635 673 'actions': ( 636 674 {'id': 'view', 637 'name': 'action_view', 638 'action': 'string:${object_url}/accommodation_index_html', 675 'name': 'Standard View', 676 #'action': 'string:${object_url}/accommodation_index_html', 677 'action': 'temporary_view_all', 639 678 'condition': '', 640 679 'permission': ('View',), … … 642 681 'visible': True,}, 643 682 {'id': 'edit', 644 'name': ' edit',683 'name': 'action_edit', 645 684 'action': 'string:${object_url}/waeup_edit_form', 646 685 'permission': (UniversityManage,StudentManage), -
waeup_product/trunk/skins/waeup_default/logged_out.pt
r49 r124 8 8 i18n:translate="description_logout_success"> 9 9 You have been logged out. <br /> 10 <a href="" tal:attributes="href string:${base_url}/sections/unidemo/students/check_admission">check your admission</a>11 12 10 </p> 13 11 -
waeup_product/trunk/skins/waeup_default/portlet_session_info.pt
r106 r124 4 4 > 5 5 <tal:block condition="not:anonymous"> 6 < spani18n:translate="">You are currently logged in as6 <div i18n:translate="">You are currently logged in as 7 7 <em i18n:name="member" 8 8 tal:content="member" /><br />with Basic Roles <span tal:content="member/getRoles" /><br /> 9 9 <span tal:condition="python: 0" tal:content="python:mtool.getCPSCandidateLocalRoles(context)" /> 10 <a href="" tal:condition="python: 'Students' in member.getGroups()" 11 tal:attributes="href string:${here/portal_url}/sections/waeup/students/${member}">goto your personal area</a> 12 </span><br /> 10 </div> 11 <a href="" tal:condition="python: 'Student' in member.getGroups()" 12 tal:attributes="href string:${here/portal_url}/students/${member}"> 13 Go to your personal area 14 </a> 15 13 16 <a href="" tal:condition="python: 0" tal:attributes="href string:${context/portal_url}/cpsdirectory_entry_view?dirname=members&id=${member}">Edit your Preferences</a><br /> 14 <br /> 15 (<a href="" i18n:translate=""16 tal:attributes="href string:${here/portal_url}/ sections/waeup/logout">log out</a>)17 18 <a href="" i18n:translate="" 19 tal:attributes="href string:${here/portal_url}/logout">Log out</a> 17 20 </tal:block> 18 21 <tal:block condition="anonymous"> 19 < span >You are currently not logged in </span><br />20 <a href="" tal:attributes="href string:${here/portal_url}/ sections/waeup/login_form">Login</a>22 <div>You are currently not logged in </div><br /> 23 <a href="" tal:attributes="href string:${here/portal_url}/login_form">Log in</a> 21 24 </tal:block> 22 <br />23 <a tal:condition="python: 0" href="" i18n:translate=""24 tal:attributes="href string:${here/portal_url}/sections/waeup/students">Student Administration</a>25 25 </tal:block> -
waeup_product/trunk/skins/waeup_default/temporary_view_all.pt
r122 r124 14 14 15 15 <metal:block fill-slot="main" 16 tal:define="student_folder here/getContent; 17 items here/contentValues" 16 tal:define="folder here/getContent; 17 items here/contentValues; 18 attributes here/contentValues" 18 19 > 19 This is the main text area of the object with id <em tal:content="here/title_or_id" /> which has to be filled with content. 20 <h1> Title of the object '<em tal:content="here/id" />'</h1> 21 22 <p>This is the main text area of the object with id <em tal:content="here/id" /> which has to be filled with content.</p> 23 24 <p>This is a list of attributes assigned to the <em tal:content="here/title_or_id" /> object which can be displayed in various ways: </p> 25 26 <br /> 27 28 <p>(The attribute listing is not yet implemented.)</p> 29 30 <br /> 31 32 <p>This is a list of items attached to the <em tal:content="here/title_or_id" /> object which can be listed in various ways: </p> 33 34 <br /> 35 36 <table cellspacing="0" cellpadding="0"> 37 <tal:block condition="python: len(items)"> 38 <tr tal:repeat="item items"> 39 <td colspan="1"> 40 <a href="jamb" 41 tal:attributes="href item/absolute_url" 42 tal:content="item/title_or_id"></a> 43 </td> 44 </tr> 45 </tal:block> 46 <tal:block condition="python: not len(items)"> 47 (No items yet!) 48 </tal:block> 49 </table> 50 51 20 52 </metal:block> 21 53 <metal:block fill-slot="sub">
Note: See TracChangeset for help on using the changeset viewer.