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

Rodrigo Souto gitlab at mg.gitlab.com
Tue Mar 6 11:07:30 BRT 2018


Rodrigo Souto started a new discussion on app/views/cms/view.html.erb:

> -<% if user.can_change_homepage? && !remove_content_button(:home, profile.home_page) %>
> -  <div class="cms-homepage">
> -    <%= _('Profile homepage:') %>
> -    <% if profile.home_page %>
> -      <%= link_to_article(profile.home_page) %>
> -      <%= button_without_text(:'home-not', _('Reset homepage'),  { :action => 'set_home_page', :id => nil }, :method => :post) %>
> +<div class="cms-header">
> +  <div id='article-full-path'>
> +    <% if @article %>
> +      <%= link_to profile.identifier, :action => 'index' %>
> +      <% @article.hierarchy.each do |item| %>
> +        <%= font_awesome('long-arrow-right') + ((item == @article) ? item.name.html_safe : link_to(item.slug, :id => item.id).html_safe) %>
> +      <% end %>
>      <% else %>
> -      <span class="cms-homepage-default"><%= _('Profile Information') %></span>
> +      Maybe a message here describing noosfero cms?

This shouldn't be here, right?  ;)

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


More information about the Noosfero-dev mailing list