Sha256: 2508e298dfb3f5d121c0692647403ee6d0eebf26fefb7213e507b9ad1f5e1107

Contents?: true

Size: 782 Bytes

Versions: 60

Compression:

Stored size: 782 Bytes

Contents

<h1>Inbox - Spam</h1>

<div class="constrain clearfix" style="padding:0 40px 0 10px;">
	<div class="inbox-btns constrain">
		<a href="/admin/inbox" class="caboose-btn">View Inbox</a>
	</div>
	<table class="inbox-table" cellpadding="0" cellspacing="0">
		<tr>
			<th>From</th>
			<th>Subject</th>
			<th>Message</th>
			<th>Date</th>
		</tr>
		<% @contacts.each do |c| %>
			<tr data-id="<%= c.id %>">
				<td><%= c.name %></td>
				<td><%= c.subject %></td>
				<td><%= c.message ? c.message.truncate(60) : '' %></td>
				<td><%= c.date_submitted.strftime('%-m/%-d/%Y') %></td>
			</tr>
		<% end %>
	</table>
</div>

<% content_for :caboose_js do %>
<script>
	$(".inbox-table tr").click(function() {
		window.location = "/admin/inbox/" + $(this).data("id");
	});
</script>
<% end %>

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
caboose-cms-0.9.187 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.186 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.185 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.184 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.183 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.182 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.181 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.180 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.179 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.178 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.177 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.176 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.175 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.174 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.173 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.172 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.171 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.170 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.169 app/views/caboose/inbox/admin_spam.html.erb
caboose-cms-0.9.168 app/views/caboose/inbox/admin_spam.html.erb