Sha256: af80be1dfc8a6bcb9e973c2670845177f22d0f8a5a53ca5106b9d91daa5fe92e

Contents?: true

Size: 1.52 KB

Versions: 12

Compression:

Stored size: 1.52 KB

Contents

<div class="table-responsive"> 
	<table class="table table-hover members-table middle-align">
	  <thead> 
			<tr> 
				<th style="text-align: center;width:8%">#</th> 
				<th style="width:200px">Name</th>
				<th style="width:50%;" >Message</th>
				<!-- <th style="width:100px;" class="hidden-sm hidden-xs">Status</th> -->
				<% if display_manage_links? %>
				<th style="text-align: center;" class="" >Actions</th>
				<% end %>
			</tr> 
		</thead>
	  <tbody>
	  	<tr id="tr_booking_0"></tr>
	  	<% @bookings.each_with_index do |booking, i| %>
	  		<tr id="tr_booking_<%= booking.id %>">

					<th scope="row" style="text-align: center;">
						<%= serial_number(i) %>
					</th>

					<td class="display-link">
						<% if booking.new? || booking.unread? %>
							<%= link_to booking.name, booking_path(booking), remote: true, style: "font-weight:800;" %><br>
						<% else %>
							<%= link_to booking.name, booking_path(booking), remote: true %>
						<% end %>
						&nbsp;<%= display_readable_status(booking) %><br>
						<%= link_to time_ago_in_words(booking.created_at) + " ago", booking_path(booking), remote: true, style: "color:darkred;font-size:10px;" %>
					</td>

					<td class=""><%= truncate booking.message, length: 30 %></td>

					<% if display_manage_links? %>
			    	<td class="action-links" style="width:15%"><%= display_readable_links(booking) %></td>
			    <% end %>
		    </tr>
		  <% end %>
	  </tbody>
	</table>
</div>

<div class="row">
  <div class="col-sm-12">
    <%= paginate_kuppayam(@bookings) %>
  </div>
</div>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dhatu-0.1.18 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.16 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.15 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.14 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.13 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.12 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.11 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.10 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.9 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.8 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.7 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.6 app/views/dhatu/bookings/_index.html.erb