noosfero | Use chartkick gem to improve the visualization of custom_form submissions. (!1316)

Rodrigo Souto gitlab at mg.gitlab.com
Thu Sep 28 09:52:38 BRT 2017


Rodrigo Souto started a new discussion on plugins/custom_forms/lib/custom_forms_plugin/form.rb:

>      self.article = uploaded_file
>    end
>  
> +  def duration_in_days
> +    if begining == nil and ending == nil
> +      return "Has no ending date."

Whenever you use strings that are supposed to be displayed on the interface remember to add the translation method on them `_("Has no ending date.")`.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1316#note_41775259
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20170928/16d2e60a/attachment.html>


More information about the Noosfero-dev mailing list