Sha256: 534f0d4afebd713af85ba5a204b985e36155d1f354e0edf4d33fc11f66e219c3

Contents?: true

Size: 1.22 KB

Versions: 755

Compression:

Stored size: 1.22 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, color: object.icon_color, 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, color: object.icon_color, classname:"pb_time_range_inline_arrow", text: pb_rails("icon", props: { icon: "long-arrow-right", fixed_width: true, classname:"pb_time_range_inline_arrow"}) }) %>
        <%= 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

755 entries across 755 versions & 1 rubygems

Version Path
playbook_ui-7.3.0.pre.alpha4 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.3.0.pre.alpha3 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.3.0.pre.alpha2 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.3.0.pre.alpha1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.2.0 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.1.2 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.1.0.pre.alpha2 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.1.1.pre.alpha1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.1.1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.1.0.pre.alpha1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.1.0 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.1.pre.alpha15 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-6.8.2.pre.alpha1 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.0.pre.alpha15 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.1.pre.alpha14 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.0.pre.alpha14 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.0.pre.alpha13 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.0.pre.alpha12 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb
playbook_ui-7.0.0 app/pb_kits/playbook/pb_time_range_inline/_time_range_inline.html.erb