Sha256: b725fd9622ce027d3f309896f9bf83c6c0a94f1448bafb6adae271974b081622

Contents?: true

Size: 1.1 KB

Versions: 6

Compression:

Stored size: 1.1 KB

Contents

<div id="container-main" class="mg-reports">
	<h1>Your Reports</h1>
	<div class="container-content">
		<div class="title-bar">
			<span class="category name">Report</span>
			<span class="category frequency">Frequency</span>
			<span class="category actions">Actions</span>
		</div>
		<ul class="listed">
			<% @reports.each do |report| %>
				<li class="report">
					<span class="category name"><%=h report.title %></span>
					<span class="category frequency"><%=h report.delivery_set.capitalize %></span>
					<span class="category actions"><a href="<%= mg_report_url report %>">View</a><a href="<%= edit_mg_report_url :id => report.id %>">Edit</a> <a href="<%= hide_mg_report_url :id => report.id %>">Hide</a></span>
				</li>
			<% end %>
		</ul>
		
		<div class="action-bar">
			<a class="button" href="<%= new_mg_report_url %>">New Report</a>
		</div>
		
		<div class="hidden-reports">
			<% @hidden_reports.each do |report| %>
				<span class="name"><%=h report.title %></span>
				<span class="unhide"><a href="<%= unhide_mg_report_url :id => report.id %>">Restore</a></span>
			<% end %>
		</div>
	</div>
</div>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mountain-goat-1.0.6pre1 lib/mountain-goat/views/mountain_goat/mg/reports/index.html.erb
mountain-goat-1.0.5 lib/mountain-goat/views/mountain_goat/mg/reports/index.html.erb
mountain-goat-1.0.4 lib/mountain-goat/views/mountain_goat/mg/reports/index.html.erb
mountain-goat-1.0.3 lib/mountain-goat/views/mountain_goat/mg/reports/index.html.erb
mountain-goat-1.0.2 lib/mountain-goat/views/mountain_goat/mg/reports/index.html.erb
mountain-goat-1.0.1 lib/mountain-goat/views/mountain_goat/mg/reports/index.html.erb