 |
2.4 |
1 |
{{velocity}} |
|
|
2 |
## Main.WebHome -- the APICe landing page (2026-11-18): what APICe is, then one card per application, grouped (research, |
|
|
3 |
## teaching, people), each with how many records it shows, its name and what it holds. Counts as the homes count them: |
|
|
4 |
## published and visible publications, completed theses and course projects, ended internships, active users with a status. |
|
|
5 |
{{/velocity}} |
|
|
6 |
|
|
|
7 |
{{english}}The {{apice/}} space is a service meant to support the academic activities (research, teaching, projects, technology transfer) of scholars, research groups, and project teams – including students, PhD students, fellows, and researchers – of the [[Alma Mater Studiorum–Università di Bologna>>http://www.unibo.it||target="_blank"]], Italy. {{apice/}} is a cooperative space based on [[XWiki>>http://xwiki.org||target="_blank"]] offered by the [[Department of Computer Science and Engineering>>http://www.cse.unibo.it||target="_blank"]] (DISI).{{/english}}{{italiano}}Lo spazio {{apice/}} è un servizio inteso a supportare le attività accademiche (ricerca, didattica, progetti, trasferimento tecnologico) di singoli studiosi, gruppi di ricerca e progetti interdisciplinari – inclusi studenti, studenti di dottorato, collaboratori e ricercatori – dell'[[Alma Mater Studiorum–Università di Bologna>>http://www.unibo.it||target="_blank"]]. {{apice/}} è uno spazio cooperativo basato su [[XWiki>>http://xwiki.org||target="_blank"]] offerto dal [[Dipartimento di Informatica: Scienza e Ingegneria>>http://www.disi.unibo.it||target="_blank"]] (DISI).{{/italiano}} |
|
|
8 |
|
|
|
9 |
{{velocity}} |
|
|
10 |
{{html clean="false" wiki="false"}} |
|
|
11 |
#template('apice_vars.vm') |
|
|
12 |
#set( $mlIt = $xcontext.language == 'it' ) |
|
|
13 |
#macro( mlt $en $it )#if( $mlIt )$it#{else}$en#end#end |
|
|
14 |
#if( $xwiki.hasAccessLevel('edit') )#set( $mlPubAccess = '' )#else#set( $mlPubAccess = " and o.access <> 'hidden'" )#end |
|
|
15 |
#set( $mlThesisIn = $stringtool.join($showcaseThesisStatuses, "','") ) |
|
|
16 |
#set( $mlNoTpl = " and doc.fullName not like '%Template%'" ) |
|
|
17 |
## one count per application: the class, and what the home shows of it |
|
|
18 |
#macro( mlcount $cls $where )$services.query.xwql("select doc.fullName from Document doc, doc.object(${cls}) as o where 1=1${mlNoTpl}${where}").addFilter('unique').execute().size()#end |
|
|
19 |
#set( $mlGroups = [ |
|
|
20 |
{ 'h' : ['Research', 'Ricerca'], 'cards' : [ |
|
|
21 |
{ 'k' : 'publications', 'home' : 'Publications.WebHome', 'cls' : 'Publications.Class', 'w' : " and lower(o.status) = 'published'${mlPubAccess}", |
|
|
22 |
'd' : ['scientific, technical and teaching publications, for research, courses, projects and technology transfer', 'pubblicazioni scientifiche, tecniche e didattiche, per la ricerca, la didattica, i progetti e il trasferimento tecnologico'] }, |
|
|
23 |
{ 'k' : 'talks', 'home' : 'Talks.WebHome', 'cls' : 'Talks.Class', 'w' : '', |
|
|
24 |
'd' : ['scientific, technical and teaching talks, seminars and presentations', 'presentazioni, interventi e seminari di tipo scientifico, tecnico e didattico'] }, |
|
|
25 |
{ 'k' : 'events', 'home' : 'Events.WebHome', 'cls' : 'Events.Class', 'w' : '', |
|
|
26 |
'd' : ['events of scientific, teaching or industrial interest: conferences, workshops, schools, meetings, seminars', 'eventi di interesse scientifico, didattico o industriale: conferenze, workshop, scuole, incontri, seminari'] }, |
|
|
27 |
{ 'k' : 'journalsseries', 'home' : 'Journals.WebHome', 'cls' : 'Journals.Class', 'w' : '', |
|
|
28 |
'd' : ['the journals and book series hosting the publications', 'le riviste e le collane che ospitano le pubblicazioni'] }, |
|
|
29 |
{ 'k' : 'projects', 'home' : 'Projects.WebHome', 'cls' : 'Projects.Class', 'w' : '', |
|
|
30 |
'd' : ['scientific, teaching and industrial projects', 'progetti scientifici, didattici e industriali'] }, |
|
|
31 |
{ 'k' : 'patents', 'home' : 'Patents.WebHome', 'cls' : 'Patents.Class', 'w' : '', |
|
|
32 |
'd' : ['patents, typically linked to the scientific activity', "brevetti, tipicamente collegati all'attività scientifica"] } |
|
|
33 |
] }, |
|
|
34 |
{ 'h' : ['Teaching', 'Didattica'], 'cards' : [ |
|
|
35 |
{ 'k' : 'courses', 'home' : 'Courses.WebHome', 'cls' : 'Courses.Class', 'w' : '', |
|
|
36 |
'd' : ['courses, mostly (but not only) at university level, with their slides, lectures and material', 'corsi, principalmente (ma non solo) di livello universitario, con lucidi, lezioni e materiale'] }, |
|
|
37 |
{ 'k' : 'courseprojects', 'home' : 'Courseprojects.WebHome', 'cls' : 'Courseprojects.Class', 'w' : " and o.status = 'completed'", |
|
|
38 |
'd' : ['the projects students carry out within the courses', "i progetti svolti dagli studenti all'interno dei corsi"] }, |
|
|
39 |
{ 'k' : 'theses', 'home' : 'Theses.WebHome', 'cls' : 'Theses.Class', 'w' : " and o.status = 'completed'", |
|
|
40 |
'd' : ['bachelor, master and PhD theses', 'tesi di laurea, di laurea magistrale e di dottorato'] }, |
|
|
41 |
{ 'k' : 'internships', 'home' : 'Internships.WebHome', 'cls' : 'Internships.Class', 'w' : " and o.endDate is not null and o.endDate <= current_date", |
|
|
42 |
'd' : ['university internships and their documentation', 'tirocini universitari e la loro documentazione'] } |
|
|
43 |
] }, |
|
|
44 |
{ 'h' : ['People', 'Persone'], 'home' : 'People.WebHome', 'cards' : [ |
|
|
45 |
{ 'k' : 'users', 'home' : 'Users.WebHome', 'cls' : 'XWiki.XWikiUsers', 'w' : " and o.status <> '' and (o.active is null or o.active <> 0)", |
|
|
46 |
'd' : ['people with an APICe account: members of the group, students, collaborators, guests', 'persone con un account APICe: membri del gruppo, studenti, collaboratori, ospiti'] }, |
|
|
47 |
{ 'k' : 'researchers', 'home' : 'Researchers.WebHome', 'cls' : 'Researchers.Class', 'w' : " and (doc.fullName like 'Orcid.%' or doc.fullName like 'Noorcid.%')", |
|
|
48 |
'd' : ['people without an account who appear in APICe records, identified by ORCID or another research identifier', "persone senza account che compaiono nei record di APICe, identificate dall'ORCID o da un altro identificativo di ricerca"] } |
|
|
49 |
] } |
|
|
50 |
] ) |
|
|
51 |
<style> |
|
|
52 |
.ml-h { margin: 1.4em 0 .5em 0; font-size: 1.15em; font-weight: 600; color: rgb(60,120,112); } |
|
|
53 |
.ml-h a { color: inherit !important; text-decoration: none !important; } |
|
|
54 |
.ml-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(17em, 1fr)); gap: .8em; } |
|
|
55 |
a.ml-card { display: block; border: 1px solid rgb(214,232,229); border-radius: 8px; padding: .8em 1em; text-decoration: none !important; color: inherit !important; } |
|
|
56 |
a.ml-card:hover { border-color: rgb(86,164,154); background: rgb(240,247,246); } |
|
|
57 |
.ml-card .ml-n { font-size: 1.6em; font-weight: 600; color: rgb(60,120,112); line-height: 1.1; } |
|
|
58 |
.ml-card .ml-t { font-size: 1.15em; font-weight: 600; margin: .1em 0 .25em 0; color: rgb(187,46,41); } |
|
|
59 |
.ml-card .ml-d { font-size: .88em; color: rgb(100,100,100); } |
|
|
60 |
</style> |
|
|
61 |
#foreach( $g in $mlGroups ) |
|
|
62 |
<div class="ml-h">#if( $g.home )<a href="$escapetool.xml($xwiki.getURL($g.home))">#end#if( $mlIt )$g.h[1]#{else}$g.h[0]#end#if( $g.home )</a>#end</div> |
|
|
63 |
<div class="ml-cards"> |
|
|
64 |
#foreach( $c in $g.cards )<a class="ml-card" href="$escapetool.xml($xwiki.getURL($c.home))"><div class="ml-n">#mlcount($c.cls $c.w)</div><div class="ml-t">$escapetool.xml($services.localization.render($c.k))</div><div class="ml-d">#if( $mlIt )$escapetool.xml($c.d[1])#{else}$escapetool.xml($c.d[0])#end</div></a> |
|
|
65 |
#end |
|
|
66 |
</div> |
|
|
67 |
#end |
|
|
68 |
{{/html}} |
|
|
69 |
{{/velocity}} |
|
|
70 |
|