Wiki source code of All Extensions
Last modified by Vincent Massol on 2022/09/23 13:32
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
![]() |
6.11 | 1 | {{velocity}} |
| 2 | ## Saving the fact that we're listing all extensions in the Session so that when the user is viewing an extension | ||
| 3 | ## and clicks in the breadcrumb to come back to Extensions.WebHome, we can redirect him/her to the same page he | ||
| 4 | ## initially viewing. | ||
| 5 | #set ($discard = $request.getSession().setAttribute("exoExtensionHome", 'ExtensionCode.AllExtensions.WebHome')) | ||
| 6 | {{/velocity}} | ||
| 7 | |||
| |
6.5 | 8 | {{include document="ExtensionCode.ExtensionsLayout.WebHome"/}} |
| 9 | |||
| |
6.6 | 10 | (% class="homepage-content container clearfix" %) |
| 11 | ((( | ||
| 12 | (% class="row" %) | ||
| 13 | ((( | ||
| |
6.8 | 14 | (% class="col-xs-12 homepage" %) |
| |
6.6 | 15 | ((( |
| 16 | |||
| |
6.4 | 17 | = (%class="pull-left"%)All Extensions = |
| |
5.7 | 18 | |
| |
5.11 | 19 | (%class="clearfix"%)((())) |
| 20 | |||
| |
6.7 | 21 | {{velocity}} |
![]() |
7.1 | 22 | ##set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount", "rating"]) |
| 23 | #set($columns = ["name", "summary", "category", "authors", "doc.creationDate", "doc.date", "installedCount"]) | ||
| |
6.7 | 24 | #set($columnsProperties = { |
| 25 | "name" : { "type" : "text", "link" : "view" }, | ||
| 26 | "summary" : { "type" : "text" }, | ||
| 27 | "category" : { "type" : "list" }, | ||
| 28 | "authors" : {'html': true}, | ||
| 29 | "doc.creationDate" : { "type" : "date" }, | ||
| 30 | "doc.date" : { "type" : "date" }, | ||
| 31 | "rating" : { 'html' : true, 'filterable' : false, 'sortable' : false} | ||
| 32 | }) | ||
| 33 | #set($options = { | ||
| 34 | "tagCloud":true, | ||
| 35 | "className":"ExtensionCode.ExtensionClass", | ||
| 36 | "selectedColumn":"doc.creationDate", | ||
| 37 | "defaultOrder":"desc", | ||
| 38 | "translationPrefix" : "extension.repository.", | ||
![]() |
7.2 | 39 | "rowCount": 15 |
| |
6.7 | 40 | }) |
| 41 | #livetable("extensions" $columns $columnsProperties $options) | ||
| 42 | {{/velocity}} | ||
| |
6.6 | 43 | |
![]() |
9.1 | 44 | {{velocity}} |
| 45 | #if ("$!request.projects" == '1') | ||
![]() |
8.1 | 46 | = (%class="pull-left"%)All Projects = |
| 47 | |||
| 48 | (%class="clearfix"%)((())) | ||
| 49 | |||
| 50 | #set($columns = ["name", "summary", "authors", "doc.creationDate", "doc.date"]) | ||
| 51 | #set($columnsProperties = { | ||
| 52 | "name" : { "type" : "text", "link" : "view" }, | ||
| 53 | "summary" : { "type" : "text" }, | ||
| 54 | "authors" : {'html': true}, | ||
| 55 | "doc.creationDate" : { "type" : "date" }, | ||
| 56 | "doc.date" : { "type" : "date" } | ||
| 57 | }) | ||
| 58 | #set($options = { | ||
| 59 | "tagCloud":true, | ||
| 60 | "className":"ExtensionCode.ProjectClass", | ||
| 61 | "selectedColumn":"doc.creationDate", | ||
| 62 | "defaultOrder":"desc", | ||
| 63 | "translationPrefix" : "extension.repository.", | ||
| 64 | "rowCount": 15 | ||
| 65 | }) | ||
| 66 | #livetable("projects" $columns $columnsProperties $options) | ||
| 67 | #end | ||
| 68 | {{/velocity}} | ||
| |
6.6 | 69 | ))) |
| 70 | ))) | ||
| 71 | ))) |

