noosfero | Adds option to reorder portal news (!1430)

Rodrigo Souto gitlab at mg.gitlab.com
Tue Apr 17 18:14:21 BRT 2018


Rodrigo Souto started a new discussion on app/views/home/index.html.erb:

> -          <div class='highlighted-news-item post-<%= index + 1 %>-inner'>
> -            <h2><%= link_to(h(highlighted.title), highlighted.url, :class => 'post-title') %></h2>
> -            <span class="post-date"><%= show_date(highlighted.published_at, true) %> </span>
> -            <div class='headline'><%= raw highlighted.lead %></div>
> -            <p class='highlighted-news-read-more'>
> +          <h2><%= link_to(h(highlighted.title), highlighted.url, :class => 'post-title') %></h2>
> +          <span class="post-date"><%= show_date(highlighted.published_at, true) %> </span>
> +          <div class='headline'><%= raw highlighted.lead %></div>
> +
> +          <div class='highlighted-news-item-footer'>
> +            <span class='highlighted-news-read-more'>
>                <%= link_to(_('Read more'), highlighted.url) %>
> -            </p>
> -            <br style='clear:both' />
> +            </span>
> +            <% if current_person.in? environment.admins %>

Same as above.

---
Reply to this email directly or view it on GitLab: https://gitlab.com/noosfero/noosfero/merge_requests/1430#note_68907820
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/20180417/74c5de78/attachment.html>


More information about the Noosfero-dev mailing list