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

Gabriel Silva gitlab at mg.gitlab.com
Tue Apr 3 16:16:56 BRT 2018


Gabriel Silva started a new discussion on app/models/person.rb:

>    def default_set_of_blocks
>      return angular_theme_default_set_of_blocks if Theme.angular_theme?(environment.theme)
>      links = [
> -      {:name => _('Profile'), :address => '/profile/{profile}', :icon => 'menu-people'},
> -      {:name => _('Image gallery'), :address => '/{profile}/gallery', :icon => 'photos'},
> -      {:name => _('Agenda'), :address => '/profile/{profile}/events', :icon => 'event'},
> -      {:name => _('Blog'), :address => '/{profile}/blog', :icon => 'edit'},
> +      { name: _('Profile'),       address: '/profile/{profile}',        icon: 'menu-people' },
> +      { name: _('Image gallery'), address: '/{profile}/gallery',        icon: 'photos'      },
> +      { name: _('Agenda'),        address: '/profile/{profile}/events', icon: 'event'       },
> +      { name: _('Blog'),          address: '/{profile}/blog',           icon: 'blog'        }

Same as `OrganizationHelper`, check if it will work for older records.

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


More information about the Noosfero-dev mailing list