src/Cms/TenantBundle/Resources/views/Dashboard/Social/main.html.twig line 1

Open in your IDE?
  1. {% extends '@ui/dashboards/system.html.twig' %}
  2. {% block header %}
  3.     {% embed '@ui/common/headers/new.html.twig' with {
  4.         title: 'Social Media Accounts',
  5.     } %}
  6.         {% block actions %}
  7.             {% include '@ui/common/buttons/default.html.twig' with {
  8.                 text: 'Register Twitter',
  9.                 helper: 'twitter',
  10.                 icon: 'plus',
  11.                 link: curpath(routes.create, {
  12.                     type: 'twitter'
  13.                 })
  14.             } %}
  15.             {% include '@ui/common/buttons/default.html.twig' with {
  16.                 text: 'Register Facebook',
  17.                 helper: 'facebook',
  18.                 icon: 'plus',
  19.                 link: curpath(routes.create, {
  20.                     type: 'facebook'
  21.                 })
  22.             } %}
  23.             {% include '@ui/common/buttons/default.html.twig' with {
  24.                 text: 'Register Instagram',
  25.                 helper: 'facebook',
  26.                 icon: 'plus',
  27.                 link: curpath(routes.create, {
  28.                     type: 'instagram'
  29.                 })
  30.             } %}
  31.         {% endblock %}
  32.     {% endembed %}
  33. {% endblock %}
  34. {% block content %}
  35.     {% include '@ui/common/flash/default.html.twig' %}
  36.     {% include '@CmsTenant/Dashboard/Social/includes/accounts.html.twig' %}
  37.     {% include '@CmsCore/includes/Search/empty.html.twig' with {
  38.         results: accounts|length
  39.     } %}
  40. {% endblock %}