Commit 05c37cf4fda28ec4a395567c18ebd36eb2d01f80
1 parent
a691529a
Exists in
master
and in
22 other branches
profile-suggestions: adds missing views for connections page
(ActionItem3234)
Showing
3 changed files
with
34 additions
and
0 deletions
Show diff stats
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | +<h1><%= _("Connections with %s") % @suggestion.suggestion.name %></h1> | |
| 2 | + | |
| 3 | +<% button_bar do %> | |
| 4 | + <%= button(:back, _('Go to friends list'), :controller => 'friends') %> | |
| 5 | +<% end %> | |
| 6 | + | |
| 7 | +<%= render :partial => 'shared/profile_connections', :locals => { :suggestion => @suggestion, :tags => @tags, :profiles => @profiles } %> | ... | ... |
| ... | ... | @@ -0,0 +1,7 @@ |
| 1 | +<h1><%= _("Connections with %s") % @suggestion.suggestion.name %></h1> | |
| 2 | + | |
| 3 | +<% button_bar do %> | |
| 4 | + <%= button(:back, _('Go to groups list'), :controller => 'memberships') %> | |
| 5 | +<% end %> | |
| 6 | + | |
| 7 | +<%= render :partial => 'shared/profile_connections', :locals => { :suggestion => @suggestion, :tags => @tags, :profiles => @profiles } %> | ... | ... |
| ... | ... | @@ -0,0 +1,20 @@ |
| 1 | +<h2><%= _("Profiles in common:") if profiles.present? %></h2> | |
| 2 | +<div class="list-profile-connections"> | |
| 3 | + <ul class="profile-list"> | |
| 4 | + <% profiles.each do |profile| %> | |
| 5 | + <li> | |
| 6 | + <%= link_to_profile profile_image(profile) + '<br/>' + profile.short_name, | |
| 7 | + profile.identifier, :class => 'profile-link' %> | |
| 8 | + </li> | |
| 9 | + <% end %> | |
| 10 | + </ul> | |
| 11 | +</div> | |
| 12 | + | |
| 13 | +<br style="clear:both" /> | |
| 14 | + | |
| 15 | +<h2><%= _("Tags in common:") if tags.present? %></h2> | |
| 16 | + <ul> | |
| 17 | + <% tags.each do |tag| %> | |
| 18 | + <li><%= tag.name %></li> | |
| 19 | + <% end %> | |
| 20 | + </ul> | ... | ... |