fixed a translation; added that missing </li> for you, fixed #1078
This commit is contained in:
parent
4bd266e9f0
commit
b0e9f5388b
2 changed files with 2 additions and 1 deletions
|
|
@ -94,6 +94,7 @@ module AspectGlobalHelper
|
||||||
str << aspect.name
|
str << aspect.name
|
||||||
str << "<div class=\"hidden\">"
|
str << "<div class=\"hidden\">"
|
||||||
str << aspect_membership_button(aspect, contact, person)
|
str << aspect_membership_button(aspect, contact, person)
|
||||||
|
str << "</li>"
|
||||||
str.html_safe
|
str.html_safe
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -15,4 +15,4 @@
|
||||||
- if defined?(@aspect) && ( @aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification)
|
- if defined?(@aspect) && ( @aspect == :profile || @aspect == :tag || @aspect == :search || @aspect == :notification)
|
||||||
%li.newItem
|
%li.newItem
|
||||||
.add_aspect
|
.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'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue