Commit 2d84dc54d1ef6c86ab45a5d355d8502e715a6e94
1 parent
1c9b64be
Exists in
master
and in
5 other branches
Add footer to block of software categories
Showing
2 changed files
with
5 additions
and
1 deletions
Show diff stats
lib/categories_software_block.rb
@@ -9,7 +9,7 @@ class CategoriesSoftwareBlock < Block | @@ -9,7 +9,7 @@ class CategoriesSoftwareBlock < Block | ||
9 | end | 9 | end |
10 | 10 | ||
11 | def help | 11 | def help |
12 | - _('This block displays the categories and the amount of softwares for each categorie.') | 12 | + _('This block displays the categories and the amount of softwares for each category.') |
13 | end | 13 | end |
14 | 14 | ||
15 | def content(args={}) | 15 | def content(args={}) |
views/blocks/categories_software.html.erb
@@ -19,4 +19,8 @@ | @@ -19,4 +19,8 @@ | ||
19 | <% end %> | 19 | <% end %> |
20 | </ul> | 20 | </ul> |
21 | </div> | 21 | </div> |
22 | + | ||
23 | + <div id="footer-mais-software"> | ||
24 | + <%= link_to _("Access the complete catalog"), {controller: "search", action: "software_infos"}%> | ||
25 | + </div> | ||
22 | </div> | 26 | </div> |
23 | \ No newline at end of file | 27 | \ No newline at end of file |