Sha256: f25c7f97b0acea421b6b3c26481accf9c75c35a8a599156818dccd3c22daba64

Contents?: true

Size: 1.43 KB

Versions: 17

Compression:

Stored size: 1.43 KB

Contents

<% if @tickets.any? %>
  <div class="nomargin">
    <table id="tickets" class="table table-sortable table-striped table-hoverable infinite-scroll">
      <thead>
        <tr>
          <td class="table-margin"></td>
          <th class="ticket-number" data-attribute="number">#</th>
          <td class="ticket-type ticket-type-na"></td>
          <td class="ticket-reporter"></td>
          <th class="ticket-summary" data-attribute="summary">Summary</th>
          <th class="ticket-milestone" data-attribute="milestone">Milestone</th>
          <th class="ticket-antecedents" data-attribute="antecedents">Antecedents</th>
          <th class="ticket-opened date sort-asc" data-attribute="openedAt">Opened</th>
          <th class="ticket-closed date" data-attribute="closedAt">Closed</th>
          <td class="table-margin"></td>
        </tr>
      </thead>
    </table>
  </div>

  <% content_for :javascripts do %>
    <script type="text/javascript">
      $(function() {
        var tickets = new Tickets(<%=raw MultiJson.dump(@tickets.map(&:as_json)) %>, {parse: true});
        new AllTicketsView({
          el: document.getElementById('tickets'),
          infiniteScroll: true,
          tickets: tickets,
          project: <%=raw @project.slug.to_json %>
        }).render();
      });
    </script>
  <% end %>
<% else %>
  <div class="alert alert-info">There are no tickets for this project yet. Click <b>New Ticket</b> to create one.</div>
<% end %>

Version data entries

17 entries across 17 versions & 1 rubygems

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