Newer
Older
dmpopidor / app / views / static_pages / public_plans.html.erb
<%- model_class = Plan -%>
<h1>
	<%= raw _('Public DMPs') %>
</h1>

<!-- if the user has projects -->
<% if @plans.count > 0 %>
	<p>
		<%= _('Public DMPs are plans created using the DMPTool and shared publicly by their owners. They are not vetted for quality, completeness, or adherence to funder guidelines.') %>
	</p>
    
	<table id="dmp_table" class="dmp_table tablesorter">
	  <thead>
			<tr>
				<th class="dmp_th_small"><%= _('Name') %></th>
				<th class="dmp_th_small"><%= _('Template') %></th>
				<th class="dmp_th_small"><%= _('Organization') %></th>
				<th class="dmp_th_small"><%= _('Owner') %></th>
			  	<!-- th class="dmp_th_small"></th -->
			</tr>
	  </thead>
	  <tbody>
      <% @plans.each do |plan| %>
				<tr>
				  <% ['non_link_name', 'template', 'organisation', 'owner'].each do |column| %>
				    <%= plan_list_column_body(column, plan) %>
				  <% end %>
				  <!--td class="dmp_td_medium"-->
						<!-- %= link_to _('Export'), public_export_path(plan), :class => "dmp_table_link" % -->
				  <!--/td-->
				</tr>
      <% end %>
	  </tbody>
	</table>
<% else %>
	<p>
		<%= _("There are no public DMPs.")%>
	</p>
<% end %>