Sha256: b0a1c97b859eabe9cecd8ebd4b79874c3e80eb165632e96e15bf933731e29d6a

Contents?: true

Size: 720 Bytes

Versions: 2

Compression:

Stored size: 720 Bytes

Contents

<h1>User Report</h1>

<p>Last 30 Days</p>

<p>New users registered: <%= @users.count %></p>

<ul class="users">
	<% @users.each do |u| %>
		<% agent = CabooseRets::Agent.where(:mls_id => u.rets_agent_mls_id).first %>
		<li>
			<a href="/admin/users/<%= u.id %>"><%= u.first_name %> <%= u.last_name %></a>
			<% if u.date_created %><span>- <%= u.date_created.in_time_zone('Central Time (US & Canada)').strftime('%B %-d, %Y') %></span><% end %>
			<br />
			<% if agent %><span style="display:block;margin-top:2px;">Assigned Agent: <%= agent.first_name %> <%= agent.last_name %></span><% end %>
		</li>
	<% end %>
</ul>

<% content_for :caboose_css do %>
<style>
	ul.users li {
		margin-bottom: 10px;
	}
</style>
<% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
caboose-rets-0.1.162 app/views/caboose_rets/saved_properties/user_report.html.erb
caboose-rets-0.1.161 app/views/caboose_rets/saved_properties/user_report.html.erb