noosfero | WIP: Custom export users list (!1528)

Rodrigo Souto gitlab at mg.gitlab.com
Fri Jun 22 12:23:46 BRT 2018


Rodrigo Souto started a new discussion on app/views/users/_index_buttons.html.erb:

> +  <%= button 'sort-amount-down', _('Export People list'), '#!', {class: 'export-people-list'} %>
>    <%= button :send, _('Send e-mail to users'), :action => 'send_mail' %>
>    <%= button :back, _('Back'), :controller => 'admin_panel' %>
>  <% end %>
> +
> +<div class="export-people-field" >
> +  <%= form_tag({action: 'download', controller: 'users'}) do %>
> +    <label>Select the file format</label>
> +    <div class="download-format">
> +      <label><%= radio_button_tag('format', 'xml', true) %> XML </label>
> +      <label><%= radio_button_tag('format', 'csv', false) %> CSV </label>
> +    </div>
> +
> +    <%= exportable_fields_selector(
> +          "fields[]",
> +          _('Select the user fields to be included in the submissions report'),

The "submissions" in this string seems a little off.

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1528#note_83442131
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/20180622/ee06d618/attachment.html>


More information about the Noosfero-dev mailing list