<commit_before>{% extends "base.html" %}

{% block title %}{{ title }}{% endblock %}

{% block middle %}
<section id="error">
  <div class="inner">
    <div id="box">
      <a href={{ url('pontoon.admin.project.new') }}>
        <div class="fa fa-box-open"></div>
      </a>
      <p>There are no projects to localize yet.</p>
    </div>
    <div id="subtitle">
      <a href={{ url('pontoon.admin.project.new') }}>Set up your first project</a>
    </div>
  </div>
</section>
{% endblock %}<commit_msg>Only show "Set up your first project" link to admins (#1228)<commit_after>{% extends "base.html" %}

{% block title %}{{ title }}{% endblock %}

{% block middle %}
<section id="error">
  <div class="inner">
    <div id="box">
      <a href={{ url('pontoon.admin.project.new') }}>
        <div class="fa fa-box-open"></div>
      </a>
      <p>There are no projects to localize yet.</p>
    </div>
    {% if perms.base.can_manage_project %}
    <div id="subtitle">
      <a href={{ url('pontoon.admin.project.new') }}>Set up your first project</a>
    </div>
    {% endif %}
  </div>
</section>
{% endblock %}
{'fraction_non_alphanumeric': 0.2153153153153153, 'fraction_numerical': 0.0036036036036036037, 'mean_word_length': 2.9964028776978417, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, 'https://': 0, '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': '4878221', 'n_tokens_mistral': 414, 'n_tokens_neox': 393, 'n_words': 101}