Commit 97a1b1f945480e3428cb350b7e6a689c028bddb2
1 parent
23d69ce5
Exists in
master
and in
5 other branches
Add join/leave button to Software Information Block
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
views/blocks/software_information.html.erb
| @@ -34,12 +34,15 @@ | @@ -34,12 +34,15 @@ | ||
| 34 | </td> | 34 | </td> |
| 35 | </tr> | 35 | </tr> |
| 36 | <tr> | 36 | <tr> |
| 37 | - <td colspan="2"> | 37 | + <td> |
| 38 | <i> | 38 | <i> |
| 39 | <%= _("Licensed by ") %> | 39 | <%= _("Licensed by ") %> |
| 40 | <%= link_to block.owner.software_info.license_info.version, block.owner.software_info.license_info.link %> | 40 | <%= link_to block.owner.software_info.license_info.version, block.owner.software_info.license_info.link %> |
| 41 | </i> | 41 | </i> |
| 42 | </td> | 42 | </td> |
| 43 | + <td align="right"> | ||
| 44 | + <%= render "blocks/profile_info_actions/join_leave_community" %> | ||
| 45 | + </td> | ||
| 43 | </tr> | 46 | </tr> |
| 44 | </table> | 47 | </table> |
| 45 | <% end %> | 48 | <% end %> |