Commit ad98cab3bc4be070a7290b558fdb88c5db08f574

Authored by Arthur Esposte
1 parent a4955d53

Add repository link in Software Information block

Showing 1 changed file with 8 additions and 0 deletions   Show diff stats
views/blocks/software_information.html.erb
... ... @@ -36,6 +36,14 @@
36 36 <%= link_to(_("#{block.owner.name} profile"), {:controller => 'profile', :action => "index", :profile => block.owner.identifier}) %>
37 37 </td>
38 38 </tr>
  39 + <% unless block.owner.software_info.repository_link.blank? %>
  40 + <tr>
  41 + <td colspan="2">
  42 + <%= _("Main repository: ") %>
  43 + <%= link_to block.owner.software_info.repository_link, block.owner.software_info.repository_link %>
  44 + </td>
  45 + </tr>
  46 + <% end %>
39 47 <tr>
40 48 <td>
41 49 <i>
... ...