Sha256: a22598a6ee969a01d345d651697e02bb26ace5654f33754389ac1dee49f3de6d

Contents?: true

Size: 1.6 KB

Versions: 8

Compression:

Stored size: 1.6 KB

Contents

{% assign RowType = page.row.type %}

{%- if RowType == "header" -%}

  <span class="block screen-row {{ page.row.type | prepend : 'type-' }}">

    {%- if page.row.title -%}

      <span class="block screen-title">

        {{ page.row.title }}

      </span>

    {%- endif -%}

    {%- if page.row.time -%}

      <span class="block screen-title small">

        {{ page.row.time }}

      </span>

    {%- endif -%}

  </span>

{%- elsif RowType == "alert" -%}

  {%- include {{ LoopAlert | append : 'create.liquid' }}
                 context = "screen"
                 title = page.row.title -%}

{%- elsif RowType == "event" or
          RowType == "retail" -%}

    <span class="block screen-row {{ page.row.type | prepend : 'type-' }}">

      {%- if page.row.time -%}

        <span class="block screen-title small">

          {{ page.row.time }}

        </span>

      {%- endif -%}

      {%- if page.row.title -%}

        <span class="block screen-title">

          {{ page.row.title }}

          {%- if page.row.cert -%}

            <sup>{{ page.row.cert }}</sup>

          {%- endif -%}

        </span>

      {%- endif -%}

      {%- if page.row.subtitle -%}

        <span class="block screen-title small">

          {{ page.row.subtitle }}

        </span>

      {%- endif -%}

    </span>

{%- elsif page.row.type == "yousaved" -%}

  <span class="block form-alert title-you-saved">

    <span class="block item-object title-you-saved">

      <span>{{ page.row.title }}</span>

      <span class="block item-object-price">{{ page.row.amount | prepend : '£' }}</span>

    </span>

  </span>

{%- endif -%}

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
futuro-0.9.8 _includes/html/page/content/row.liquid
futuro-0.9.7 _includes/html/page/content/row.liquid
futuro-0.9.6 _includes/html/page/content/row.liquid
futuro-0.9.5 _includes/html/page/content/row.liquid
futuro-0.9.4 _includes/html/page/content/row.liquid
futuro-0.9.3 _includes/html/page/content/row.liquid
futuro-0.9.2 _includes/html/page/content/row.liquid
futuro-0.9.1 _includes/html/page/content/row.liquid