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

{% block title %}Research Computing - My Projects{% endblock %}

{% block extra_style %}
<link href="/static/css/projects.css" rel="stylesheet"/>
{% endblock %}

{% block jumbotron_heading %}<h1>My Projects</h1>{% endblock %}
{% block jumbotron_subheading %}
<p>Review, manage, and request projects.</p>
{% endblock %}

{% block container %}
<div class="row">
  <legend>Manage Projects</legend>
  <span id="scavenger-mailto">
    <i class="fa fa-info-circle" aria-hidden="true"></i>
    Request access to the <i>scavenger</i> queue
    <a href="mailto:<EMAIL>?subject=Request%20Access%20To%20Scavenger">
        by contacting us.
    </a>
  </span>
  <ul class="list-group">
    {% for project in object_list %}
      {% if user.username in project.managers %}
      <a href="{% url 'projects:project-detail' project.pk %}" class="list-group-item">
        <h4 class="list-group-item-heading">{{ project.project_id }}</h4>
        <p class="list-group-item-text">{{ project.title }}</p>
      </a>
      {% endif %}
    {% endfor %}
    <a href="{% url 'projects:project-create' %}" class="list-group-item">
      <h4 class="list-group-item-heading">Create a new project</h4>
      <p class="list-group-item-heading">Create a new Research Computing project.</p>
    </a>
  </ul>

  <legend>Project Details</legend>
  <ul class="list-group">
    {% for project in object_list %}
      {% if user.username in project.collaborators or user.username in project.managers %}
      <a href="{% url 'projects:project-detail' project.pk %}" class="list-group-item">
        <h4 class="list-group-item-heading">{{ project.project_id }}</h4>
        <p class="list-group-item-text">{{ project.title }}</p>
      </a>
      {% endif %}
    {% endfor %}
  </ul>
</div>
{% endblock %}
<commit_msg>Revised project list. Closes #32, closes #108.<commit_after>{% extends "base.html" %}

{% block title %}Research Computing - My Projects{% endblock %}

{% block extra_style %}
<link href="/static/css/projects.css" rel="stylesheet"/>
{% endblock %}

{% block jumbotron_heading %}<h1>My Projects</h1>{% endblock %}
{% block jumbotron_subheading %}
<p>Review, manage, and request projects.</p>
{% endblock %}

{% block container %}
<div class="row">
  <legend>My Projects</legend>
  <span id="scavenger-mailto">
    <i class="fa fa-info-circle" aria-hidden="true"></i>
    Request access to the <i>scavenger</i> queue
    <a href="mailto:<EMAIL>?subject=Request%20Access%20To%20Scavenger">
        by contacting us.
    </a>
  </span>

  <ul class="list-group">
    {% for project in object_list %}
      {% if user.username in project.managers %}
      <a href="{% url 'projects:project-detail' project.pk %}" class="list-group-item">
        <h4 class="list-group-item-heading">{{ project.project_id }} <small>(Manager)</small></h4>
        <p class="list-group-item-text">{{ project.title }}</p>
      </a>
      {% endif %}
    {% endfor %}
    {% for project in object_list %}
      {% if user.username not in project.managers %}
      <a href="{% url 'projects:project-detail' project.pk %}" class="list-group-item">
        <h4 class="list-group-item-heading">{{ project.project_id }}</h4>
        <p class="list-group-item-text">{{ project.title }}</p>
      </a>
      {% endif %}
    {% endfor %}
    <a href="{% url 'projects:project-create' %}" class="list-group-item">
      <h4 class="list-group-item-heading">Create a new project</h4>
      <p class="list-group-item-heading">Create a new Research Computing project.</p>
    </a>
  </ul>

</div>
{% endblock %}

{'fraction_non_alphanumeric': 0.19232907170650362, 'fraction_numerical': 0.009171762090050028, 'mean_word_length': 3.437731196054254, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 85, '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': '240929', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1186, 'n_words': 270}