Note |
---|
This area is still work in progress. Your patience while under construction is appreciated. |
Section |
---|
Column |
---|
| Panel |
---|
Panel |
---|
title | About Software Support |
---|
| Include Page |
---|
| About Software Support |
---|
| About Software Support |
---|
|
|
Panel |
---|
titleborderColor | Latest Newswhite |
---|
| Content by Label |
---|
showLabels | false |
---|
max | 4 |
---|
spaces | SUP,GRIB,MAGP,METV,ECFLOW,MARSAD,ECAC |
---|
sort | creation |
---|
reverse | true |
---|
labels | news |
---|
|
Go to Latest news to access older news items
|
Column |
---|
|
|
Panel |
---|
|
Panel |
---|
title | Report a bug or issue |
---|
|
Please send an email to software.support@ecmwf.int or go to Issues if you have any suggestions for improvements or have discovered a bug with any ECMWF software package.
Panel |
---|
|
Section |
---|
| Wiki Markup |
---|
{jython}
from com.atlassian.confluence.search.v2 import ContentSearch
from com.atlassian.confluence.search.v2.query import LabelQuery
search = ContentSearch(LabelQuery("devel"),None,None,None)
results = searchManager.searchEntities(search)
out.print("<div class='recently-updated recently-updated-concise'><h4 class='sub-heading'>ECMWF Software Packages</h4><div class='results-container'><ul>")
for i in results:
out.print("<li class='update-item'><a href='%s%s'>%s</a> <span style='font-size:80%%; color:#666666'>%s</span></li>" % (contextPath,i.urlPath,i.displayTitle,i.bodyAsString))
out.print("</ul></div></div>")
{jython} |
|
|
spaces | SUP,GRIB,MAGP,METV,ECFLOW,MARSAD,ECAC |
---|
sort | creation |
---|
reverse | true |
---|
labels | news |
---|
|
Go to Latest news to access older news items |
| Column |
---|
width | 45% Panel |
---|
| Wiki Markup | {jython}
from com.atlassian.confluence.search.v2 import ContentSearch
from com.atlassian.confluence.search.v2.query import LabelQuery
from com.atlassian.confluence.security import Permission
# Careful!! GeneralUtil.getRelativeTime is deprecated
from com.atlassian.confluence.util import GeneralUtil
query = LabelQuery("releases")
search = ContentSearch(query,None,None,None)
results = searchManager.searchEntities(search)
alist = []
for i in results:
for a in i.attachments:
alist.append((a.lastModificationDate, a))
alist.sort()
alist.reverse()
out.print("<div class='recently-updated recently-updated-concise'><h4 class='sub-heading'>Latest Releases</h4><div class='results-container'><ul>")
for d,i in alist:
out.print("""
<li class='update-item'>
<div class='icon-container'><a href=\"%s%s\">%s (%s)</a></div>
<div class='update-item-desc'>from <a href='/wiki/display/%s'>%s</a></div>
<div class='update-item-date'>%s (%s)</div>
</li>""" % (contextPath, i.downloadPathWithoutVersion, i.fileName, i.niceFileSize, i.space.key, i.space.name, GeneralUtil.getRelativeTime(d), permissionManager.hasPermission(request.userPrincipal,Permission.VIEW,i)))
out.print("</ul></div></div>")
{jython} |
Please send an email to software.support@ecmwf.int or go to Issues if you have any suggestions for improvements or have discovered a bug with any ECMWF software package. |
|
---|
|