diff --git a/app/helpers/aspect_global_helper.rb b/app/helpers/aspect_global_helper.rb index 1751c56d98bfdc85ca72d7240d0e336c4c680ffe..f93cea2ea718dae89e4461974f9f95c4a147995e 100644 --- a/app/helpers/aspect_global_helper.rb +++ b/app/helpers/aspect_global_helper.rb @@ -94,6 +94,7 @@ module AspectGlobalHelper str << aspect.name str << "<div class=\"hidden\">" str << aspect_membership_button(aspect, contact, person) + str << "</li>" str.html_safe end end diff --git a/app/views/contacts/_aspect_dropdown.html.haml b/app/views/contacts/_aspect_dropdown.html.haml index 8e56a475eacc2f3dab1bc8976043b4548cdc5832..bcb1aa0834726b8e46963f914e834dfaf2802ed0 100644 --- a/app/views/contacts/_aspect_dropdown.html.haml +++ b/app/views/contacts/_aspect_dropdown.html.haml @@ -15,4 +15,4 @@ - if defined?(@aspect) && ( @aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification) %li.newItem .add_aspect - = link_to "Add a new aspect", new_aspect_path(:person_id => person.id), :rel => 'facebox' + = link_to t('aspects.manage.add_a_new_aspect'), new_aspect_path(:person_id => person.id), :rel => 'facebox'