Ignore:
Timestamp:
9 May 2012, 08:39:01 (13 years ago)
Author:
Henrik Bettermann
Message:

Add description (= introduction) to ApplicantsRoot?. Adjust ApplicantsPlugin? accordingly.

Location:
main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantsrootmanagepage.pt

    r7811 r8388  
    22  i18n:domain="waeup.kofa" method="POST"  enctype="multipart/form-data">
    33  <ul class="tabs" data-tabs="tabs">
    4     <li class="active">
     4    <li tal:attributes="class view/tab1">
    55    <a href="#tab-1">
     6      <span i18n:translate="">Introduction
     7      </span></a>
     8    </li>
     9    <li tal:attributes="class view/tab2">
     10    <a href="#tab-2">
    611      <span tal:content="view/subunits">Contents
    712      </span></a>
    813    </li>
    9     <li>
    10     <a href="#tab-2">
     14    <li tal:attributes="class view/tab3">
     15    <a href="#tab-3">
    1116      <span i18n:translate="">Local Roles
    1217      </span></a>
     
    1419  </ul>
    1520  <div class="tab-content">
    16     <div id="tab-1" class="active">
     21    <div id="tab-1" tal:attributes="class view/tab1">
     22      <table class="form-table">
     23        <tbody>
     24          <tal:widgets content="structure provider:widgets" />
     25        </tbody>
     26      </table>
     27
     28      <div tal:condition="view/availableActions">
     29        <span tal:repeat="action view/actions" tal:omit-tag="">
     30          <input tal:condition="python:action.label in view.taboneactions"
     31            tal:replace="structure action/render"/>
     32        </span>
     33      </div>
     34    </div>
     35    <div id="tab-2" tal:attributes="class view/tab2">
    1736      <h3 tal:content="view/subunits">SUBUNITS</h3>
    1837      <table class="display dataTableManage">
     
    4362      <div tal:condition="view/availableActions">
    4463        <span tal:repeat="action view/actions" tal:omit-tag="">
    45           <input tal:condition="python:action.label in view.taboneactions"
     64          <input tal:condition="python:action.label in view.tabtwoactions"
    4665            tal:replace="structure action/render"/>
    4766        </span>
    4867      </div>
    4968    </div>
    50     <div id="tab-2"> <br />
     69    <div id="tab-3" tal:attributes="class view/tab3">
     70      <br />
    5171      <table class="display dataTableManage">
    5272        <thead>
     
    7494      <div tal:condition="view/availableActions">
    7595        <span tal:repeat="action view/actions" tal:omit-tag="">
    76           <input tal:condition="python:action.label in view.tabtwoactions1"
     96          <input tal:condition="python:action.label in view.tabthreeactions1"
    7797            tal:replace="structure action/render"/>
    7898        </span>
     
    96116            <div tal:condition="view/availableActions">
    97117              <span tal:repeat="action view/actions" tal:omit-tag="">
    98                 <input tal:condition="python:action.label in view.tabtwoactions2"
     118                <input tal:condition="python:action.label in view.tabthreeactions2"
    99119                  tal:replace="structure action/render"/>
    100120              </span>
  • main/waeup.kofa/trunk/src/waeup/kofa/applicants/browser_templates/applicantsrootpage.pt

    r7811 r8388  
     1<span tal:condition="view/introduction" tal:omit-tag="">
     2  <span tal:content="structure view/introduction">INTRODUCTION</span>
     3  <br />
     4</span>
     5
    16<table i18n:domain="waeup.kofa">
    27  <thead>
Note: See TracChangeset for help on using the changeset viewer.