<commit_before>{% extends "logical/database/details/base.html" %}
{% load admin_static %}


{% block extrastyle %}
  {{ block.super }}
  <style type="text/css">
    .action_button {
        margin-left: 20px
    }

    .padding-host {
        padding-left: 50px !important;
    }
  </style>
{% endblock %}


{% block tab %}
<fieldset class="module aligned ">
  <div class="control-group">
  </div>
  <div class="panel-heading">
    <h3 class="panel-title">
      Maintenances
    </h3>
  </div>
  <div class="panel-body">
    <div class="control-group">
      <table id="table-maintenances" class="table table-striped">
        <tr>
          <th scope="col">Name</th>
          <th scope="col">User</th>
          <th scope="col">Status</th>
          <th scope="col">Started At</th>
          <th scope="col">Finished At</th>
        </tr>
        <tbody>
          {% for maintenance in maintenances %}
            <tr>
              <td><a href={{ maintenance.url }}>{{ maintenance.verbose_name }}</a></td>
              <td>{{ maintenance.task.user }}</td>
              <td><a href={{ maintenance.task_url }}>{{ maintenance.task.task_status }}</a></td>
              <td>{{ maintenance.started_at }}</td>
              <td>{{ maintenance.finished_at }}</td>
            </tr>
          {% endfor %}
        </tbody>
      </table>
    </div>
  </div>
{% endblock %}<commit_msg>Disable link to not dba users<commit_after>{% extends "logical/database/details/base.html" %}
{% load admin_static %}


{% block extrastyle %}
  {{ block.super }}
  <style type="text/css">
    .action_button {
        margin-left: 20px
    }

    .padding-host {
        padding-left: 50px !important;
    }
  </style>
{% endblock %}


{% block tab %}
<fieldset class="module aligned ">
  <div class="control-group">
  </div>
  <div class="panel-heading">
    <h3 class="panel-title">
      Maintenances
    </h3>
  </div>
  <div class="panel-body">
    <div class="control-group">
      <table id="table-maintenances" class="table table-striped">
        <tr>
          <th scope="col">Name</th>
          <th scope="col">User</th>
          <th scope="col">Status</th>
          <th scope="col">Started At</th>
          <th scope="col">Finished At</th>
        </tr>
        <tbody>
          {% for maintenance in maintenances %}
            <tr>
              {% if is_dba %}
                <td><a href={{ maintenance.url }}>{{ maintenance.verbose_name }}</a></td>
              {% else %}
                <td>{{ maintenance.verbose_name }}</td>
              {% endif %}
              <td>{{ maintenance.task.user }}</td>
              {% if is_dba %}
                <td><a href={{ maintenance.task_url }}>{{ maintenance.task.task_status }}</a></td>
              {% else %}
                <td>{{ maintenance.task.task_status }}</td>
              {% endif %}
              <td>{{ maintenance.started_at }}</td>
              <td>{{ maintenance.finished_at }}</td>
            </tr>
          {% endfor %}
        </tbody>
      </table>
    </div>
  </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.1843994778067885, 'fraction_numerical': 0.0039164490861618795, 'mean_word_length': 1.927411652340019, 'pattern_counts': {'":': 0, '<': 97, '<?xml version=': 0, '>': 97, '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': '1463333', 'n_tokens_mistral': 1023, 'n_tokens_neox': 950, 'n_words': 195}