Sha256: e5166d2017aaf584a9b698750e3eb6e1b866ff4c24179a3775135cb0bb8e9738

Contents?: true

Size: 1.5 KB

Versions: 9

Compression:

Stored size: 1.5 KB

Contents

<div class="table-responsive1"> 
	<table class="table table-hover members-table middle-align">
	  <thead> 
			<tr> 
				<th style="text-align: center;width:8%" class="hidden-sm hidden-xs">#</th> 
				<th>Name</th>
				<th class="hidden-sm hidden-xs">Message</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;" class="hidden-sm hidden-xs">
						<%= 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 %>
						<%= link_to time_ago_in_words(booking.created_at) + " ago", booking_path(booking), remote: true, style: "color:chocolate;font-size:10px;" %>
						<%= display_readable_status(booking) %>
					</td>

					<td class="hidden-sm hidden-xs"><%= 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

9 entries across 9 versions & 1 rubygems

Version Path
dhatu-0.2.2 app/views/dhatu/bookings/_index.html.erb
dhatu-0.2.1 app/views/dhatu/bookings/_index.html.erb
dhatu-0.2.0 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.25 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.24 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.23 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.22 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.21 app/views/dhatu/bookings/_index.html.erb
dhatu-0.1.20 app/views/dhatu/bookings/_index.html.erb