Sha256: 2c1daf5ac69ed770d8422b2e8e81737f5584ee7569841b43c7d0dd7dc2d0fc9c

Contents?: true

Size: 465 Bytes

Versions: 3

Compression:

Stored size: 465 Bytes

Contents

<%= content_tag(:div,
    id: object.id,
    data: object.data,
    class: object.classname) do %>
  <% if object.stat_label.present? %>
    <%= pb_rails("body", props: { color: "light", text: object.stat_label } ) %>
  <% end %>

  <% if object.stat_value.present? %>
    <%= pb_rails("stat_value", props: object.stat_value) %>
  <% end %>

  <% if object.stat_change.present? %>
    <%= pb_rails("stat_change", props: object.stat_change) %>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
playbook_ui-2.9.9 app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.html.erb
playbook_ui-2.9.8 app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.html.erb
playbook_ui-2.9.7 app/pb_kits/playbook/pb_dashboard_value/_dashboard_value.html.erb