diff --git a/lib/kmxgit_web/templates/repository/show_properties.html.heex b/lib/kmxgit_web/templates/repository/show_properties.html.heex
index 690b66d..83cb611 100644
--- a/lib/kmxgit_web/templates/repository/show_properties.html.heex
+++ b/lib/kmxgit_web/templates/repository/show_properties.html.heex
@@ -51,30 +51,30 @@
<% end %>
</td>
</tr>
- <%= if @git.tags do %>
+ <%= if @git.release do %>
<tr>
- <th><%= gettext("Tags") %></th>
+ <th><%= gettext("Release") %></th>
<td>
<ul>
- <%= for tag <- @git.tags |> Enum.reverse() do %>
+ <%= for file <- @git.release |> Enum.sort() do %>
<li>
- <%= link tag, to: Routes.repository_path(@conn, :show, Repository.owner_slug(@repo), Repository.splat(@repo, ["_tag", tag])) %>
+ <%= link to: file.url do %>
+ <%= file.name %>
+ <% end %>
</li>
<% end %>
</ul>
</td>
</tr>
<% end %>
- <%= if @git.release do %>
+ <%= if @git.tags do %>
<tr>
- <th><%= gettext("Release") %></th>
+ <th><%= gettext("Tags") %></th>
<td>
<ul>
- <%= for file <- @git.release |> Enum.sort() do %>
+ <%= for tag <- @git.tags |> Enum.reverse() do %>
<li>
- <%= link to: file.url do %>
- <%= file.name %>
- <% end %>
+ <%= link tag, to: Routes.repository_path(@conn, :show, Repository.owner_slug(@repo), Repository.splat(@repo, ["_tag", tag])) %>
</li>
<% end %>
</ul>