[Git][noosfero/noosfero][master] 2 commits: Fixes icons on mailing list plugin

Rodrigo Souto gitlab at mg.gitlab.com
Mon Oct 15 17:04:02 BRT 2018


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
505bf94b by MatheusRich at 2018-10-15T14:31:46Z
Fixes icons on mailing list plugin

- - - - -
e30ba8b3 by Rodrigo Souto at 2018-10-15T20:03:59Z
Merge branch 'fix-mailing-list-icons' into 'master'

Fix mailing list icons

See merge request noosfero/noosfero!1622
- - - - -


2 changed files:

- plugins/mailing_list/views/mailing_list_plugin_myprofile/_subscriptions_table.html.erb
- plugins/mailing_list/views/mailing_list_plugin_myprofile_person/_settings_form.html.erb


Changes:

=====================================
plugins/mailing_list/views/mailing_list_plugin_myprofile/_subscriptions_table.html.erb
=====================================
@@ -33,8 +33,8 @@
       <td><%= link_to_profile related.short_name(48), related.identifier, :title => _('View profile') %> </td>
       <td style="text-align: center"><%= subscribed ? _('Yes') : _('No') %></td>
       <%= content_tag('td', :title => td_title) do %>
-        <%= button_without_text 'subscribe', _('Subscribe'), {:action => 'subscribe', :id => related.id}, subscribe_html_options unless subscribed %>
-        <%= button_without_text 'unsubscribe', _('Unsubscribe'), {:action => 'unsubscribe', :id => related.id}, data: {confirm: _("Do you really want to unsubscribe?")} if subscribed %>
+        <%= button_without_text :rss, _('Subscribe'), {:action => 'subscribe', :id => related.id}, subscribe_html_options unless subscribed %>
+        <%= button_without_text :remove, _('Unsubscribe'), {:action => 'unsubscribe', :id => related.id}, data: {confirm: _("Do you really want to unsubscribe?")} if subscribed %>
       <% end %>
     </tr>
   <% end %>


=====================================
plugins/mailing_list/views/mailing_list_plugin_myprofile_person/_settings_form.html.erb
=====================================
@@ -3,7 +3,7 @@
     <%= _('Unsubscribe from all lists: ') %>
   </span>
   <span class='unsubscribe-all-btn'>
-    <%= button_without_text 'unsubscribe', _('Unsubscribe from all'),
+    <%= button_without_text "times-circle", _('Unsubscribe from all'),
                             { :action => 'unsubscribe_all' },
                             data: { confirm: _("Do you really want to unsubscribe from all lists?") } %>
   </span>



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/43f30f56d45eb9ea1a7b1198491816628d579ef4...e30ba8b3412e9b8ee73eee780c4d62e77c89bdc2

-- 
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/43f30f56d45eb9ea1a7b1198491816628d579ef4...e30ba8b3412e9b8ee73eee780c4d62e77c89bdc2
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/20181015/7e094b51/attachment-0001.html>


More information about the Noosfero-dev mailing list