From 7944081e73cc0b78d03e96077d252d5a4da3bd1c Mon Sep 17 00:00:00 2001 From: Leandro Nunes dos Santos Date: Fri, 6 Mar 2015 16:00:24 -0300 Subject: [PATCH] corrigindo bugs do tema --- content_menu.html.erb | 2 +- header.html.erb | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/content_menu.html.erb b/content_menu.html.erb index ffb8993..c5bc8cc 100644 --- a/content_menu.html.erb +++ b/content_menu.html.erb @@ -7,7 +7,7 @@
  • <% article = @article || @page %> <% parent_id = ((article && article.allow_children?) ? article : nil) %> - <%= colorbox_button('new', _('New content'), :controller => 'cms', :action => 'new', :parent_id => parent_id, :cms => true) %> + <%= modal_button('new', _('New content'), :controller => 'cms', :action => 'new', :parent_id => parent_id, :cms => true) %>
  • diff --git a/header.html.erb b/header.html.erb index ad0c43c..a555ad0 100644 --- a/header.html.erb +++ b/header.html.erb @@ -33,17 +33,17 @@
    - <%= link_to(image_tag("/designs/themes/participa2-theme/images/tile-forum.png") + "" + _('CONTENT') + "", {:controller => 'search', :action => 'contents', :filter => 'more_recent'}, :class => 'tile tile-forum') %> - <%= link_to(image_tag("/designs/themes/participa2-theme/images/tile-groups.png") + "" + _('GROUPS') + "", {:controller => 'search', :action => 'communities', :filter => 'more_active'}, :class => 'tile tile-groups') %> - <%= link_to(image_tag("/designs/themes/participa2-theme/images/tile-info.png") + "" + _('ABOUT US') + "", {:profile => 'save-organic-food'}, :class => 'tile tile-info') %> - <%= link_to(image_tag("/designs/themes/participa2-theme/images/tile-members.png") + "" + _('MEMBERS') + "", {:controller => 'search', :action => 'people', :filter => 'more_recent'}, :class => 'tile tile-users')%> + <%= link_to(image_tag("/designs/themes/participa-web/images/tile-forum.png") + "" + _('CONTENT') + "", {:controller => 'search', :action => 'contents', :filter => 'more_recent'}, :class => 'tile tile-forum') %> + <%= link_to(image_tag("/designs/themes/participa-web/images/tile-groups.png") + "" + _('GROUPS') + "", {:controller => 'search', :action => 'communities', :filter => 'more_active'}, :class => 'tile tile-groups') %> + <%= link_to(image_tag("/designs/themes/participa-web/images/tile-info.png") + "" + _('ABOUT US') + "", {:profile => 'save-organic-food'}, :class => 'tile tile-info') %> + <%= link_to(image_tag("/designs/themes/participa-web/images/tile-members.png") + "" + _('MEMBERS') + "", {:controller => 'search', :action => 'people', :filter => 'more_recent'}, :class => 'tile tile-users')%>
    @@ -62,10 +62,10 @@ <% else %> -
    <%= image_tag("/designs/themes/participa2-theme/images/avatar.gif") %>
    +
    <%= image_tag("/designs/themes/participa-web/images/avatar.gif") %>
    <%= _('Hello') %>
    <%= _('Guest') %>
    - <%= thickbox_inline_popup_link('' + _('Login') + '', login_url, 'inlineLoginBox', :id => 'link_login') %> + <%= modal_inline_link_to('' + _('Login') + '', login_url, 'inlineLoginBox', :id => 'link_login') %> <%= @plugins.dispatch(:alternative_authentication_link).collect { |content| instance_exec(&content) }.join("") %> <% unless @plugins.dispatch(:allow_user_registration).include?(false) %> <%= _('or') %> @@ -84,8 +84,8 @@
    <% if logged_in? %> - <%= link_to(image_tag("/designs/themes/participa2-theme/images/tile-activities.png") + "" + _('ACTIVITY') + "", {:controller => 'profile', :profile => current_person.identifier, :anchor => 'profile-network'}, :class => 'tile tile-activities') %> - <%= link_to(image_tag("/designs/themes/participa2-theme/images/tile-blog.png") + "" + _('BLOG') + "", {:controller => 'profile', :profile => current_person.identifier}, :class => 'tile tile-blog') %> + <%= link_to(image_tag("/designs/themes/participa-web/images/tile-activities.png") + "" + _('ACTIVITY') + "", {:controller => 'profile', :profile => current_person.identifier, :anchor => 'profile-network'}, :class => 'tile tile-activities') %> + <%= link_to(image_tag("/designs/themes/participa-web/images/tile-blog.png") + "" + _('BLOG') + "", {:controller => 'profile', :profile => current_person.identifier}, :class => 'tile tile-blog') %> <% end %>
    -- libgit2 0.21.2