Commit f6fb45cf8c2549b6d1894c3d5992b44c7bacfcb2
Exists in
master
and in
27 other branches
Merge remote-tracking branch 'colivre/stoa' into feedback
Conflicts: app/helpers/application_helper.rb
Showing
2 changed files
with
6 additions
and
1 deletions
Show diff stats
app/helpers/application_helper.rb
... | ... | @@ -1436,10 +1436,11 @@ module ApplicationHelper |
1436 | 1436 | end |
1437 | 1437 | last_tag = tags.pop |
1438 | 1438 | tags << last_tag.strip.chop if last_tag.present? |
1439 | + title = tags.join | |
1439 | 1440 | |
1440 | 1441 | controller_target = suggestion.suggestion_type == 'Person' ? :friends : :memberships |
1441 | 1442 | tags << link_to('...', :controller => controller_target, :action => :connections, :id => suggestion.suggestion_id) if suggestion.tag_connections.count > 4 |
1442 | 1443 | |
1443 | - content_tag(:div, tags.join, :class => 'tag-connections') | |
1444 | + content_tag(:div, tags.join, :class => 'tag-connections', :title => title) | |
1444 | 1445 | end |
1445 | 1446 | end | ... | ... |
public/stylesheets/application.css
... | ... | @@ -4100,6 +4100,10 @@ h1#agenda-title { |
4100 | 4100 | .tag-connections { |
4101 | 4101 | margin-left: 2px; |
4102 | 4102 | margin-top: 3px; |
4103 | + overflow: hidden; | |
4104 | + text-overflow: ellipsis; | |
4105 | + white-space: nowrap; | |
4106 | + width: 120px; | |
4103 | 4107 | } |
4104 | 4108 | |
4105 | 4109 | #content .profiles-suggestions .profile-list .extra_info .profile-suggestion-connection-icon { | ... | ... |