• Gabriel Monnerat's avatar
    erp5_officejs_support_request_ui: New gadget to generate RSS Link and remove it from dashboard · 4705a2fe
    Gabriel Monnerat authored
    Having a big "Generate RSS" button on the front page is strange, because the front page button are for common use cases that users are supposed to execute a lot.
    
    For example, makes sense to have a "Submit new Support Request" button, because users are using this app to submit support requests, but generating RSS is very exceptional action, so we wanted to remove it from the front page.
    
    Also, we changed:
    - change the generate_rss_link action in Support Request Module, to directly call SupportRequestModule_generateRSSLinkUrl.py instead of the form.
    - change SupportRequestModule_generateRSSLinkUrl to display the form at the end.
    - Use Base_renderForm like for erp5_crm
    - Put the RSS url in the REQUEST
    - change the gadget field configuration to use the value from the REQUEST (if not found, put None)
    - change the gadget implementation to display the URL in an html5 string field  + a button
    4705a2fe
gadget_supportrequest_homepage_html.html 1.8 KB