zeus.ugent.be/layouts/partials/_privacy_link.erb
Niko Strijbol d8a0e9a66a
Project stuff
- Add project metadata
- Extract metadata for projects and privacy
2019-12-06 19:54:58 +01:00

9 lines
No EOL
250 B
Text

<li>
<% if project.key?(:site) %>
<a href="<%= project[:site] %>"><%= project[:name] %></a>
<% elsif project.key?(:repo) %>
<a href="<%= project[:repo] %>"><%= project[:name] %></a>
<% else %>
<%= project[:name] %>
<% end %>
</li>