Sha256: a23905bba7e39976c156640539c81b115986b36b0f0d83540100d60a8c9c0b76

Contents?: true

Size: 1.61 KB

Versions: 9

Compression:

Stored size: 1.61 KB

Contents

<div class="table-responsive"> 
	<table class="table table-hover members-table middle-align">
	  <thead> 
			<tr> 
				<th style="text-align: center;width:5%">#</th> 
				<th style="text-align: center;width:100px"><i class="fa fa-photo"></i></th> 
				<th>Service Name</th>
				<th style="width:200px">Category</th>
				<th style="width:100px;" class="hidden-sm hidden-xs">Status</th>
				<% if display_manage_links? %>
				<th style="text-align: center;" colspan="2" class="hidden-sm hidden-xs">Actions</th>
				<% end %>
			</tr> 
		</thead>
	  <tbody>
	  	<tr id="tr_service_0"></tr>
	  	<% @services.each_with_index do |service, i| %>
	  		
	  		<tr id="tr_service_<%= service.id %>">

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

					<td class="display-image">
						<%= display_thumbnail_small(service) %>
					</td>

					<td class="display-link">
						<%= link_to service.name, service_path(service), remote: true %><br>
						<%= link_to service.category.try(:display_name), service_path(service), remote: true %>
					</td>

					<td class="hidden-sm hidden-xs"><%= display_publishable_status(service) %></td>

		      <% if display_manage_links? %>
			    <td class="action-links hidden-sm hidden-xs" style="width:10%"><%= display_publishable_links(service) %></td>

			    <td class="action-links hidden-sm hidden-xs" style="width:10%">
			      <%= display_manage_links(service, @current_user) %>
			    </td>
			    <% end %>

		    </tr>
		  <% end %>
	  </tbody>
	</table>
</div>

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dhatu-0.1.13 app/views/dhatu/services/_index.html.erb
dhatu-0.1.12 app/views/dhatu/services/_index.html.erb
dhatu-0.1.11 app/views/dhatu/services/_index.html.erb
dhatu-0.1.10 app/views/dhatu/services/_index.html.erb
dhatu-0.1.9 app/views/dhatu/services/_index.html.erb
dhatu-0.1.8 app/views/dhatu/services/_index.html.erb
dhatu-0.1.7 app/views/dhatu/services/_index.html.erb
dhatu-0.1.6 app/views/dhatu/services/_index.html.erb
dhatu-0.1.5 app/views/dhatu/services/_index.html.erb