revert moved add aspect button to the left for rtl languages, this is already done by CSS

This commit is contained in:
MrZYX 2011-04-11 18:04:50 +02:00
parent 2413b3c4bd
commit ffbe94f75c

View file

@ -45,10 +45,6 @@
-unless @landing_page
%ul#aspect_nav
- if rtl?
%li
= link_to '+', '#add_aspect_pane', :class => "add_aspect_button", :title => t('aspects.manage.add_a_new_aspect'), :rel => 'facebox'
%li{:class => ('selected' if @aspect == :all)}
= link_to t('all_aspects'), aspects_path, :class => 'home_selector'
@ -56,9 +52,8 @@
%li{:data=>{:guid=>aspect.id}, :class => ("selected" if @object_aspect_ids.include?(aspect.id))}
= link_for_aspect(aspect, :class => 'aspect_selector name', :title => t('contacts', :count => aspect.contacts.size))
- unless rtl?
%li
= link_to '+', '#add_aspect_pane', :class => "add_aspect_button", :title => t('aspects.manage.add_a_new_aspect'), :rel => 'facebox'
%li
= link_to '+', '#add_aspect_pane', :class => "add_aspect_button", :title => t('aspects.manage.add_a_new_aspect'), :rel => 'facebox'
.facebox_content
#add_aspect_pane