Sha256: c31330fef5336571c3a9bd927a64d195089d3c5c6993e4bac197780864633b59

Contents?: true

Size: 1.66 KB

Versions: 17

Compression:

Stored size: 1.66 KB

Contents

<%= render partial: "projects/header", locals: {project: @project, subtitle: "Pretickets for"} %>

<ul class="nav nav-tabs">
  <li class="active"><a href="#exceptions" data-toggle="tab">
    Exceptions <span id="problem_count" class="badge badge-inverse zero">0</span>
  </a></li>
</ul>

<div class="tab-content">
  <div class="tab-pane active hide-completed" id="exceptions">
    <a class="btn" id="show_completed_exceptions" data-toggle="button">Show Completed</a>
    
    <form id="problems_form">
      <table class="table table-sortable table-striped">
        <thead>
          <tr>
            <td class="expcetion-checkbox"></td>
            <th class="exception-summary">Summary</th>
            <th class="exception-first">First Notice</th>
            <th class="exception-last sort-asc">Last Notice</th>
            <th class="exception-count">Count</th>
            <td class="exception-ticket"></td>
          </tr>
        </thead>
        <tbody id="problems"></tbody>
      </table>
    </form>
    
    <% if @project.error_tracker_name == "Errbit" %>
      <div class="buttons">
        <button id="merge_exceptions" class="btn btn-default">Merge</button>
        <button id="unmerge_exceptions" class="btn btn-default">Unmerge</button>
        <button id="delete_exceptions" class="btn btn-danger">Delete</button>
      </div>
    <% end %>
  </div>
</div>

<% content_for :javascripts do %>
  <script type="text/javascript">
    $(function() {
      var problems = <%= raw ProblemPresenter.new(@project, @problems).to_json %>;
      new ProblemsView({
        project: <%= raw @project.slug.to_json %>,
        problems: problems
      }).render();
    });
  </script>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
houston-core-0.7.0 app/views/project_pretickets/show.html.erb
houston-core-0.7.0.beta4 app/views/project_pretickets/show.html.erb
houston-core-0.7.0.beta3 app/views/project_pretickets/show.html.erb
houston-core-0.7.0.beta2 app/views/project_pretickets/show.html.erb
houston-core-0.7.0.beta app/views/project_pretickets/show.html.erb
houston-core-0.6.3 app/views/project_pretickets/show.html.erb
houston-core-0.6.2 app/views/project_pretickets/show.html.erb
houston-core-0.6.1 app/views/project_pretickets/show.html.erb
houston-core-0.6.0 app/views/project_pretickets/show.html.erb
houston-core-0.5.6 app/views/project_pretickets/show.html.erb
houston-core-0.5.5 app/views/project_pretickets/show.html.erb
houston-core-0.5.4 app/views/project_pretickets/show.html.erb
houston-core-0.5.3 app/views/project_pretickets/show.html.erb
houston-core-0.5.2 app/views/project_pretickets/show.html.erb
houston-core-0.5.1 app/views/project_pretickets/show.html.erb
houston-core-0.5.0 app/views/project_pretickets/show.html.erb
houston-core-0.5.0.beta1 app/views/project_pretickets/show.html.erb