noosfero | Add major changes on Noosfero interface (includes responsivity) (!1329)

Rodrigo Souto gitlab at mg.gitlab.com
Tue Mar 6 11:16:43 BRT 2018


Rodrigo Souto started a new discussion on app/views/profile/_default_activity.html.erb:

>    <%= link_to(profile_image(activity.user, :minor), activity.user.url) %>
>  </div>
> -<div class='profile-activity-description'>
> -  <p class='profile-activity-text'><%= link_to activity.user.name, activity.user.url %> <%= describe(activity).html_safe %></p>
> -  <p class='profile-activity-time'><%= time_ago_in_words(activity.created_at) %></p>
> -  <div class='profile-wall-actions'>
> -    <%= link_to s_('profile|Comment'), '#', { :class => 'focus-on-comment'} %>
> -    <%= link_to_function(_('Remove'), 'remove_item_wall(this, \'%s\', \'%s\', \'%s\'); return false ;' % [".profile-activity-item", url_for(:profile => params[:profile], :action => :remove_activity, :activity_id => activity.id, :view => params[:view]), _('Are you sure you want to remove this activity and all its replies?')]) if logged_in? && current_person == @profile %>
> -  </div>
> +<div class="profile-activity-description">
> +  <p class="profile-activity-text <%= "activity-type-community" if profile.is_a?(Community) && activity.verb.include?("community") %>" >
> +    <%= link_to activity.user.name, activity.user.url, class: 'profile-name' %>
> +    <%= describe(activity).html_safe %>
> +  </p>
> +  <span class='profile-activity-send-reply'>
> +    <%= link_to_function font_awesome(:reply, s_('profile|Comment')), "hide_and_show(['#profile-#{tab_action}-message-response-#{activity.id}'],['#profile-#{tab_action}-reply-#{activity.id}', '#profile-#{tab_action}-reply-form-#{activity.id}']);jQuery('#reply_content_#{tab_action}_#{activity.id}').val('');jQuery('#reply_content_#{tab_action}_#{activity.id}').focus();return false", :class => "profile-send-reply" %>

Same as above.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1329#note_61886614
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/20180306/95404d89/attachment-0001.html>


More information about the Noosfero-dev mailing list