noosfero | Add major changes on Noosfero interface (includes responsivity) (!1329)
Rodrigo Souto
gitlab at mg.gitlab.com
Tue Mar 6 11:20:23 BRT 2018
Rodrigo Souto started a new discussion on app/views/profile/_profile_scraps.html.erb:
> <%= link_to(profile_image(scrap.sender, :minor), scrap.sender.url) %>
> </div>
> <div class='profile-activity-description'>
> - <p class='profile-activity-sender'><%= link_to scrap.sender.name, scrap.sender.url %></p>
> + <p class='profile-activity-sender'>
> + <%= link_to scrap.sender.name, scrap.sender.url, class: 'profile-name' %>
> + <%= time_ago scrap %>
> + </p>
> <p class='profile-activity-text'><%= txt2html scrap.content %></p>
> - <p class='profile-activity-time'><%= time_ago_in_words(scrap.created_at) %></p>
> - <div class='profile-wall-actions'>
> <% if logged_in? && current_person.follows?(scrap.sender) %>
> <span class='profile-activity-send-reply'>
> - <%= link_to_function s_('profile|Comment'), "hide_and_show(['#profile-wall-message-response-#{scrap.id}'],['#profile-wall-reply-#{scrap.id}', '#profile-wall-reply-form-#{scrap.id}']);jQuery('#reply_content_#{scrap.id}').val('');jQuery('#reply_content_#{scrap.id}').focus();return false", :class => "profile-send-reply" %>
> + <%= link_to_function s_("profile|#{font_awesome(:reply, 'Comment')}").html_safe, "hide_and_show(['#profile-wall-message-response-#{scrap.id}'],['#profile-wall-reply-#{scrap.id}', '#profile-wall-reply-form-#{scrap.id}']);jQuery('#reply_content_#{scrap.id}').val('');jQuery('#reply_content_#{scrap.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_61887353
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/dc40c3f2/attachment.html>
More information about the Noosfero-dev
mailing list