blob: 0b409569e7ef7a21f922a6933b04b8106e05e105 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{
latex,
data,
lib,
...
}:
let
service = data.experience.service;
in
{
title = "Academic service";
priority = 2;
content = [
(
with service.reviews;
let
conferenceList = lib.concatMapAttrsStringSep "; " (
name: years: "${name} ${lib.concatMapStringsSep ", " builtins.toString years}"
) conferences.names;
in
"${builtins.toString conferences.number} conference papers reviews: ${conferenceList}. \\\\"
)
(
with latex;
[ "I was a teaching assistant for the following lectures:\\\\" ]
++ for (sort.reverse.byFun (x: x.year) service.teaching) (
item:
with item;
moderncv.cventry (builtins.toString year) name level institution (builtins.toString hours + "h") ""
)
)
];
}
|