scinote-web/app/views/search/results/partials/_organization_text.html.erb
2016-02-12 16:52:43 +01:00

7 lines
No EOL
191 B
Text

<% if can_view_projects(organization) %>
<a href="<%= projects_path :organization => organization.id %>">
<%= organization.name %>
</a>
<% else %>
<%= organization.name %>
<% end %>