From 30a13674e83dd97c811b7f11656e16814fbc17a1 Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez <gonzalo@wyeworks.com> Date: Wed, 5 Oct 2011 22:44:57 -0200 Subject: [PATCH] Edit aspect pencil was messed up with the title on the home page --- app/views/aspects/_aspect_listings.haml | 2 +- config/locales/diaspora/en.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/aspects/_aspect_listings.haml b/app/views/aspects/_aspect_listings.haml index fe5bb5118d..7a2c9e1ff3 100644 --- a/app/views/aspects/_aspect_listings.haml +++ b/app/views/aspects/_aspect_listings.haml @@ -11,7 +11,7 @@ - for aspect in all_aspects %li{:data => {:aspect_id => aspect.id}, :class => ("active" if params["a_id"].to_i == aspect.id)} .edit - = link_to image_tag("icons/pencil.svg", :height => 12, :title => t('contacts.index.edit_aspect', :name => aspect.name)), edit_aspect_path(aspect), :rel => "facebox" + = link_to image_tag("icons/pencil.svg", :height => 12, :title => t('.edit_aspect', :name => aspect.name)), edit_aspect_path(aspect), :rel => "facebox" %a.aspect_selector{:href => aspects_path("a_ids[]" => aspect.id), :class => "aspect_selector name hard_aspect_link", 'data-guid' => aspect.id} = aspect diff --git a/config/locales/diaspora/en.yml b/config/locales/diaspora/en.yml index cc4c66a5f4..dc801839ae 100644 --- a/config/locales/diaspora/en.yml +++ b/config/locales/diaspora/en.yml @@ -120,6 +120,7 @@ en: or_featured: "Or you can share with %{link}" featured_users: "featured users" aspect_listings: + edit_aspect: "Edit %{name}" add_an_aspect: "+ Add an aspect" selected_contacts: -- GitLab