<commit_before>{%extends display.dash%}



{%block sidenav%}
  <li><a href="{{url.here}}"><i class='sf-gauge'></i> <span>{% trans "Dashboard" %}</span></a></li>



{%if perm('cpPostsView') or perm('cpCategoryView') or perm('cpPageView') or perm('cpTagView')  %}
    <li>
        <a href="{{url.here}}/cms"><i class='sf-diamond'></i> <span>{% trans "CMS" %}</span></a>
        <ul>
            {%if perm('cpPostsView') %}
              <li><a href="{{url.here}}/posts">{% trans "News" %} <i class='floatRa mRa10 fc-mute sf-pinboard'></i></a></li>
            {%endif%}

            {%if perm('cpCategoryView') %}
              <li><a href="{{url.here}}/terms?type=cat">{% trans "Categries" %} <i class='floatRa mRa10 fc-mute sf-grid'></i></a></li>
            {%endif%}

            {%if perm('cpTagView') %}
              <li><a href="{{url.here}}/terms?type=tag">{% trans "Tags" %} <i class='floatRa mRa10 fc-mute sf-tags'></i></a></li>
            {%endif%}

            {%if perm('cpPageView') %}
              <li><a href="{{url.here}}/posts?type=page">{% trans "Pages" %} <i class='floatRa mRa10 fc-mute sf-files-o'></i></a></li>
            {%endif%}

            {%if perm('cpHelpCenterView') %}
              <li><a href="{{url.here}}/posts?type=help">{% trans "Help center" %} <i class='floatRa mRa10 fc-mute sf-info-circle'></i></a></li>
            {%endif%}

            {%if perm('cpTagHelpAdd') or perm('cpTagHelpEdit')%}
              <li><a href="{{url.here}}/terms?type=help_tag">{% trans "Help tags" %} <i class='floatRa mRa10 fc-mute sf-clone'></i></a></li>
            {%endif%}

            {%if perm('cpTagSupportAdd') or perm('cpTagSupportEdit')%}
              <li><a href="{{url.here}}/terms?type=support_tag">{% trans "Support tags" %} <i class='floatRa mRa10 fc-mute sf-bug'></i></a></li>
            {%endif%}

        </ul>
    </li>
{%endif%}

{%if perm('cpContactView') or perm('cpCommentsView')%}

    <li>
      <a href="{{url.here}}/mycontact"><i class='sf-bell-o'></i> <span>{% trans "Contact" %}</span></a>
      <ul>
        {%if perm('cpCommentsView')%}
          <li><a href="{{url.here}}/comments">{% trans "Comments" %} <i class='floatRa mRa10 fc-mute sf-comments'></i></a></li>
        {%endif%}

        {%if perm('cpContactView')%}
          <li><a href="{{url.here}}/contact">{% trans "Contact US" %} <i class='floatRa mRa10 fc-mute sf-envelope-o'></i></a></li>
        {%endif%}

      </ul>
    </li>
{%endif%}



{%if perm('cpUsersView') or perm('cpUsersAdd') or perm('cpPermissionView') %}
    <li>
      {%if perm('cpUsersView') %}
        <a href="{{url.here}}/users"><i class='sf-users'></i> <span>{% trans "Users" %}</span></a>
      {%endif%}
        <ul>
          {%if perm('cpUsersAdd') %}
            <li><a href="{{url.here}}/users/set">{% trans "Add new user" %} <i class='floatRa mRa10 fc-mute sf-user-plus'></i></a></li>
          {%endif%}
          {%if perm('cpPermissionView') %}
            <li><a href="{{url.here}}/permission">{% trans "Permissions" %} <i class='floatRa mRa10 fc-mute sf-lock'></i></a></li>
          {%endif%}
        </ul>
    </li>
{%endif%}

{%if perm('cpSMS') or perm('cpSmsSend') or perm('cpSmsSendGroup') or perm('cpTemplateSmsView') %}
    <li>
        {%if perm('cpSMS') %}
        <a href="{{url.here}}/sms"><i class='sf-envelope'></i> <span>{% trans "SMS" %}</span></a>
        {%endif%}
        <ul>
          {%if perm('cpSmsSend') %}
            <li><a href="{{url.here}}/sms/send">{% trans "Quick send" %} <i class='floatRa mRa10 fc-mute sf-paper-plane'></i></a></li>
          {%endif%}
          {%if perm('cpSmsSendGroup') %}
            <li><a href="{{url.here}}/sms/group">{% trans "Group send" %} <i class='floatRa mRa10 fc-mute sf-rocket'></i></a></li>
          {%endif%}
          {%if perm('cpTemplateSmsView') %}
            <li><a href="{{url.here}}/sms/template">{% trans "Templates" %} <i class='floatRa mRa10 fc-mute sf-right-quote-alt'></i></a></li>
          {%endif%}
        </ul>
    </li>
{%endif%}

<li><a data-direct href="{{url.kingdom}}/support"><i class='sf-life-ring'></i> <span>{% trans "Support" %}</span></a></li>


{%endblock%}



{%block copyright%}
    <span>{%trans "Powered by"%} <a href='https://ermile.com/dash' target="_blank" title='{%trans "Some right reserved"%}' tabindex='-1'>{%trans "Ermile"%}</a></span> | <abbr>{%trans "Version"%} {{dash.version | fitNumber}}</abbr>
{%endblock%}
<commit_msg>add support link shortcode<commit_after>{%extends display.dash%}



{%block sidenav%}
  <li><a href="{{url.here}}"><i class='sf-gauge'></i> <span>{% trans "Dashboard" %}</span></a></li>



{%if perm('cpPostsView') or perm('cpCategoryView') or perm('cpPageView') or perm('cpTagView')  %}
    <li>
        <a href="{{url.here}}/cms"><i class='sf-diamond'></i> <span>{% trans "CMS" %}</span></a>
        <ul>
            {%if perm('cpPostsView') %}
              <li><a href="{{url.here}}/posts">{% trans "News" %} <i class='floatRa mRa10 fc-mute sf-pinboard'></i></a></li>
            {%endif%}

            {%if perm('cpCategoryView') %}
              <li><a href="{{url.here}}/terms?type=cat">{% trans "Categries" %} <i class='floatRa mRa10 fc-mute sf-grid'></i></a></li>
            {%endif%}

            {%if perm('cpTagView') %}
              <li><a href="{{url.here}}/terms?type=tag">{% trans "Tags" %} <i class='floatRa mRa10 fc-mute sf-tags'></i></a></li>
            {%endif%}

            {%if perm('cpPageView') %}
              <li><a href="{{url.here}}/posts?type=page">{% trans "Pages" %} <i class='floatRa mRa10 fc-mute sf-files-o'></i></a></li>
            {%endif%}

            {%if perm('cpHelpCenterView') %}
              <li><a href="{{url.here}}/posts?type=help">{% trans "Help center" %} <i class='floatRa mRa10 fc-mute sf-info-circle'></i></a></li>
            {%endif%}

            {%if perm('cpTagHelpAdd') or perm('cpTagHelpEdit')%}
              <li><a href="{{url.here}}/terms?type=help_tag">{% trans "Help tags" %} <i class='floatRa mRa10 fc-mute sf-clone'></i></a></li>
            {%endif%}

            {%if perm('cpTagSupportAdd') or perm('cpTagSupportEdit')%}
              <li><a href="{{url.here}}/terms?type=support_tag">{% trans "Support tags" %} <i class='floatRa mRa10 fc-mute sf-bug'></i></a></li>
            {%endif%}

        </ul>
    </li>
{%endif%}

{%if perm('cpContactView') or perm('cpCommentsView')%}

    <li>
      <a href="{{url.here}}/mycontact"><i class='sf-bell-o'></i> <span>{% trans "Contact" %}</span></a>
      <ul>
        {%if perm('cpCommentsView')%}
          <li><a href="{{url.here}}/comments">{% trans "Comments" %} <i class='floatRa mRa10 fc-mute sf-comments'></i></a></li>
        {%endif%}

        {%if perm('cpContactView')%}
          <li><a href="{{url.here}}/contact">{% trans "Contact US" %} <i class='floatRa mRa10 fc-mute sf-envelope-o'></i></a></li>
        {%endif%}

      </ul>
    </li>
{%endif%}



{%if perm('cpUsersView') or perm('cpUsersAdd') or perm('cpPermissionView') %}
    <li>
      {%if perm('cpUsersView') %}
        <a href="{{url.here}}/users"><i class='sf-users'></i> <span>{% trans "Users" %}</span></a>
      {%endif%}
        <ul>
          {%if perm('cpUsersAdd') %}
            <li><a href="{{url.here}}/users/set">{% trans "Add new user" %} <i class='floatRa mRa10 fc-mute sf-user-plus'></i></a></li>
          {%endif%}
          {%if perm('cpPermissionView') %}
            <li><a href="{{url.here}}/permission">{% trans "Permissions" %} <i class='floatRa mRa10 fc-mute sf-lock'></i></a></li>
          {%endif%}
        </ul>
    </li>
{%endif%}

{%if perm('cpSMS') or perm('cpSmsSend') or perm('cpSmsSendGroup') or perm('cpTemplateSmsView') %}
    <li>
        {%if perm('cpSMS') %}
        <a href="{{url.here}}/sms"><i class='sf-envelope'></i> <span>{% trans "SMS" %}</span></a>
        {%endif%}
        <ul>
          {%if perm('cpSmsSend') %}
            <li><a href="{{url.here}}/sms/send">{% trans "Quick send" %} <i class='floatRa mRa10 fc-mute sf-paper-plane'></i></a></li>
          {%endif%}
          {%if perm('cpSmsSendGroup') %}
            <li><a href="{{url.here}}/sms/group">{% trans "Group send" %} <i class='floatRa mRa10 fc-mute sf-rocket'></i></a></li>
          {%endif%}
          {%if perm('cpTemplateSmsView') %}
            <li><a href="{{url.here}}/sms/template">{% trans "Templates" %} <i class='floatRa mRa10 fc-mute sf-right-quote-alt'></i></a></li>
          {%endif%}
        </ul>
    </li>
{%endif%}

<li><a data-direct href="{{url.kingdom}}/support" data-shortkey="112" data-shortkey-prevent data-shortkey-timeout='1000'><i class='sf-life-ring'></i> <span>{% trans "Support" %}</span><kbd class="floatRa fs08">F1</kbd></a></li>


{%endblock%}



{%block copyright%}
    <span>{%trans "Powered by"%} <a href='https://ermile.com/dash' target="_blank" title='{%trans "Some right reserved"%}' tabindex='-1'>{%trans "Ermile"%}</a></span> | <abbr>{%trans "Version"%} {{dash.version | fitNumber}}</abbr>
{%endblock%}

{'fraction_non_alphanumeric': 0.25578034682080925, 'fraction_numerical': 0.00755891507336594, 'mean_word_length': 2.856408058294042, 'pattern_counts': {'":': 0, '<': 297, '<?xml version=': 0, '>': 297, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '334613', 'n_tokens_mistral': 3564, 'n_tokens_neox': 3202, 'n_words': 606}