diff --git a/app/views/friends/connections.html.erb b/app/views/friends/connections.html.erb new file mode 100644 index 0000000..faa6c5a --- /dev/null +++ b/app/views/friends/connections.html.erb @@ -0,0 +1,7 @@ +

<%= _("Connections with %s") % @suggestion.suggestion.name %>

+ +<% button_bar do %> + <%= button(:back, _('Go to friends list'), :controller => 'friends') %> +<% end %> + +<%= render :partial => 'shared/profile_connections', :locals => { :suggestion => @suggestion, :tags => @tags, :profiles => @profiles } %> diff --git a/app/views/memberships/connections.html.erb b/app/views/memberships/connections.html.erb new file mode 100644 index 0000000..acaa4c1 --- /dev/null +++ b/app/views/memberships/connections.html.erb @@ -0,0 +1,7 @@ +

<%= _("Connections with %s") % @suggestion.suggestion.name %>

+ +<% button_bar do %> + <%= button(:back, _('Go to groups list'), :controller => 'memberships') %> +<% end %> + +<%= render :partial => 'shared/profile_connections', :locals => { :suggestion => @suggestion, :tags => @tags, :profiles => @profiles } %> diff --git a/app/views/shared/_profile_connections.html.erb b/app/views/shared/_profile_connections.html.erb new file mode 100644 index 0000000..8ee0b09 --- /dev/null +++ b/app/views/shared/_profile_connections.html.erb @@ -0,0 +1,20 @@ +

<%= _("Profiles in common:") if profiles.present? %>

+
+ +
+ +
+ +

<%= _("Tags in common:") if tags.present? %>

+ -- libgit2 0.21.2