Conjunto de mudanças 6579 no repositório publico


Ignorar:
Timestamp:
29/06/2012 11:46:14 (9 anos atrás)
Autor:
jeanferri
Mensagem:

Base para a busca por protocolo e melhorias na view da solicitação

Localização:
Ombudsman/trunk
Arquivos:
5 editados

Legenda:

Não Modificado
Adicionado
Removido
  • Ombudsman/trunk/README.txt

    r6577 r6579  
    1010 * ArchGenXML code generator
    1111 * Poi issue tracker
    12  * Zope application aerver
     12 * Zope application server
    1313 * Python language
    1414
     
    2020Licence
    2121
    22  * GPL 2
     22 * Copyright by Interlegis
     23 * Licenced under GNU General Public Licence (GPL 2)
    2324
    2425Icons
  • Ombudsman/trunk/content/Ombudsman.py

    r6571 r6579  
    103103
    104104class Ombudsman(PoiTracker):
    105     """Class that contains all registered claims.
     105    """Repository that contains all registered claims and it responses.
    106106    """
    107107    security = ClassSecurityInfo()
     
    118118    allow_discussion = False
    119119    content_icon = 'ombudsman_icon.png'
    120     immediate_view = 'base_view'
     120    immediate_view = 'ombudsman_view'
    121121    default_view = 'ombudsman_view'
    122122    suppl_views = ()
    123     typeDescription = "Class that contains all registered claims"
     123    typeDescription = "Repository that contains all registered claims and it responses."
    124124    typeDescMsgId = 'description_edit_ombudsman'
    125125
     
    254254        return '%s%06d' % (this_year, sequence)
    255255
     256    security.declarePublic('resolve_protocol')
     257    def resolve_protocol(self):
     258        """Search OmbudsmanClaim objects by id.
     259        """
     260        pass
     261
    256262
    257263registerType(Ombudsman, PROJECTNAME)
  • Ombudsman/trunk/content/OmbudsmanResponse.py

    r6527 r6579  
    8484    global_allow = 0
    8585    allow_discussion = False
    86     content_icon = 'ombudsman_response.png'
     86    content_icon = 'ombudsman_response_icon.png'
    8787    immediate_view = 'base_view'
    8888    default_view = 'base_view'
  • Ombudsman/trunk/doc/INSTALL.txt

    r6577 r6579  
    11Ombudsman install
    22
    3 1) Donwload it from http://plone.org/products/ombudsman
     3Installation
     4
     51) Download it from http://plone.org/products/ombudsman
    462) Uncompress it in the Products directory
    573) Restart Zope
     
    8105) Go to the Plone portal and add an Ombudsman instance
    9116) Configure it as you wish
    10 7) Enjoy!
    1112
     13Upgrade
     14
     151) Download it from http://plone.org/products/ombudsman
     162) Remove the old Ombudsman directory from the Products directory
     172) Uncompress it in the Products directory
     183) Restart Zope
     194) Go to the portal_quickinstaller tool or the control panel of your Plone
     20   portal, select Ombudsman and do reinstall
     216) May be you need to reconfigure it as you wish
     22
  • Ombudsman/trunk/skins/Ombudsman/ombudsman_claim_view.pt

    r6576 r6579  
    143143</tal:block>
    144144
    145      
    146   <h1 i18n:translate="Ombudsman_label_responses">Responses</h1>
    147 
    148   <br />
     145
     146  <h2 i18n:translate="Ombudsman_label_responses">Responses</h2>
    149147
    150148  <tal:block define="responses python:here.getFolderContents(full_objects = True);
    151149                     dummy python:responses.sort(lambda x, y: cmp(int(x.getId()), int(y.getId())));">
    152     <tal:responses repeat="response responses">
    153    
     150    <fieldset tal:repeat="response responses">
     151
     152      <legend>Consideracoes</legend>
     153
    154154      <div class="response-details" metal:define-macro="response_view"
    155155           tal:attributes="class string:response-${response/determineResponseType}">
    156                  
     156
    157157        <span class="response-actions"
    158158              tal:define="canEdit   python:user.has_permission('Modify portal content', response);
     
    207207      <hr>
    208208     
    209     </tal:responses>
     209    </fieldset>
    210210
    211211  </tal:block>
Note: Veja TracChangeset para ajuda no uso do visualizador de conjunto de mudanças.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.