Skip to content
Extraits de code Groupes Projets
Valider 837a1ba5 rédigé par Jonne Haß's avatar Jonne Haß
Parcourir les fichiers

Merge pull request #4238 from Flaburgan/patch-4

Improve participants link style, close #4236
parents a6dfdf45 8e2633f8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
app/assets/images/icons/users.png

497 octets

......@@ -99,6 +99,8 @@ $(document).ready(function(){
},
trigger: 'manual'
});
$('.participants_link > span').tooltip({placement: 'bottom'});
$('.participants_link').click(function(e) {
e.stopPropagation();
......
......@@ -2051,7 +2051,15 @@ ul#press_logos
:color $blue
.participants_link
:float left
:margin-top 5px
:clear right
:float right
:color #aaa
.icons-users
:display block
:width 25px
:height 16px
.conversation_participants_popover_content
:display none
......
......@@ -21,5 +21,5 @@
- if authors[conversation.id].present?
= authors[conversation.id].name
= link_to t('.participants'), '#', :class => 'participants_link', :"data-conversation-id" => conversation.id
= link_to content_tag(:span, nil, class: 'icons-users', title: t('.participants')), '#', :class => 'participants_link', "data-conversation-id" => conversation.id
= render :partial => 'participants_popover', :locals => { :conversation => conversation }
......@@ -14,7 +14,7 @@ Feature: private messages
Given I send a message with subject "Greetings" and text "hello, alice!" to "Alice Awesome"
Then I should see "Greetings" within "#conversation_inbox"
And I should see "Greetings" within "#conversation_show"
And I follow "Participants"
And I click on selector "a.participants_link"
Then I should see the participants popover
And I should see "Alice Awesome" as part of the participants popover
And I should see "Robert Grimm" as part of the participants popover
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter