Commit ad98cab3bc4be070a7290b558fdb88c5db08f574
1 parent
a4955d53
Exists in
master
and in
79 other branches
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,6 +36,14 @@ | ||
36 | <%= link_to(_("#{block.owner.name} profile"), {:controller => 'profile', :action => "index", :profile => block.owner.identifier}) %> | 36 | <%= link_to(_("#{block.owner.name} profile"), {:controller => 'profile', :action => "index", :profile => block.owner.identifier}) %> |
37 | </td> | 37 | </td> |
38 | </tr> | 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 | <tr> | 47 | <tr> |
40 | <td> | 48 | <td> |
41 | <i> | 49 | <i> |