Ignore:
Timestamp:
Apr 13, 2011 1:55:55 PM (13 years ago)
Author:
kroman0
Message:

Merged changes from trunk and last fixes in templates

Location:
quintagroup.plonecomments/branches/jquery
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonecomments/branches/jquery

    • Property svn:mergeinfo set to /quintagroup.plonecomments/trunk:2079-3099
  • quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_edit_form.cpt.metadata

    r3101 r3106  
    66 
    77[validators] 
     8validators=  
    89validators..Cancel= 
    910 
  • quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_reply_form.cpt

    r2597 r3106  
    5050               <div class="documentByLine" 
    5151                    tal:define="anonymous_creator python:reply.Creator()=='Anonymous User'"> 
    52                    <span i18n:translate="label_comment_by">Posted by</span> 
     52                   <span i18n:domain="quintagroup.plonecomments" 
     53                         i18n:translate="label_comment_by">Posted by</span> 
    5354                   <span tal:content="reply/Creator" 
    5455                         tal:condition="not:anonymous_creator">Poster Name</span> 
    5556                   <span i18n:translate="label_anonymous_user" 
    5657                         tal:condition="anonymous_creator">Anonymous User</span> 
    57                    <span i18n:translate="label_commented_at">at</span> 
     58                   <span i18n:domain="quintagroup.plonecomments" 
     59                         i18n:translate="label_commented_at">at</span> 
    5860                   <span tal:replace="python:toLocalizedTime(reply.ModificationDate(), 
    5961                                      long_format=1)">8/23/2001 12:40:44 PM</span> 
     
    8183        <fieldset> 
    8284 
    83             <legend i18n:translate="legend_add_comment">Add comment</legend> 
    84  
    85             <p i18n:translate="description_add_comment"> 
     85            <legend i18n:domain="quintagroup.plonecomments" 
     86                    i18n:translate="legend_add_comment">Add comment</legend> 
     87 
     88            <p i18n:domain="quintagroup.plonecomments" 
     89               i18n:translate="description_add_comment"> 
    8690                You can add a comment by filling out the form below. Plain text 
    8791                formatting. 
     
    102106                     tal:condition="isAnon" 
    103107                     tal:define="error errors/Creator|nothing;" 
    104                      tal:attributes="class python:test(error, 'field error', 'field');"> 
     108                     tal:attributes="class python:test(error, 'field error', 'field');" 
     109                     i18n:domain="plone"> 
    105110 
    106111                    <label for="username" i18n:translate="label_name">Name</label> 
     
    123128                               value="" alt="Submitter" title="Name" 
    124129                               size="40" 
    125                                i18n:attributes="alt; title" 
     130                               i18n:attributes="alt; title label_name" 
    126131                               tal:attributes="value request/Creator | nothing" /> 
    127132                    </div> 
     
    154159            </div> 
    155160 
    156             <div tal:condition="python:(not isForAnonymous) and isAnon"> 
     161            <div tal:condition="python:(not isForAnonymous) and isAnon" 
     162                 i18n:domain="plone"> 
    157163                <dl class="portalMessage warning"> 
    158164                    <dt i18n:translate=""> 
  • quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/qcomments.css

    r2241 r3106  
    77 width: 100%; 
    88} 
     9.discussion fieldset { 
     10 clear: both; 
     11} 
  • quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/report_abuse_form.cpt

    r2313 r3106  
    4949                    <div class="documentByLine" 
    5050                            tal:define="anonymous_creator python:reply.Creator()=='Anonymous User'"> 
    51                         <span i18n:translate="label_comment_by">Posted by</span> 
     51                        <span i18n:domain="quintagroup.plonecomments" 
     52                              i18n:translate="label_comment_by">Posted by</span> 
    5253                        <span tal:content="reply/Creator" 
    5354                                tal:condition="not:anonymous_creator">Poster Name</span> 
    5455                        <span i18n:translate="label_anonymous_user" 
    5556                                tal:condition="anonymous_creator">Anonymous User</span> 
    56                         <span i18n:translate="label_commented_at">at</span> 
     57                        <span i18n:domain="quintagroup.plonecomments" 
     58                              i18n:translate="label_commented_at">at</span> 
    5759                        <span tal:replace="python:toLocalizedTime(reply.ModificationDate(), 
    5860                                            long_format=1)">8/23/2001 12:40:44 PM</span> 
     
    7880                                comment_id context/id"> 
    7981                    <metal:macro define-macro="form" 
    80                             tal:define="isAjaxReportAbuseEnabled view/ajax_report_abuse_enabled|python:here.portal_properties.qPloneComments.enable_ajax_report_abuse; 
    81                                         visible show_form|request/show_form|nothing; 
     82                            tal:define="visible show_form|request/show_form|nothing; 
    8283                                        portal_url portal_url|view/portal_url; 
    8384                                        isAnon isAnon|context/@@plone_portal_state/anonymous; 
     
    114115                                            <div class="field" 
    115116                                                tal:define="error errors/creator|nothing" 
    116                                                 tal:attributes="class python:error and 'field error' or 'field'"> 
     117                                                tal:attributes="class python:error and 'field error' or 'field'" 
     118                                                i18n:domain="plone"> 
    117119                                                <label for="creator" i18n:translate="label_name"> 
    118120                                                    Name 
     
    166168                                            tal:attributes="class python:error and 'field error' or 'field'"> 
    167169                                            <label for="message" i18n:translate="label_message"> 
    168                                                 Description 
     170                                                Message 
    169171                                            </label> 
    170172                                            <span class="fieldRequired" title="Required" 
Note: See TracChangeset for help on using the changeset viewer.