No notes defined.

<div class='c-dashboard-block'>

    <header class='c-dashboard-block__header'>
        <h1 class='c-heading c-heading--minor c-dashboard-block__heading'>
            Dashboard block
        </h1>
    </header>

    <div class='c-dashboard-block__content-wrapper'>

        <table class='c-table c-table--account-settings c-dashboard-block__table'>
            <tbody>
                <tr>
                    <th scope='row'>Name</th>
                    <td>Johnny Bee</td>
                </tr>
                <tr>
                    <th scope='row'>Email</th>
                    <td>mail@mail.com</td>
                </tr>
            </tbody>
        </table>
    </div>

</div>
<div class='{{ get_component_class( 'dashboard-block', display ) }}'>
    
    {% if heading or button %}
        <header class='c-dashboard-block__header'>
            {% if heading %}
                {% include get_template( 'heading', 'unit' ) with heading|merge( { display: { component: 'dashboard-block', modifiers: [ 'minor' ] } } ) %}
            {% endif %}
            {% if button %}
                <div class='c-dashboard-block__header__actions'>
                    {% include get_template( 'button', 'base' ) with button|merge( { display: { component: 'dashboard-block', modifiers: [ 'small' ] } } ) %}
                </div>
            {% endif %}
        </header>
    {% endif %}
    
    <div class='c-dashboard-block__content-wrapper'>
        {% if stats %}
            {% include get_template( 'figures', 'group' ) with stats %}
        {% endif %}

        {% if issues %}
            {% include get_template( 'task-list', 'unit' ) with issues|merge( { display: { component: entityType } } ) %}
        {% endif %}

        {% if collection %}
            {% include get_template( 'collection', 'group' ) with collection %}
        {% elseif entities %}
            {% include get_template( 'entities', 'group' ) with entities|merge( { 
                display: { component: 'dashboard-block__entities' },
            } ) %}
        {% elseif entity %}
            {% if entity.rendered %}
                {{ entity.rendered }}
            {% else %}
                {% include get_entity_template( entityTemplate, entity.display ) with entity %}
            {% endif %}
        {% elseif taskList %}
            {% include get_template( 'task-list', 'unit' ) with taskList|merge( { 
                display: { component: 'dashboard-block' },
                heading: NULL,
            } ) %}
        {% elseif fields %}
            {% include get_template( 'fields', 'group' ) with fields %}
        {% elseif table %}
            {% include get_template( 'table', 'group' ) with table %}
        {% elseif indexCard %}
            {% include get_template( 'index-card', 'unit' ) with indexCard %}
        {% elseif timeline %}
            {% include get_template( 'timeline', 'unit' ) with timeline %}
        {% elseif blankSlate %}
            {% include get_template( 'blank-slate', 'unit' ) with blankSlate|merge( { 
                display: { component: 'dashboard-block' },
                button: NULL
            } ) %}
        {% endif %}
    </div>

    {% if links %}
        <footer class='c-dashboard-block__footer'>
            {% include get_template( 'action-bar', 'unit' ) with {
                display: {
                    component: 'dashboard-block'
                },
                links: links,
                button: NULL,
            } %}
        </footer>
    {% endif %}
</div>
{
  "heading": {
    "text": "Dashboard block"
  },
  "button": null,
  "icon": {
    "display": {
      "component": "dashboard-block",
      "modifiers": [
        "x-large"
      ]
    },
    "basename": "noun_Quality badge_1353889.svg"
  },
  "blankSlate": {
    "icon": {
      "display": {
        "component": "blank-slate",
        "modifiers": [
          "x-large"
        ]
      },
      "basename": "noun_Quality badge_1353889.svg"
    },
    "header": {
      "heading": {
        "display": {
          "component": "blank-slate"
        },
        "text": "Meetings"
      }
    },
    "lead": {
      "content": "<p>A blank slate is presented when a screen or a screen section is empty.</p>"
    }
  },
  "theme": "awareness",
  "table": {
    "display": {
      "component": "dashboard-block",
      "modifiers": [
        "account-settings"
      ]
    },
    "items": [
      {
        "th": "Name",
        "td": "Johnny Bee"
      },
      {
        "th": "Email",
        "td": "mail@mail.com"
      }
    ]
  }
}