diff --git a/app/views/blocks/profile_image.rhtml b/app/views/blocks/profile_image.rhtml index be1f7ef..21a8d6b 100644 --- a/app/views/blocks/profile_image.rhtml +++ b/app/views/blocks/profile_image.rhtml @@ -16,7 +16,7 @@ <% if !user.nil? and user.has_permission?('edit_profile', profile) %> <% end %> diff --git a/app/views/blocks/profile_info.rhtml b/app/views/blocks/profile_info.rhtml index 91a519b..d983432 100644 --- a/app/views/blocks/profile_info.rhtml +++ b/app/views/blocks/profile_info.rhtml @@ -21,7 +21,7 @@
  • <%= link_to(_('Products/Services'), :controller => 'catalog', :profile => block.owner.identifier) %>
  • <% end %> <% if !user.nil? and user.has_permission?('edit_profile', profile) %> -
  • <%= link_to _('Control panel'), :controller => 'profile_editor' %>
  • +
  • <%= link_to _('Control panel'), block.owner.admin_url %>
  • <% end %> <% if profile.person? %>
  • <%= _('Since %{year}/%{month}') % { :year => block.owner.created_at.year, :month => block.owner.created_at.month } %>
  • @@ -40,7 +40,7 @@ <% end %>
    - <%= render :file => view_for_profile_actions(@block.owner.class) %> + <%= render :file => view_for_profile_actions(block.owner.class) %>
    -- libgit2 0.21.2