zeus.ugent.be/layouts/partials/_privacy_link.erb

9 lines
250 B
Text
Raw Normal View History

<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>