[Git][noosfero/noosfero][master] Add missing class in join community button

Victor Costa gitlab at gitlab.com
Fri Aug 28 10:57:41 BRT 2015


Victor Costa pushed to branch master at Noosfero / noosfero


Commits:
50c87964 by Victor Costa at 2015-08-28T10:28:01Z
Add missing class in join community button

- - - - -


1 changed file:

- app/views/blocks/profile_info_actions/_join_leave_community.html.erb


Changes:

=====================================
app/views/blocks/profile_info_actions/_join_leave_community.html.erb
=====================================
--- a/app/views/blocks/profile_info_actions/_join_leave_community.html.erb
+++ b/app/views/blocks/profile_info_actions/_join_leave_community.html.erb
@@ -11,7 +11,7 @@
           class: 'join-community',
           style: 'position: relative; display: none;' %>
       <% else %>
-        <%= button :add, _('Join this community'), profile.join_url %>
+        <%= button :add, _('Join this community'), profile.join_url, class: 'join-community' %>
       <% end %>
     <% end %>
   <% else %>



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/50c87964c9630b4acd43a24a8339375fdd0b993b
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150828/c510fc2e/attachment.html>


More information about the Noosfero-dev mailing list