Changeset 953 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
27 Nov 2006, 22:03:04 (18 years ago)
Author:
Henrik Bettermann
Message:

member directory acl permission, schema and layouts changed
not yet optimized

Location:
WAeUP_SRP/trunk/skins/waeup_directory
Files:
5 added
1 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_directory/layout_waeup_dir_edit.pt

    r923 r953  
    6767    <tal:block condition="has_edits">
    6868    <input type="submit" class="standalone"
    69       name="cpsdirectory_entry_edit_form:method"
     69      name="member_edit_form:method"
    7070      value="button_change" i18n:attributes="value"
    7171      tal:condition="not:creation" />
    7272    <input type="submit" class="standalone"
    73       name="cpsdirectory_entry_create_form:method"
     73      name="member_create_form:method"
    7474      value="button_create" i18n:attributes="value"
    7575      tal:condition="creation" />
  • WAeUP_SRP/trunk/skins/waeup_directory/member_view.pt

    r935 r953  
    66  "/>
    77<metal:block use-macro="here/main_template/macros/master">
     8
    89  <metal:block fill-slot="style_slot">
    9     <tal:block define="dummy
    10       python:context.setDirectoryBreadCrumbs(request, dirname, dir, dirtitle)"/>
    1110    <tal:block define="global actions
    12       python:context.getDirectoryActions(actions, dirname, dir, 'view', id)"/>
    13 
     11      python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'view', id)"/>
    1412    <link rel="Stylesheet" type="text/css" href=""
    1513      tal:attributes="href string:${base_url}document.css" />
    1614  </metal:block>
    1715
    18   <metal:block fill-slot="header">
    19     <h1>
    20       <span i18n:translate="" tal:content="dirtitle" />:
    21       <span i18n:translate="cpsdir_label_view_entry">view entry</span>
    22     </h1>
    23     <div class="description">
    24     </div>
    25   </metal:block>
     16
    2617
    2718  <metal:block fill-slot="main" tal:define="
    28     title_field dir/title_field;
     19   
    2920    res python: dir.renderEntryDetailed(id);
    3021    global rendered_main python: res[0];
    3122    ds python: res[1];
    3223    global title ds/?title_field|id;">
     24   
     25    <h3>
     26      <span tal:content="ds/fullname" />     
     27    </h3>
     28
    3329
    3430    <div tal:replace="structure rendered_main">Rendered main...</div>
  • WAeUP_SRP/trunk/skins/waeup_directory/search_members.py

    r930 r953  
    5656    results = dir.searchEntries(return_fields=return_fields, **mapping)
    5757except SearchSizeLimitExceeded, e:
    58     rendered = dir.cpsdirectory_entry_search_errors(exception=e)
     58    rendered = dir.member_search_errors(exception=e)
    5959    return rendered, 'results'
    6060
  • WAeUP_SRP/trunk/skins/waeup_directory/search_members_form.pt

    r916 r953  
    99      python:context.setDirectoryBreadCrumbs(request, dirname, dir, dirtitle)"/>
    1010    <tal:block define="global actions
    11       python:context.getDirectoryActions(actions, dirname, dir, 'search')"/>
     11      python:context.getWAeUPDirectoryActions(actions, dirname, dir, 'search')"/>
    1212
    1313    <link rel="Stylesheet" type="text/css" href=""
     
    2727    global portal_status_message python: (validate and not ok and
    2828      'psm_content_error') or request.form.get('portal_status_message', '');">
    29     <h1>
    30       <span i18n:translate="" tal:content="dirtitle" />:
    31       <span tal:condition="python: ok == 'results'"
    32         i18n:translate="">cpsdir_label_results
    33       </span>
    34       <span tal:condition="python: ok != 'results'"
    35          i18n:translate="cpsdir_label_search_entry">search an entry
    36       </span>
    37     </h1>
    38 
     29    <h3>
     30      Search Member Section
     31    </h3>
     32    <br />
    3933    <div tal:replace="structure rendered_main">Rendered main...</div>
    4034  </metal:block>
  • WAeUP_SRP/trunk/skins/waeup_directory/search_members_results.pt

    r930 r953  
    1616  ">
    1717  <div style="padding-left: 1.5em">
    18     <form action="cpsdirectory_entry_delete" method="post">
     18    <form action="member_delete" method="post">
    1919      <table tal:condition="results" summary="search result list">
    2020        <tr>
Note: See TracChangeset for help on using the changeset viewer.