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

{% block page_title %}
Hang Report for {{ product }} {{ version }}
{% endblock %}

{% block content %}
<div id="mainbody">
  <div class="page-heading">
    <h2>Hang Report for <span class="current-product">{{ product }}</span><span class="current-version">{{ version }}</span></h2>
      <ul class="options">
          <li><a href="" class="selected">By Product/Version</a></li>
      </ul>
      <ul class="options">
      {% for d in request.possible_days %}
          <li><a href="?days={{ d }}" {% if days == d %} class="selected" {% endif %}>{{ d }} days</a></li>
      {% endfor %}
      </ul>
  </div>

  <div class="panel">
    <div class="body notitle">
      {{ pagination(hangreport) }}
      <table id="signatureList" class="tablesorter data-table">
        <thead>
          <tr>
            <th class="header">Browser Signature</th>
            <th class="header">Plugin Signature</th>
            <th class="header">Flash Version</th>
            <th class="header">OOID</th>
            <th class="header">Report Day</th>
          </tr>
        </thead>
        <tbody>
        {% for report in hangreport.hangReport %}
        <tr>
          <td>
            <a href="{{ url('crashstats.report_list') }}?date={{ report.report_day }}&amp;signature={{ report.browser_signature|urlencode }}&amp;version={{ product }}%3A{{ version }}&amp;range_value={{ duration }}&amp;range_units={{ days }}" class="signature signature-preview">{{ report.browser_signature }}</a>
          </td>
          <td>
            <a href="{{ url('crashstats.report_list') }}?date={{ report.report_day }}&amp;signature={{ report.plugin_signature|urlencode }}&amp;version={{ product }}%3A{{ version }}&amp;range_value={{ duration }}&amp;range_units={{ days }}" class="signature signature-preview">{{ report.plugin_signature }}</a>
          </td>
          <td>{{ report.flash_version }}</td>
          <td>
            <a href="{{ url('crashstats.report_index', report.uuid) }}">{{ report.uuid }}</a>
          </td>
          <td>
            {{ report.report_day }}
          </td>
        </tr>
        {% endfor %}
        <tbody>
      </table>
      {{ pagination(hangreport) }}

    </div>
  </div><commit_msg>bug 805307 - truncate signature name, and show full signature on hover<commit_after>{% extends "crashstats_base.html" %}

{% block page_title %}
Hang Report for {{ product }} {{ version }}
{% endblock %}

{% block content %}
<div id="mainbody">
  <div class="page-heading">
    <h2>Hang Report for <span class="current-product">{{ product }}</span><span class="current-version">{{ version }}</span></h2>
      <ul class="options">
          <li><a href="" class="selected">By Product/Version</a></li>
      </ul>
      <ul class="options">
      {% for d in request.possible_days %}
          <li><a href="?days={{ d }}" {% if days == d %} class="selected" {% endif %}>{{ d }} days</a></li>
      {% endfor %}
      </ul>
  </div>

  <div class="panel">
    <div class="body notitle">
      {{ pagination(hangreport) }}
      <table id="signatureList" class="tablesorter data-table">
        <thead>
          <tr>
            <th class="header">Browser Signature</th>
            <th class="header">Plugin Signature</th>
            <th class="header">Flash Version</th>
            <th class="header">OOID</th>
            <th class="header">Report Day</th>
          </tr>
        </thead>
        <tbody>
        {% for report in hangreport.hangReport %}
        <tr>
          <td>
            <a href="{{ url('crashstats.report_list') }}?date={{ report.report_day }}&amp;signature={{ report.browser_signature|urlencode }}&amp;version={{ product }}%3A{{ version }}&amp;range_value={{ duration }}&amp;range_units={{ days }}" class="signature signature-preview" title={{ report.browser_signature }}>{{ report.browser_signature | truncate(length=70, killwords=True)}}</a>
          </td>
          <td>
            <a href="{{ url('crashstats.report_list') }}?date={{ report.report_day }}&amp;signature={{ report.plugin_signature|urlencode }}&amp;version={{ product }}%3A{{ version }}&amp;range_value={{ duration }}&amp;range_units={{ days }}" class="signature signature-preview" title="{{ report.plugin_signature }}">{{ report.plugin_signature | truncate(length=70, killwords=True)}}</a>
          </td>
          <td>{{ report.flash_version }}</td>
          <td>
            <a href="{{ url('crashstats.report_index', report.uuid) }}">{{ report.uuid }}</a>
          </td>
          <td>
            {{ report.report_day }}
          </td>
        </tr>
        {% endfor %}
        <tbody>
      </table>
      {{ pagination(hangreport) }}

    </div>
  </div>
{'fraction_non_alphanumeric': 0.19889970376639865, 'fraction_numerical': 0.003808717731696995, 'mean_word_length': 2.7249802994483847, 'pattern_counts': {'":': 0, '<': 125, '<?xml version=': 0, '>': 125, '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': '1215187', 'n_tokens_mistral': 1475, 'n_tokens_neox': 1432, 'n_words': 315}