Changeset 3036 in products for quintagroup.analytics/trunk


Ignore:
Timestamp:
Nov 18, 2010 12:18:58 PM (14 years ago)
Author:
fenix
Message:
  • added csv format for portlet view.
  • some little corrections.
Location:
quintagroup.analytics/trunk/quintagroup/analytics/browser
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.analytics/trunk/quintagroup/analytics/browser/portlets_stats.pt

    r3032 r3036  
    2626                Search depth (-1 means no limit, 1 means that objects in the site root only will be searched): 
    2727                <input type="text" name="level" size="5" value="1" tal:attributes="value request/level|python:1" /> 
     28                CSV 
     29                <input type="checkbox" name="csv" size="40" tal:attributes="checked request/csv|python:0" /> 
    2830                <input type="submit" name="submit" value="Search" /> 
    2931            </form> 
     
    3638        </div> 
    3739        <div tal:condition="request/csv|nothing"> 
    38             <nobr>path,<span tal:replace="view/propname" /></nobr><br/> 
     40            <nobr>path,</nobr> 
     41            <nobr>left_slots,</nobr> 
     42            <nobr>right_slots,</nobr><br/> 
    3943            <nobr tal:repeat="info infos"> 
    40                 <span tal:replace="info/path">path</span>, 
    41                 <span tal:condition="info/slots">" 
    42                     <span tal:condition="python:not isinstance(info['slots'],basestring)" tal:repeat="slot info/slots"> 
    43                         <span tal:replace="slot" />; 
    44                     </span> 
    45                     <span tal:condition="python:isinstance(info['slots'],basestring)" tal:replace="info/slots">string</span>" 
    46                 </span> 
    47                 <span tal:condition="python:info['slots'] is None">None</span> 
    48                 <br/> 
     44              <span tal:replace="info/path">path</span>, 
     45              <span tal:condition="info/left_slots"> 
     46                <tal:left_slot repeat="item info/left_slots"> 
     47                  <span tal:replace="item/title" /> 
     48                </tal:left_slot> 
     49              </span>, 
     50              <span tal:condition="info/right_slots"> 
     51                <tal:left_slot repeat="item info/right_slots"> 
     52                  <span tal:replace="item/title" /> 
     53                </tal:left_slot> 
     54              </span>,<br/> 
    4955            </nobr> 
    5056        </div> 
  • quintagroup.analytics/trunk/quintagroup/analytics/browser/properties_stats.pt

    r3032 r3036  
    3535        <div> 
    3636             <span tal:repeat="prop view/proplist"> 
    37                  <span tal:replace="prop"/>, 
     37                 <span tal:replace="prop"/> 
     38                 <span tal:condition="not:repeat/prop/end">,</span> 
    3839             </span> 
    3940             <hr> 
  • quintagroup.analytics/trunk/quintagroup/analytics/browser/qa_overview.pt

    r3030 r3036  
    2424               You can see how many content objects are on you site, who are content owners, 
    2525               what are content workflow states, etc. You can see all portlets that are assigned 
    26                on your site and edit them. You can also export the information into .csv files.</p> 
     26               on your site and edit them. You can also export the information into .csv format.</p> 
    2727            <p>Information provided by Quintagroup Analytics Tool allows you to see your site's overall 
    2828               content from different perspectives. This information can be very useful while migrating 
     
    3333                <a href="@@ownership_by_type">Ownership by type</a> 
    3434              </dt> 
    35               <dd>Information about most popular content types on your site. Here you can see the most frequently  
     35              <dd>Information about most popular content types on your site. Here you can see the most frequently 
    3636                  created content types on your site and their owners. </dd> 
    3737              <dt> 
Note: See TracChangeset for help on using the changeset viewer.