Sha256: 9377930a6a1e56963799801a789e660e32cda9a93a40b97e12ee963445d5ecce

Contents?: true

Size: 853 Bytes

Versions: 537

Compression:

Stored size: 853 Bytes

Contents

<%= pb_content_tag do %>
    <% if object.tooltip_text.present? %>
        <%= pb_rails("tooltip", props: {
          trigger_element_id: object.tooltip_id,
          tooltip_id: "tooltip-2",
          position: 'top'
        }) do %>
          <%= object.tooltip_text %>
        <% end %>
    <% end %>

    <%= link_to object.link_url, id: object.tooltip_id, 'aria-label': object.link_aria_label do %>
      <%= pb_rails("avatar", props: {
        dark: object.dark,
        name: object.name,
        size: object.size,
        image_alt: object.image_alt,
        image_url: object.image_url,
        class: "avatar_action"
      }) %>
      <div class="icon <%= object.dark ? 'dark' : '' %> ">
        <%= pb_rails("icon", props: {
          dark: object.dark,
          icon: object.action_icons
        }) %>
      </div>
    <% end %>
<% end %>

Version data entries

537 entries across 537 versions & 1 rubygems

Version Path
playbook_ui-14.11.1.pre.alpha.PLAY1720phonenumberinputformatAsYouType5377 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.play17725374 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.play17725372 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.12.0.pre.rc.4 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.hfhbrakemanplaybook5370 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.responsivetablerails5364 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.responsivetablerails5362 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR769sticky5359 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.PBNTR573datepickerinvestigation5355 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5341 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb
playbook_ui-14.11.1 app/pb_kits/playbook/pb_avatar_action_button/avatar_action_button.html.erb