Sha256: 8822c9eb6d1e2f18d2dfadfed5e231c5f0ea9a43bf74bbb0368886a7f38dbffb

Contents?: true

Size: 1.07 KB

Versions: 44

Compression:

Stored size: 1.07 KB

Contents

<%= content_tag(:div,
    id: object.id,
    data: object.data,
    class: object.classname) do %>
      <div class="pb_time_range_inline_wrapper">
        <% if object.icon == true %>
          <%= pb_rails(object.text_kit, props: { tag: "span", dark: object.dark, text: pb_rails("icon", props: { icon: "clock", dark: object.dark, classname:"pb_time_range_inline_icon", fixed_width: true, size: object.size }) }) %>
        <% end %>
        <%= pb_rails(object.text_kit, props: { tag: "span", dark: object.dark, text: object.format_start_time_string }) %>
        <%= pb_rails(object.text_kit, props: { tag: "span", dark: object.dark, classname:"pb_time_range_inline_dash", text: "—" }) %>
        <%= pb_rails(object.text_kit, props: { tag: "span", dark: object.dark, text: object.format_end_time_string }) %>
        <% if object.timezone == true %>
          <%= pb_rails(object.text_kit, props: { tag: "span", color: object.text_timezone_color, classname:"pb_time_range_inline_timezone", text: object.pb_date_end_time.to_timezone.upcase }) %>
        <% end %>
      </div>
<% end %>

Version data entries

44 entries across 44 versions & 1 rubygems

Version Path
playbook_ui-5.2.0.pre.alpha15 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha14 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha13 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha12 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha11 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.5.1.pre.alpha4 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha10 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.5.1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.5.0 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.5.0.pre.alpha1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha9 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha8 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha7 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.3.0.pre.alpha1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.4.0 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha6 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha5 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.3.0 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha4 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-5.2.0.pre.alpha3 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb