Skip to content

Commit

Permalink
Show links to website/repo if available
Browse files Browse the repository at this point in the history
Progress on #18
  • Loading branch information
niknetniko committed Aug 27, 2022
1 parent 558602e commit 7898c6b
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions lib/zout_web/templates/project/show.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,22 @@
<% end %>
</h1>
<div class="subtitle">
TODO
Hier komen ooit dingen zoals de beschrijving
Hier steken we ooit een TODO...
<ul style="padding-top: 1em">
<%= unless is_nil(@project.home) do %>
<li>
<span class="icon"><i class="fa fa-home"></i></span>
<%= link "Projectwebsite", to: @project.home %>
</li>
<% end %>
<%= unless is_nil(@project.source) do %>
<li>
<span class="icon"><i class="fa fa-code"></i></span>
<%= link "Broncode", to: @project.home %>
</li>
<% end %>
</ul>

</div>
<div class="card">
<div class="card-content">
Expand Down

0 comments on commit 7898c6b

Please sign in to comment.