Sha256: 4e5ef00dc76343e60913593c67295a97273f230f010c0ff0d9fd943defe9fd19

Contents?: true

Size: 681 Bytes

Versions: 201

Compression:

Stored size: 681 Bytes

Contents

<%= pb_content_tag do %>
  <%= pb_rails("avatar", props: object.users[0].merge({size: "xs", classname: "pb_multiple_users_stacked_item", dark: object.dark}) ) %>

  <% unless object.only_one %>
    <% if object.more_than_two %>
      <%= pb_rails("badge", props: {
        dark: object.dark,
        text: "+#{object.users.count - object.display_count}",
        variant: "primary",
        rounded: true,
        classname: "pb_multiple_users_stacked_item second_item" }) %>
    <% else %>
      <%= pb_rails("avatar", props: object.users[1].merge({size: "xs", classname: "pb_multiple_users_stacked_item second_item", dark: object.dark}) ) %>
    <% end %>
  <% end %>

<% end %>

Version data entries

201 entries across 201 versions & 1 rubygems

Version Path
playbook_ui-14.3.0.pre.rc.7 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.3.0.pre.rc.6 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.3.0.pre.rc.5 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.3.0.pre.rc.4 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1.pre.alpha.20240828cikubedbump3702 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.3.0.pre.rc.3 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1.pre.alpha.PBNTR431fixingduplicatingtextareaclassname3689 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.3.0.pre.rc.2 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1.pre.alpha.PLAY1516railsiconsfixedwidth3674 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3671 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.3.0.pre.rc.1 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1.pre.alpha.PBNTR479removeextraspacingfromradiochildren3669 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1.pre.alpha.pbntr373enablekitsforradio3665 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1.pre.alpha.bugfixforactionrc3663 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.0.pre.alpha.PLAY15063653 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.0.pre.alpha.play1490railsdialogdatafix3649 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.0.pre.alpha.PLAY15063645 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.1 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.0.pre.alpha.PLAY15063640 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb
playbook_ui-14.2.0.pre.alpha.PLAY15063639 app/pb_kits/playbook/pb_multiple_users_stacked/multiple_users_stacked.html.erb