View | Details | Raw Unified | Return to bug 32333
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc (+4 lines)
Lines 252-257 Link Here
252
    </script>
252
    </script>
253
[% END %]
253
[% END %]
254
254
255
[% IF Koha.Preference( 'IdRef' ) == 1 %]
256
    [% Asset.js("js/idref.js") | $raw %]
257
[% END %]
258
255
[% IF ( BakerTaylorEnabled ) %]
259
[% IF ( BakerTaylorEnabled ) %]
256
    [% Asset.js("js/bakertaylorimages.js") | $raw %]
260
    [% Asset.js("js/bakertaylorimages.js") | $raw %]
257
    <script>
261
    <script>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (+4 lines)
Lines 1849-1854 Link Here
1849
                    });
1849
                    });
1850
            [% END %]
1850
            [% END %]
1851
1851
1852
            [% IF Koha.Preference('IdRef') == 1 %]
1853
                KOHA.idref.init();
1854
            [% END %]
1855
1852
            [% IF ( OPACShelfBrowser ) %]
1856
            [% IF ( OPACShelfBrowser ) %]
1853
                // Focus on shelf browser if present
1857
                // Focus on shelf browser if present
1854
                var shelfbrowser = $("#shelfbrowser");
1858
                var shelfbrowser = $("#shelfbrowser");
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-idref.tt (-76 lines)
Lines 1-76 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Your search IDREF for ppn [% unimarc3 | html %] &rsaquo; [% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
3
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
4
[% INCLUDE 'doc-head-close.inc' %]
5
[% BLOCK cssinclude %]
6
  <style>
7
    #idref h2.role {
8
        background-color: #DDDEEE;
9
        cursor: pointer;
10
    }
11
    #idref table {
12
        margin: 0;
13
    }
14
  </style>
15
[% END %]
16
17
</head>
18
[% INCLUDE 'bodytag.inc' bodyid='idref' bodyclass='scrollto' %]
19
<div class="main">
20
  [% IF error %]
21
    This ppn is not found on the idref service.
22
  [% ELSE %]
23
    [% FOREACH role IN content %]
24
      <div>
25
        <h1 class="role" title="Click to expand this role">[% role.role_name | html %] ([% role.count | html %])</h1>
26
          <div class="docs">
27
            <table>
28
                <caption class="sr-only">[% role.role_name | html %]</caption>
29
              <thead>
30
                <tr>
31
                  <th>Citation</th>
32
                  <th>Koha</th>
33
                  <th>Sudoc</th>
34
                </tr>
35
              </thead>
36
              <tbody>
37
                [% FOREACH doc IN role.docs %]
38
                  <tr>
39
                    <td>[% doc.citation | html %]</td>
40
                    <td><a href="/cgi-bin/koha/opac-search.pl?q=ident:[% doc.ppn | uri %]" target="_blank">Koha</a></td>
41
                    <td><a href="http://www.sudoc.fr/[% doc.ppn | uri %]" target="_blank" rel="noreferrer">Sudoc</a></td>
42
                  </tr>
43
                [% END %]
44
              </tbody>
45
            </table>
46
          </div>
47
      </div>
48
    [% END %]
49
  [% END %]
50
</div>
51
[% BLOCK jsinclude %]
52
[% INCLUDE 'datatables.inc' %]
53
<script>
54
  $(document).ready(function (){
55
      $("table").dataTable($.extend(true, {}, dataTablesDefaults, {
56
          'filter': false,
57
          'columnDefs': [
58
              { 'targets': [-1, -2], 'sortable': false }
59
          ],
60
      }));
61
62
      $(".role").click(function(){
63
          var docs_node = $(this).parent().find("div.docs");
64
          if ( $(docs_node).is(":visible") ) {
65
              $(".docs").hide();
66
          } else {
67
              $(".docs").hide();
68
              docs_node.show();
69
          }
70
      });
71
      $(".docs").hide();
72
  });
73
</script>
74
[% END %]
75
76
[% INCLUDE 'opac-bottom.inc' is_popup=1%]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/xslt/UNIMARCslimUtils.xsl (-6 / +12 lines)
Lines 523-537 Link Here
523
            <xsl:if test="$IdRef = '1'">
523
            <xsl:if test="$IdRef = '1'">
524
              <xsl:if test="marc:subfield[@code=3]">
524
              <xsl:if test="marc:subfield[@code=3]">
525
                <xsl:text> </xsl:text>
525
                <xsl:text> </xsl:text>
526
                <a>
526
                <a class="idref-link" style="cursor: pointer;">
527
                  <xsl:attribute name="href">
527
                  <xsl:attribute name="ppn">
528
                    <xsl:text>/cgi-bin/koha/opac-idref.pl?unimarc3=</xsl:text>
529
                    <xsl:value-of select="str:encode-uri(marc:subfield[@code=3], true())"/>
528
                    <xsl:value-of select="str:encode-uri(marc:subfield[@code=3], true())"/>
530
                  </xsl:attribute>
529
                  </xsl:attribute>
531
                  <xsl:attribute name="title">IdRef</xsl:attribute>
530
                  <xsl:attribute name="title">
532
                  <xsl:attribute name="rel">gb_page_center[600,500]</xsl:attribute>
531
                    <xsl:text>See publications in IdRef</xsl:text>
533
                  <xsl:text>Idref</xsl:text>
532
                  </xsl:attribute>
533
                  <img src="/opac-tmpl/bootstrap/images/idref-short.svg" width="5%" />
534
                </a>
534
                </a>
535
                <div>
536
                  <xsl:attribute name="id">
537
                    <xsl:text>idref-dialog-</xsl:text>
538
                    <xsl:value-of select="str:encode-uri(marc:subfield[@code=3], true())" />
539
                  </xsl:attribute>
540
                </div>
535
              </xsl:if>
541
              </xsl:if>
536
            </xsl:if>
542
            </xsl:if>
537
            <xsl:if test="not(position() = last())">
543
            <xsl:if test="not(position() = last())">
(-)a/koha-tmpl/opac-tmpl/bootstrap/images/idref-short.svg (+90 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
   version="1.1"
13
   id="svg4485"
14
   xml:space="preserve"
15
   width="352.78189"
16
   height="100"
17
   viewBox="0 0 352.78189 99.999998"
18
   sodipodi:docname="logo-idref.svg"
19
   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
20
     id="metadata4491"><rdf:RDF><cc:Work
21
         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
22
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
23
     id="defs4489" /><sodipodi:namedview
24
     pagecolor="#ffffff"
25
     bordercolor="#666666"
26
     borderopacity="1"
27
     objecttolerance="10"
28
     gridtolerance="10"
29
     guidetolerance="10"
30
     inkscape:pageopacity="0"
31
     inkscape:pageshadow="2"
32
     inkscape:window-width="1600"
33
     inkscape:window-height="877"
34
     id="namedview4487"
35
     showgrid="false"
36
     inkscape:zoom="1.2523012"
37
     inkscape:cx="201.11259"
38
     inkscape:cy="5.321977"
39
     inkscape:window-x="-8"
40
     inkscape:window-y="-8"
41
     inkscape:window-maximized="1"
42
     inkscape:current-layer="g4493"
43
     showguides="true"
44
     inkscape:guide-bbox="true"
45
     inkscape:snap-to-guides="false"
46
     inkscape:snap-grids="false"
47
     inkscape:object-nodes="false"
48
     fit-margin-top="0"
49
     fit-margin-left="0"
50
     fit-margin-right="0"
51
     fit-margin-bottom="0" /><g
52
     id="g4493"
53
     inkscape:groupmode="layer"
54
     inkscape:label="idref-vectoriel"
55
     transform="matrix(1.3333333,0,0,-1.3333333,-195.93214,615.58933)">
56
   <path
57
   d="m 177.73656,436.84503 h -18.18889 v 24.0574 h 18.18889 z"
58
   style="fill:#2c3792;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.61508262"
59
   id="path4497-5-1-6-9-1-5"
60
   inkscape:connector-curvature="0"
61
   inkscape:export-filename="C:\Users\arnaud\Documents\logos\triple store\logo-idref-blanc-361x76.png"
62
   inkscape:export-xdpi="150"
63
   inkscape:export-ydpi="150" />
64
   <path
65
   d="M 177.68307,387.17725 H 159.6164 v 24.14683 h 18.06667 z"
66
   style="fill:#2c3792;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.61415285"
67
   id="path4497-5-1-6-6-3-8-7"
68
   inkscape:connector-curvature="0"
69
   inkscape:export-filename="C:\Users\arnaud\Documents\logos\triple store\logo-idref-blanc-361x76.png"
70
   inkscape:export-xdpi="150"
71
   inkscape:export-ydpi="150" />
72
   <path
73
   style="fill:#2c3792;fill-opacity:1;stroke:none;stroke-width:1.60573208px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
74
   d="m 192.10386,436.76053 -0.0294,24.93148 44.70657,-0.14772 c 0,0 34.56676,-0.78356 34.53088,-37.11613 -0.0351,-35.62379 -33.19517,-37.73615 -33.19517,-37.73615 l -45.97053,0.0152 -0.11644,24.44844 19.24202,-0.0491 0.0119,-5.11486 24.28993,-0.15848 c 0,0 16.15001,2.32384 16.57205,18.20005 -0.26549,17.25517 -16.72169,18.10516 -16.72169,18.10516 l -24.18061,-0.15197 0.0215,-5.16156 z"
75
   id="path5476-8-6-6"
76
   inkscape:connector-curvature="0"
77
   sodipodi:nodetypes="cccsccccccccccc"
78
   inkscape:export-filename="C:\Users\arnaud\Documents\logos\triple store\logo-idref-blanc-361x76.png"
79
   inkscape:export-xdpi="150"
80
   inkscape:export-ydpi="150" /><rect
81
   style="opacity:1;fill:#da1259;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4.46608543;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.46666667"
82
   id="rect6433-1"
83
   width="76.93605"
84
   height="14.257346"
85
   x="146.94911"
86
   y="-431.19016"
87
   ry="7.1286731"
88
   transform="scale(1,-1)" />
89
   </g>
90
   </svg>
(-)a/koha-tmpl/opac-tmpl/bootstrap/images/idref.svg (+403 lines)
Line 0 Link Here
1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!-- Created with Inkscape (http://www.inkscape.org/) -->
3
4
<svg
5
   xmlns:dc="http://purl.org/dc/elements/1.1/"
6
   xmlns:cc="http://creativecommons.org/ns#"
7
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
   xmlns:svg="http://www.w3.org/2000/svg"
9
   xmlns="http://www.w3.org/2000/svg"
10
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
   version="1.1"
13
   id="svg4485"
14
   xml:space="preserve"
15
   width="352.78189"
16
   height="100"
17
   viewBox="0 0 352.78189 99.999998"
18
   sodipodi:docname="logo-idref.svg"
19
   inkscape:version="0.92.4 (5da689c313, 2019-01-14)"><metadata
20
     id="metadata4491"><rdf:RDF><cc:Work
21
         rdf:about=""><dc:format>image/svg+xml</dc:format><dc:type
22
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" /><dc:title></dc:title></cc:Work></rdf:RDF></metadata><defs
23
     id="defs4489" /><sodipodi:namedview
24
     pagecolor="#ffffff"
25
     bordercolor="#666666"
26
     borderopacity="1"
27
     objecttolerance="10"
28
     gridtolerance="10"
29
     guidetolerance="10"
30
     inkscape:pageopacity="0"
31
     inkscape:pageshadow="2"
32
     inkscape:window-width="1600"
33
     inkscape:window-height="877"
34
     id="namedview4487"
35
     showgrid="false"
36
     inkscape:zoom="1.2523012"
37
     inkscape:cx="201.11259"
38
     inkscape:cy="5.321977"
39
     inkscape:window-x="-8"
40
     inkscape:window-y="-8"
41
     inkscape:window-maximized="1"
42
     inkscape:current-layer="g4493"
43
     showguides="true"
44
     inkscape:guide-bbox="true"
45
     inkscape:snap-to-guides="false"
46
     inkscape:snap-grids="false"
47
     inkscape:object-nodes="false"
48
     fit-margin-top="0"
49
     fit-margin-left="0"
50
     fit-margin-right="0"
51
     fit-margin-bottom="0" /><g
52
     id="g4493"
53
     inkscape:groupmode="layer"
54
     inkscape:label="idref-vectoriel"
55
     transform="matrix(1.3333333,0,0,-1.3333333,-195.93214,615.58933)"><g
56
   id="g4521"
57
   transform="matrix(1.0769025,0,0,1.0769025,341.26075,441.54769)"><path
58
     d="m 0,0 c 0.971,0 2.058,0.038 3.26,0.117 1.203,0.077 2.338,0.35 3.405,0.817 1.067,0.467 1.959,1.198 2.679,2.191 0.717,0.993 1.075,2.404 1.075,4.234 0,1.713 -0.282,3.056 -0.844,4.031 C 9.013,12.363 8.305,13.083 7.45,13.551 6.597,14.018 5.655,14.31 4.628,14.427 3.6,14.543 2.64,14.602 1.747,14.602 H -6.519 V 0 Z M -10.549,17.73 H 2.126 c 1.556,0 2.881,-0.097 3.972,-0.291 1.089,-0.195 2.005,-0.438 2.744,-0.73 0.74,-0.292 1.334,-0.613 1.782,-0.964 0.447,-0.35 0.847,-0.682 1.197,-0.993 0.273,-0.273 0.575,-0.604 0.906,-0.993 0.33,-0.39 0.642,-0.886 0.934,-1.489 0.292,-0.605 0.535,-1.325 0.731,-2.161 0.194,-0.838 0.292,-1.82 0.292,-2.95 0,-1.168 -0.157,-2.376 -0.467,-3.621 C 13.904,2.291 13.349,1.152 12.552,0.121 11.753,-0.912 10.673,-1.768 9.311,-2.449 7.946,-3.131 6.215,-3.51 4.111,-3.588 L 15.512,-19.407 H 10.604 L 0.198,-3.88 h -6.717 v -15.527 h -4.03 z"
59
     style="fill:#da1259;fill-opacity:1;fill-rule:nonzero;stroke:none"
60
     id="path4523"
61
     inkscape:connector-curvature="0" /></g><g
62
   id="g4525"
63
   transform="matrix(1.0769025,0,0,1.0769025,335.11476,442.42106)"><path
64
     d="m 0,0 h 5.707 c 0.961,0 2.04,0.039 3.207,0.115 1.101,0.071 2.155,0.324 3.134,0.751 0.938,0.412 1.706,1.041 2.346,1.924 0.61,0.847 0.921,2.111 0.921,3.758 0,1.559 -0.248,2.779 -0.736,3.625 -0.484,0.838 -1.095,1.462 -1.811,1.855 -0.757,0.414 -1.608,0.677 -2.525,0.782 -0.995,0.113 -1.934,0.17 -2.789,0.17 H 0 Z m 5.707,-1.622 h -7.33 v 16.224 h 9.077 c 0.916,0 1.916,-0.06 2.973,-0.18 1.128,-0.129 2.177,-0.455 3.12,-0.97 0.981,-0.538 1.802,-1.368 2.437,-2.467 0.633,-1.097 0.953,-2.589 0.953,-4.437 0,-1.995 -0.414,-3.579 -1.229,-4.71 C 14.905,0.73 13.893,-0.096 12.698,-0.62 11.546,-1.124 10.309,-1.421 9.02,-1.504 7.817,-1.583 6.702,-1.622 5.707,-1.622 m 11.038,-17.783 h 2.889 l -11.36,15.76 1.514,0.057 c 1.977,0.073 3.613,0.427 4.866,1.053 1.247,0.623 2.243,1.411 2.963,2.341 0.726,0.938 1.236,1.987 1.52,3.118 0.294,1.176 0.442,2.329 0.442,3.424 0,1.061 -0.091,1.992 -0.27,2.766 -0.181,0.775 -0.407,1.445 -0.671,1.991 -0.261,0.538 -0.536,0.981 -0.823,1.319 -0.313,0.368 -0.601,0.684 -0.86,0.943 -0.305,0.269 -0.692,0.59 -1.125,0.929 -0.385,0.301 -0.915,0.586 -1.579,0.847 -0.681,0.269 -1.553,0.501 -2.59,0.687 -1.039,0.185 -2.327,0.278 -3.828,0.278 H -4.03 v -35.513 h 2.407 V -3.88 h 7.96 z M -5.653,-21.028 V 17.731 H 7.833 c 1.596,0 2.98,-0.102 4.113,-0.305 1.145,-0.205 2.121,-0.466 2.902,-0.774 0.807,-0.319 1.474,-0.681 1.982,-1.079 0.463,-0.363 0.876,-0.704 1.237,-1.026 0.32,-0.318 0.639,-0.668 0.985,-1.073 0.375,-0.443 0.726,-1.002 1.047,-1.662 0.316,-0.655 0.582,-1.439 0.789,-2.33 C 21.097,8.587 21.202,7.533 21.202,6.348 21.202,5.12 21.036,3.835 20.71,2.53 20.372,1.18 19.764,-0.07 18.9,-1.187 18.03,-2.311 16.847,-3.253 15.38,-3.986 14.256,-4.547 12.896,-4.92 11.324,-5.101 L 22.803,-21.028 H 15.88 L 5.472,-5.502 H 0 v -15.526 z"
65
     style="fill:#da1259;fill-opacity:1;fill-rule:nonzero;stroke:none"
66
     id="path4527"
67
     inkscape:connector-curvature="0" /></g><g
68
   id="g4529"
69
   transform="matrix(1.0769025,0,0,1.0769025,382.42912,439.64416)"><path
70
     d="M 0,0 V 1.052 C 0,1.479 -0.039,1.947 -0.117,2.454 -0.196,2.959 -0.312,3.485 -0.468,4.031 -0.624,4.575 -0.857,5.101 -1.169,5.607 -1.753,6.58 -2.512,7.272 -3.446,7.681 -4.382,8.09 -5.296,8.294 -6.191,8.294 -7.866,8.294 -9.366,7.661 -10.69,6.396 -12.014,5.13 -12.812,2.998 -13.084,0 Z m -13.201,-2.803 c 0,-1.285 0.088,-2.61 0.263,-3.972 0.176,-1.364 0.535,-2.61 1.081,-3.739 0.544,-1.129 1.303,-2.054 2.278,-2.774 0.974,-0.721 2.258,-1.081 3.854,-1.081 1.324,0 2.483,0.264 3.476,0.789 0.993,0.526 1.897,1.294 2.716,2.308 l 2.686,-2.103 c -1.247,-1.559 -2.559,-2.659 -3.942,-3.299 -1.383,-0.645 -3.066,-0.965 -5.053,-0.965 -1.869,0 -3.505,0.398 -4.906,1.197 -1.401,0.798 -2.57,1.849 -3.504,3.154 -0.935,1.305 -1.645,2.774 -2.132,4.411 -0.488,1.634 -0.73,3.289 -0.73,4.964 0,1.713 0.146,3.476 0.438,5.286 0.292,1.811 0.983,3.592 2.073,5.344 1.129,1.79 2.443,3.037 3.943,3.739 1.498,0.701 3.046,1.05 4.643,1.05 2.142,0 3.856,-0.429 5.14,-1.284 C 0.408,9.365 1.401,8.254 2.102,6.892 2.804,5.529 3.271,3.991 3.504,2.278 3.738,0.564 3.894,-1.13 3.972,-2.803 Z"
71
     style="fill:#da1259;fill-opacity:1;fill-rule:nonzero;stroke:none"
72
     id="path4531"
73
     inkscape:connector-curvature="0" /></g><g
74
   id="g4533"
75
   transform="matrix(1.0769025,0,0,1.0769025,369.31697,440.51752)"><path
76
     d="m 0,0 h 11.364 v 0.241 c 0,0.385 -0.036,0.815 -0.107,1.279 C 11.183,1.992 11.071,2.49 10.928,2.998 10.793,3.468 10.587,3.93 10.316,4.371 9.811,5.212 9.188,5.784 8.404,6.127 7.577,6.489 6.764,6.672 5.984,6.672 4.513,6.672 3.226,6.125 2.047,4.999 1.003,4 0.315,2.321 0,0 M 12.986,-1.623 H -1.796 l 0.08,0.885 c 0.288,3.185 1.177,5.509 2.641,6.909 1.475,1.409 3.178,2.123 5.059,2.123 1.004,0 2.037,-0.229 3.07,-0.681 1.088,-0.475 1.978,-1.283 2.648,-2.399 0.345,-0.559 0.61,-1.157 0.785,-1.771 0.164,-0.572 0.288,-1.135 0.374,-1.675 0.084,-0.547 0.125,-1.06 0.125,-1.527 z M 6.159,9.885 C 4.688,9.885 3.242,9.557 1.86,8.91 0.511,8.279 -0.7,7.124 -1.741,5.473 -2.767,3.826 -3.426,2.128 -3.699,0.433 c -0.284,-1.762 -0.429,-3.496 -0.429,-5.157 0,-1.589 0.235,-3.182 0.696,-4.733 0.459,-1.54 1.136,-2.942 2.016,-4.17 0.86,-1.202 1.953,-2.185 3.246,-2.921 1.27,-0.724 2.785,-1.09 4.504,-1.09 1.858,0 3.443,0.297 4.711,0.887 1.071,0.498 2.118,1.318 3.122,2.444 l -1.417,1.109 c -0.748,-0.805 -1.567,-1.446 -2.444,-1.91 -1.107,-0.586 -2.403,-0.883 -3.855,-0.883 -1.767,0 -3.227,0.417 -4.338,1.241 -1.075,0.794 -1.925,1.828 -2.525,3.073 -0.579,1.198 -0.969,2.54 -1.154,3.987 -0.179,1.393 -0.27,2.764 -0.27,4.076 v 0.811 H 15.29 c -0.085,1.375 -0.225,2.771 -0.415,4.16 C 14.656,2.97 14.212,4.435 13.556,5.71 12.922,6.942 12.012,7.961 10.85,8.736 9.704,9.498 8.126,9.885 6.159,9.885 m 0.175,-29.146 c -2.004,0 -3.789,0.438 -5.308,1.303 -1.497,0.854 -2.763,1.992 -3.761,3.387 -0.985,1.374 -1.742,2.939 -2.251,4.651 -0.506,1.702 -0.764,3.45 -0.764,5.196 0,1.747 0.151,3.569 0.449,5.414 0.307,1.91 1.043,3.809 2.187,5.644 1.211,1.922 2.652,3.282 4.287,4.045 1.598,0.748 3.276,1.128 4.986,1.128 2.293,0 4.173,-0.478 5.59,-1.421 1.396,-0.931 2.488,-2.153 3.251,-3.634 0.739,-1.44 1.239,-3.08 1.483,-4.875 0.236,-1.724 0.396,-3.458 0.474,-5.154 l 0.04,-0.848 H -0.202 c 0.029,-0.994 0.11,-2.019 0.245,-3.058 0.163,-1.273 0.502,-2.447 1.006,-3.489 0.484,-1.005 1.168,-1.837 2.03,-2.475 0.825,-0.612 1.96,-0.921 3.372,-0.921 1.185,0 2.227,0.233 3.096,0.694 0.891,0.472 1.72,1.178 2.464,2.1 l 0.502,0.621 3.962,-3.1 -0.512,-0.64 c -1.319,-1.649 -2.744,-2.835 -4.234,-3.529 -1.485,-0.69 -3.299,-1.039 -5.395,-1.039"
77
     style="fill:#da1259;fill-opacity:1;fill-rule:nonzero;stroke:none"
78
     id="path4535"
79
     inkscape:connector-curvature="0" /></g><g
80
   id="g4537"
81
   transform="matrix(1.0769025,0,0,1.0769025,410.66314,455.98701)"><path
82
     d="M 0,0 C -0.507,0.312 -1.08,0.564 -1.724,0.76 -2.365,0.954 -2.979,1.052 -3.563,1.052 -4.459,1.052 -5.18,0.886 -5.725,0.556 -6.269,0.225 -6.687,-0.214 -6.979,-0.759 -7.272,-1.305 -7.467,-1.927 -7.563,-2.627 -7.662,-3.329 -7.71,-4.05 -7.71,-4.789 v -5.082 h 6.775 v -2.979 h -6.658 l 0.031,-19.965 h -3.796 l -0.032,19.965 h -5.723 v 2.979 h 5.723 v 5.199 c 0,0.505 0.019,1.099 0.058,1.781 0.038,0.681 0.143,1.373 0.315,2.073 0.173,0.702 0.46,1.382 0.863,2.046 0.402,0.661 0.969,1.264 1.7,1.809 0.729,0.546 1.444,0.896 2.146,1.052 0.701,0.155 1.401,0.233 2.103,0.233 0.467,0 0.865,-0.009 1.197,-0.029 0.33,-0.02 0.643,-0.058 0.934,-0.116 C -1.782,4.118 -1.48,4.04 -1.168,3.943 -0.857,3.845 -0.468,3.738 0,3.622 Z"
83
     style="fill:#da1259;fill-opacity:1;fill-rule:nonzero;stroke:none"
84
     id="path4539"
85
     inkscape:connector-curvature="0" /></g><g
86
   id="g4541"
87
   transform="matrix(1.0769025,0,0,1.0769025,399.303,421.52344)"><path
88
     d="M 0,0 H 2.174 L 2.143,19.964 h 6.66 V 21.32 H 2.028 v 5.893 c 0,0.782 0.051,1.547 0.154,2.274 0.109,0.791 0.336,1.512 0.672,2.14 0.36,0.671 0.881,1.218 1.548,1.624 1.101,0.666 2.805,0.847 4.658,0.288 0.234,-0.071 0.459,-0.149 0.678,-0.235 v 1.693 C 9.514,35.058 9.313,35.116 9.138,35.171 8.855,35.259 8.581,35.33 8.315,35.384 8.068,35.434 7.79,35.468 7.493,35.486 6.721,35.532 5.511,35.542 4.416,35.299 3.831,35.169 3.213,34.863 2.58,34.39 1.936,33.908 1.433,33.376 1.087,32.808 0.729,32.22 0.472,31.608 0.319,30.991 0.16,30.346 0.062,29.698 0.026,29.066 -0.011,28.401 -0.029,27.823 -0.029,27.33 v -6.01 h -5.724 v -1.356 h 5.722 z M 3.8,-1.623 H -1.619 L -1.65,18.342 h -5.726 v 4.6 h 5.724 v 4.388 c 0,0.519 0.019,1.128 0.059,1.828 0.041,0.731 0.155,1.479 0.338,2.221 0.191,0.777 0.514,1.541 0.956,2.271 0.454,0.747 1.096,1.433 1.907,2.04 0.82,0.611 1.646,1.012 2.457,1.193 0.757,0.168 1.525,0.253 2.279,0.253 0.485,0 0.899,-0.01 1.246,-0.031 0.372,-0.022 0.723,-0.066 1.046,-0.13 0.316,-0.064 0.644,-0.149 0.985,-0.255 0.301,-0.094 0.675,-0.196 1.124,-0.308 l 0.614,-0.154 v -5.706 l -1.235,0.76 C 9.68,31.584 9.163,31.812 8.59,31.986 7.19,32.409 5.94,32.286 5.245,31.864 4.822,31.607 4.509,31.28 4.284,30.861 4.039,30.401 3.871,29.865 3.788,29.264 3.697,28.609 3.65,27.92 3.65,27.213 v -4.271 h 6.776 v -4.6 H 3.769 Z"
89
     style="fill:#da1259;fill-opacity:1;fill-rule:nonzero;stroke:none"
90
     id="path4543"
91
     inkscape:connector-curvature="0" /></g><g
92
   id="g4545"
93
   transform="matrix(1.0769025,0,0,1.0769025,299.59066,431.4696)"><path
94
     d="m 0,0 c 0,-2.341 0.649,-4.39 1.947,-6.143 1.299,-1.754 3.107,-2.631 5.425,-2.631 1.02,0 2.07,0.251 3.152,0.753 1.083,0.502 1.622,0.884 1.622,1.148 V 5.088 c 0,0.293 -0.201,0.641 -0.601,1.043 C 10.308,7.831 8.666,8.682 6.618,8.682 4.569,8.682 2.956,7.82 1.773,6.097 0.591,4.373 0,2.341 0,0 m 10.455,9.944 c 0.68,-0.239 1.096,-0.359 1.251,-0.359 0.155,0 0.252,0.003 0.291,0.012 0.037,0.007 0.089,0.104 0.149,0.289 v 11.962 c 0,0.649 -0.355,1.097 -1.065,1.344 -0.31,0.109 -0.642,0.197 -0.997,0.267 -0.355,0.07 -0.637,0.135 -0.846,0.197 -0.209,0.062 -0.341,0.119 -0.394,0.175 -0.055,0.053 -0.081,0.169 -0.081,0.347 0,0.177 0.115,0.327 0.347,0.452 l 5.911,2.782 c 0.186,0.092 0.301,0.139 0.348,0.139 0.263,0 0.395,-0.186 0.395,-0.557 v -33.01 c 0.077,-0.68 0.269,-1.167 0.58,-1.46 0.308,-0.294 0.811,-0.44 1.506,-0.44 l 1.344,0.092 c 0.093,0 0.139,-0.089 0.139,-0.266 0,-0.179 -0.115,-0.322 -0.347,-0.429 l -6.167,-2.551 c -0.185,-0.092 -0.345,-0.138 -0.475,-0.138 -0.131,0 -0.198,0.194 -0.198,0.579 v 2.11 c 0,0.154 -0.038,0.231 -0.115,0.231 -0.108,0 -0.75,-0.346 -1.924,-1.043 -3.601,-2.133 -6.638,-2.45 -9.11,-0.95 -1.978,1.206 -3.315,3.114 -4.011,5.726 -0.324,1.221 -0.486,2.515 -0.486,3.882 0,1.368 0.281,2.728 0.846,4.08 0.563,1.353 1.34,2.538 2.329,3.559 2.179,2.225 4.806,3.338 7.882,3.338 1.252,0 2.218,-0.12 2.898,-0.36"
95
     style="fill:#2c3792;fill-opacity:1;fill-rule:nonzero;stroke:none"
96
     id="path4547"
97
     inkscape:connector-curvature="0" /></g><g
98
   aria-label="Identifiants et Référentiels"
99
   transform="scale(1,-1)"
100
   style="font-variant:normal;font-weight:600;font-stretch:normal;font-size:9.69212246px;font-family:'Open Sans Semibold';-inkscape-font-specification:OpenSans-Semibold;writing-mode:lr-tb;fill:#2c3792;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.07690251"
101
   id="text4551"><path
102
     d="m 284.01084,-405.0239 v -6.91888 h 1.13107 v 6.91888 z"
103
     style="stroke-width:1.07690251"
104
     id="path942"
105
     inkscape:connector-curvature="0" /><path
106
     d="m 288.61383,-404.92925 q -0.97962,0 -1.52859,-0.70987 -0.54897,-0.70987 -0.54897,-1.99237 0,-1.28724 0.5537,-2.00184 0.55843,-0.71934 1.54279,-0.71934 1.03168,0 1.57118,0.76193 h 0.0568 q -0.0805,-0.56317 -0.0805,-0.88971 v -1.90719 h 1.11687 v 7.36374 h -0.87078 l -0.19403,-0.68621 h -0.0521 q -0.53477,0.78086 -1.56645,0.78086 z m 0.29815,-0.89917 q 0.68621,0 0.99855,-0.38333 0.31234,-0.38806 0.32181,-1.25411 v -0.15617 q 0,-0.98909 -0.32181,-1.40554 -0.32181,-0.41646 -1.00802,-0.41646 -0.58683,0 -0.9039,0.47798 -0.31708,0.47325 -0.31708,1.35349 0,0.87077 0.30761,1.32982 0.30761,0.45432 0.92284,0.45432 z"
107
     style="stroke-width:1.07690251"
108
     id="path944"
109
     inkscape:connector-curvature="0" /><path
110
     d="m 295.17261,-404.92925 q -1.22098,0 -1.91192,-0.70987 -0.68621,-0.7146 -0.68621,-1.96398 0,-1.2825 0.63888,-2.01603 0.63889,-0.73354 1.75576,-0.73354 1.03641,0 1.63743,0.62942 0.60103,0.62942 0.60103,1.73209 v 0.60102 h -3.48784 q 0.0237,0.76193 0.41173,1.17366 0.38806,0.40699 1.0932,0.40699 0.46378,0 0.86131,-0.0852 0.40226,-0.0899 0.86131,-0.29342 v 0.90391 q -0.40699,0.19403 -0.82345,0.27448 -0.41646,0.0804 -0.95123,0.0804 z m -0.20349,-4.58104 q -0.53004,0 -0.85185,0.33601 -0.31708,0.336 -0.3786,0.97962 h 2.37571 q -0.009,-0.64835 -0.31235,-0.97962 -0.30288,-0.33601 -0.83291,-0.33601 z"
111
     style="stroke-width:1.07690251"
112
     id="path946"
113
     inkscape:connector-curvature="0" /><path
114
     d="m 303.07417,-405.0239 h -1.11687 v -3.21808 q 0,-0.60576 -0.24609,-0.90391 -0.24135,-0.29814 -0.77139,-0.29814 -0.70514,0 -1.03168,0.41646 -0.32654,0.41645 -0.32654,1.39608 v 2.60759 h -1.11214 v -5.23412 h 0.87078 l 0.15617,0.68621 h 0.0568 q 0.23663,-0.37387 0.67202,-0.57736 0.43538,-0.2035 0.96542,-0.2035 1.88353,0 1.88353,1.91666 z"
115
     style="stroke-width:1.07690251"
116
     id="path948"
117
     inkscape:connector-curvature="0" /><path
118
     d="m 306.57376,-405.82842 q 0.40699,0 0.81398,-0.12777 v 0.83765 q -0.18456,0.0804 -0.47798,0.1325 -0.28868,0.0568 -0.60102,0.0568 -1.58065,0 -1.58065,-1.66583 v -2.82056 h -0.7146 v -0.49218 l 0.76666,-0.40699 0.3786,-1.1074 h 0.68621 v 1.16419 h 1.49073 v 0.84238 h -1.49073 v 2.80163 q 0,0.40226 0.19876,0.59629 0.2035,0.1893 0.53004,0.1893 z"
119
     style="stroke-width:1.07690251"
120
     id="path950"
121
     inkscape:connector-curvature="0" /><path
122
     d="m 309.5451,-405.0239 h -1.11213 v -5.23412 h 1.11213 z m -1.17839,-6.62074 q 0,-0.29814 0.16091,-0.45905 0.16563,-0.1609 0.46851,-0.1609 0.29342,0 0.45432,0.1609 0.16564,0.16091 0.16564,0.45905 0,0.28395 -0.16564,0.44959 -0.1609,0.1609 -0.45432,0.1609 -0.30288,0 -0.46851,-0.1609 -0.16091,-0.16564 -0.16091,-0.44959 z"
123
     style="stroke-width:1.07690251"
124
     id="path952"
125
     inkscape:connector-curvature="0" /><path
126
     d="m 313.76359,-409.41564 h -1.27777 v 4.39174 h -1.11686 v -4.39174 h -0.86131 v -0.52057 l 0.86131,-0.34074 v -0.34074 q 0,-0.92757 0.43539,-1.37242 0.43539,-0.44958 1.32982,-0.44958 0.58683,0 1.15473,0.19403 l -0.29341,0.84238 q -0.41173,-0.13251 -0.7856,-0.13251 -0.37859,0 -0.5537,0.23662 -0.17037,0.2319 -0.17037,0.70041 v 0.34074 h 1.27777 z m 2.00184,4.39174 h -1.11213 v -5.23412 h 1.11213 z m -1.17838,-6.62074 q 0,-0.29814 0.1609,-0.45905 0.16564,-0.1609 0.46852,-0.1609 0.29341,0 0.45431,0.1609 0.16564,0.16091 0.16564,0.45905 0,0.28395 -0.16564,0.44959 -0.1609,0.1609 -0.45431,0.1609 -0.30288,0 -0.46852,-0.1609 -0.1609,-0.16564 -0.1609,-0.44959 z"
127
     style="stroke-width:1.07690251"
128
     id="path954"
129
     inkscape:connector-curvature="0" /><path
130
     d="m 320.6343,-405.0239 -0.22243,-0.7288 h -0.0379 q -0.3786,0.47798 -0.76193,0.65309 -0.38333,0.17036 -0.98436,0.17036 -0.77139,0 -1.20678,-0.41645 -0.43066,-0.41646 -0.43066,-1.17839 0,-0.80926 0.60103,-1.22098 0.60103,-0.41173 1.83147,-0.44959 l 0.9039,-0.0284 v -0.27922 q 0,-0.50164 -0.23662,-0.74773 -0.23189,-0.25082 -0.72407,-0.25082 -0.40226,0 -0.77139,0.11831 -0.36914,0.11831 -0.70988,0.27922 l -0.35966,-0.79506 q 0.42592,-0.22243 0.93229,-0.33601 0.50638,-0.11831 0.95597,-0.11831 0.99855,0 1.50492,0.43539 0.51111,0.43539 0.51111,1.36769 v 3.52569 z m -1.65637,-0.75719 q 0.60575,0 0.97016,-0.33601 0.36913,-0.34074 0.36913,-0.95123 v -0.45432 l -0.67201,0.0284 q -0.78559,0.0284 -1.14526,0.26502 -0.35494,0.23189 -0.35494,0.7146 0,0.35021 0.20823,0.54424 0.20823,0.1893 0.62469,0.1893 z"
131
     style="stroke-width:1.07690251"
132
     id="path956"
133
     inkscape:connector-curvature="0" /><path
134
     d="m 327.58555,-405.0239 h -1.11686 v -3.21808 q 0,-0.60576 -0.24609,-0.90391 -0.24136,-0.29814 -0.7714,-0.29814 -0.70514,0 -1.03168,0.41646 -0.32654,0.41645 -0.32654,1.39608 v 2.60759 h -1.11213 v -5.23412 h 0.87077 l 0.15618,0.68621 h 0.0568 q 0.23662,-0.37387 0.67201,-0.57736 0.43539,-0.2035 0.96542,-0.2035 1.88353,0 1.88353,1.91666 z"
135
     style="stroke-width:1.07690251"
136
     id="path958"
137
     inkscape:connector-curvature="0" /><path
138
     d="m 331.08514,-405.82842 q 0.40699,0 0.81399,-0.12777 v 0.83765 q -0.18457,0.0804 -0.47798,0.1325 -0.28868,0.0568 -0.60103,0.0568 -1.58065,0 -1.58065,-1.66583 v -2.82056 h -0.7146 v -0.49218 l 0.76666,-0.40699 0.3786,-1.1074 h 0.68621 v 1.16419 h 1.49073 v 0.84238 h -1.49073 v 2.80163 q 0,0.40226 0.19876,0.59629 0.2035,0.1893 0.53004,0.1893 z"
139
     style="stroke-width:1.07690251"
140
     id="path960"
141
     inkscape:connector-curvature="0" /><path
142
     d="m 336.46058,-406.51463 q 0,0.76667 -0.55843,1.17839 -0.55843,0.40699 -1.59958,0.40699 -1.04588,0 -1.68003,-0.31707 v -0.9607 q 0.92283,0.42593 1.71789,0.42593 1.02695,0 1.02695,-0.61996 0,-0.19876 -0.11358,-0.33127 -0.11358,-0.13251 -0.37387,-0.27449 -0.26028,-0.14197 -0.72407,-0.3218 -0.9039,-0.35021 -1.22571,-0.70041 -0.31707,-0.3502 -0.31707,-0.90864 0,-0.67201 0.5395,-1.04114 0.54423,-0.37387 1.47653,-0.37387 0.92284,0 1.74629,0.37387 l -0.35967,0.83765 q -0.84711,-0.35021 -1.42448,-0.35021 -0.88024,0 -0.88024,0.50165 0,0.24608 0.22716,0.41645 0.23189,0.17037 1.00329,0.46852 0.64835,0.25082 0.94176,0.45905 0.29341,0.20823 0.43539,0.48271 0.14197,0.26975 0.14197,0.64835 z"
143
     style="stroke-width:1.07690251"
144
     id="path962"
145
     inkscape:connector-curvature="0" /><path
146
     d="m 342.47016,-404.92925 q -1.22098,0 -1.91192,-0.70987 -0.68621,-0.7146 -0.68621,-1.96398 0,-1.2825 0.63888,-2.01603 0.63889,-0.73354 1.75575,-0.73354 1.03642,0 1.63744,0.62942 0.60103,0.62942 0.60103,1.73209 v 0.60102 h -3.48784 q 0.0237,0.76193 0.41172,1.17366 0.38807,0.40699 1.09321,0.40699 0.46378,0 0.86131,-0.0852 0.40226,-0.0899 0.86131,-0.29342 v 0.90391 q -0.40699,0.19403 -0.82345,0.27448 -0.41646,0.0804 -0.95123,0.0804 z m -0.2035,-4.58104 q -0.53004,0 -0.85185,0.33601 -0.31707,0.336 -0.37859,0.97962 h 2.3757 q -0.009,-0.64835 -0.31234,-0.97962 -0.30288,-0.33601 -0.83292,-0.33601 z"
147
     style="stroke-width:1.07690251"
148
     id="path964"
149
     inkscape:connector-curvature="0" /><path
150
     d="m 347.71682,-405.82842 q 0.407,0 0.81399,-0.12777 v 0.83765 q -0.18457,0.0804 -0.47798,0.1325 -0.28868,0.0568 -0.60102,0.0568 -1.58065,0 -1.58065,-1.66583 v -2.82056 h -0.71461 v -0.49218 l 0.76666,-0.40699 0.3786,-1.1074 h 0.68621 v 1.16419 h 1.49073 v 0.84238 h -1.49073 v 2.80163 q 0,0.40226 0.19877,0.59629 0.20349,0.1893 0.53003,0.1893 z"
151
     style="stroke-width:1.07690251"
152
     id="path966"
153
     inkscape:connector-curvature="0" /><path
154
     d="m 353.34537,-408.7247 h 0.78559 q 0.79032,0 1.14526,-0.29341 0.35493,-0.29341 0.35493,-0.87078 0,-0.58682 -0.38333,-0.84238 -0.38333,-0.25555 -1.15472,-0.25555 h -0.74773 z m 0,0.93704 v 2.76376 h -1.13107 v -6.91888 h 1.95452 q 1.33929,0 1.98291,0.50164 0.64362,0.50164 0.64362,1.51439 0,1.29197 -1.34403,1.84094 l 1.95452,3.06191 h -1.28724 l -1.65637,-2.76376 z"
155
     style="stroke-width:1.07690251"
156
     id="path968"
157
     inkscape:connector-curvature="0" /><path
158
     d="m 360.57505,-404.92925 q -1.22098,0 -1.91193,-0.70987 -0.68621,-0.7146 -0.68621,-1.96398 0,-1.2825 0.63889,-2.01603 0.63888,-0.73354 1.75575,-0.73354 1.03641,0 1.63744,0.62942 0.60102,0.62942 0.60102,1.73209 v 0.60102 h -3.48783 q 0.0237,0.76193 0.41172,1.17366 0.38806,0.40699 1.0932,0.40699 0.46379,0 0.86132,-0.0852 0.40226,-0.0899 0.86131,-0.29342 v 0.90391 q -0.407,0.19403 -0.82345,0.27448 -0.41646,0.0804 -0.95123,0.0804 z m -0.2035,-4.58104 q -0.53004,0 -0.85185,0.33601 -0.31707,0.336 -0.37859,0.97962 h 2.3757 q -0.009,-0.64835 -0.31234,-0.97962 -0.30288,-0.33601 -0.83292,-0.33601 z m -0.70987,-1.38662 v -0.11831 q 0.26975,-0.33127 0.5537,-0.73826 0.28868,-0.407 0.45432,-0.69568 h 1.29196 v 0.0994 q -0.24608,0.28868 -0.73826,0.74774 -0.48745,0.45431 -0.82345,0.70513 z"
159
     style="stroke-width:1.07690251"
160
     id="path970"
161
     inkscape:connector-curvature="0" /><path
162
     d="m 366.49843,-409.41564 h -1.27777 v 4.39174 h -1.11687 v -4.39174 h -0.86131 v -0.52057 l 0.86131,-0.34074 v -0.34074 q 0,-0.92757 0.43539,-1.37242 0.43539,-0.44958 1.32983,-0.44958 0.58683,0 1.15472,0.19403 l -0.29341,0.84238 q -0.41173,-0.13251 -0.78559,-0.13251 -0.3786,0 -0.5537,0.23662 -0.17037,0.2319 -0.17037,0.70041 v 0.34074 h 1.27777 z"
163
     style="stroke-width:1.07690251"
164
     id="path972"
165
     inkscape:connector-curvature="0" /><path
166
     d="m 369.67594,-404.92925 q -1.22098,0 -1.91192,-0.70987 -0.68621,-0.7146 -0.68621,-1.96398 0,-1.2825 0.63888,-2.01603 0.63889,-0.73354 1.75575,-0.73354 1.03642,0 1.63744,0.62942 0.60103,0.62942 0.60103,1.73209 v 0.60102 h -3.48784 q 0.0237,0.76193 0.41172,1.17366 0.38807,0.40699 1.09321,0.40699 0.46378,0 0.86131,-0.0852 0.40226,-0.0899 0.86131,-0.29342 v 0.90391 q -0.40699,0.19403 -0.82345,0.27448 -0.41646,0.0804 -0.95123,0.0804 z m -0.2035,-4.58104 q -0.53004,0 -0.85185,0.33601 -0.31707,0.336 -0.37859,0.97962 h 2.3757 q -0.009,-0.64835 -0.31234,-0.97962 -0.30288,-0.33601 -0.83292,-0.33601 z m -0.70987,-1.38662 v -0.11831 q 0.26975,-0.33127 0.5537,-0.73826 0.28868,-0.407 0.45432,-0.69568 h 1.29197 v 0.0994 q -0.24609,0.28868 -0.73827,0.74774 -0.48745,0.45431 -0.82345,0.70513 z"
167
     style="stroke-width:1.07690251"
168
     id="path974"
169
     inkscape:connector-curvature="0" /><path
170
     d="m 375.62774,-410.35267 q 0.33601,0 0.5537,0.0473 l -0.10884,1.03641 q -0.23663,-0.0568 -0.49218,-0.0568 -0.66728,0 -1.08374,0.43539 -0.41172,0.43539 -0.41172,1.13106 v 2.73537 h -1.11214 v -5.23412 h 0.87078 l 0.14671,0.92283 h 0.0568 q 0.26028,-0.46851 0.67674,-0.743 0.42119,-0.27448 0.9039,-0.27448 z"
171
     style="stroke-width:1.07690251"
172
     id="path976"
173
     inkscape:connector-curvature="0" /><path
174
     d="m 379.43592,-404.92925 q -1.22098,0 -1.91193,-0.70987 -0.6862,-0.7146 -0.6862,-1.96398 0,-1.2825 0.63888,-2.01603 0.63889,-0.73354 1.75575,-0.73354 1.03641,0 1.63744,0.62942 0.60102,0.62942 0.60102,1.73209 v 0.60102 h -3.48783 q 0.0237,0.76193 0.41172,1.17366 0.38807,0.40699 1.0932,0.40699 0.46379,0 0.86132,-0.0852 0.40226,-0.0899 0.86131,-0.29342 v 0.90391 q -0.407,0.19403 -0.82345,0.27448 -0.41646,0.0804 -0.95123,0.0804 z m -0.2035,-4.58104 q -0.53004,0 -0.85185,0.33601 -0.31707,0.336 -0.37859,0.97962 h 2.3757 q -0.009,-0.64835 -0.31234,-0.97962 -0.30288,-0.33601 -0.83292,-0.33601 z"
175
     style="stroke-width:1.07690251"
176
     id="path978"
177
     inkscape:connector-curvature="0" /><path
178
     d="m 387.33748,-405.0239 h -1.11687 v -3.21808 q 0,-0.60576 -0.24609,-0.90391 -0.24136,-0.29814 -0.77139,-0.29814 -0.70514,0 -1.03169,0.41646 -0.32654,0.41645 -0.32654,1.39608 v 2.60759 h -1.11213 v -5.23412 h 0.87078 l 0.15617,0.68621 h 0.0568 q 0.23662,-0.37387 0.67201,-0.57736 0.43539,-0.2035 0.96543,-0.2035 1.88353,0 1.88353,1.91666 z"
179
     style="stroke-width:1.07690251"
180
     id="path980"
181
     inkscape:connector-curvature="0" /><path
182
     d="m 390.83706,-405.82842 q 0.407,0 0.81399,-0.12777 v 0.83765 q -0.18457,0.0804 -0.47798,0.1325 -0.28868,0.0568 -0.60103,0.0568 -1.58064,0 -1.58064,-1.66583 v -2.82056 h -0.71461 v -0.49218 l 0.76666,-0.40699 0.3786,-1.1074 h 0.68621 v 1.16419 h 1.49073 v 0.84238 h -1.49073 v 2.80163 q 0,0.40226 0.19877,0.59629 0.20349,0.1893 0.53003,0.1893 z"
183
     style="stroke-width:1.07690251"
184
     id="path982"
185
     inkscape:connector-curvature="0" /><path
186
     d="m 393.8084,-405.0239 h -1.11213 v -5.23412 h 1.11213 z m -1.17838,-6.62074 q 0,-0.29814 0.1609,-0.45905 0.16564,-0.1609 0.46852,-0.1609 0.29341,0 0.45432,0.1609 0.16563,0.16091 0.16563,0.45905 0,0.28395 -0.16563,0.44959 -0.16091,0.1609 -0.45432,0.1609 -0.30288,0 -0.46852,-0.1609 -0.1609,-0.16564 -0.1609,-0.44959 z"
187
     style="stroke-width:1.07690251"
188
     id="path984"
189
     inkscape:connector-curvature="0" /><path
190
     d="m 397.68619,-404.92925 q -1.22098,0 -1.91192,-0.70987 -0.68621,-0.7146 -0.68621,-1.96398 0,-1.2825 0.63888,-2.01603 0.63889,-0.73354 1.75576,-0.73354 1.03641,0 1.63743,0.62942 0.60103,0.62942 0.60103,1.73209 v 0.60102 h -3.48784 q 0.0237,0.76193 0.41173,1.17366 0.38806,0.40699 1.0932,0.40699 0.46378,0 0.86131,-0.0852 0.40226,-0.0899 0.86131,-0.29342 v 0.90391 q -0.40699,0.19403 -0.82345,0.27448 -0.41646,0.0804 -0.95123,0.0804 z m -0.20349,-4.58104 q -0.53004,0 -0.85185,0.33601 -0.31708,0.336 -0.3786,0.97962 h 2.37571 q -0.009,-0.64835 -0.31235,-0.97962 -0.30288,-0.33601 -0.83291,-0.33601 z"
191
     style="stroke-width:1.07690251"
192
     id="path986"
193
     inkscape:connector-curvature="0" /><path
194
     d="m 402.09518,-405.0239 h -1.11213 v -7.36374 h 1.11213 z"
195
     style="stroke-width:1.07690251"
196
     id="path988"
197
     inkscape:connector-curvature="0" /><path
198
     d="m 407.20338,-406.51463 q 0,0.76667 -0.55843,1.17839 -0.55844,0.40699 -1.59958,0.40699 -1.04588,0 -1.68003,-0.31707 v -0.9607 q 0.92283,0.42593 1.71789,0.42593 1.02695,0 1.02695,-0.61996 0,-0.19876 -0.11358,-0.33127 -0.11358,-0.13251 -0.37387,-0.27449 -0.26028,-0.14197 -0.72407,-0.3218 -0.9039,-0.35021 -1.22571,-0.70041 -0.31708,-0.3502 -0.31708,-0.90864 0,-0.67201 0.53951,-1.04114 0.54423,-0.37387 1.47653,-0.37387 0.92283,0 1.74629,0.37387 l -0.35967,0.83765 q -0.84712,-0.35021 -1.42448,-0.35021 -0.88024,0 -0.88024,0.50165 0,0.24608 0.22716,0.41645 0.23189,0.17037 1.00328,0.46852 0.64835,0.25082 0.94177,0.45905 0.29341,0.20823 0.43539,0.48271 0.14197,0.26975 0.14197,0.64835 z"
199
     style="stroke-width:1.07690251"
200
     id="path990"
201
     inkscape:connector-curvature="0" /></g>
202
<g
203
   aria-label="pour l’enseignement supérieur
204
et la recherche"
205
   transform="scale(1,-1)"
206
   style="font-variant:normal;font-weight:600;font-stretch:normal;font-size:7.53831768px;font-family:'Open Sans Semibold';-inkscape-font-specification:OpenSans-Semibold;writing-mode:lr-tb;fill:#2c3792;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.07690251"
207
   id="text4557"><path
208
     d="m 285.78079,-395.90398 q -0.77297,0 -1.19995,-0.55581 h -0.0515 q 0.0515,0.51532 0.0515,0.62574 v 1.66741 h -0.86499 v -5.88195 h 0.69936 q 0.0294,0.11411 0.12146,0.54477 h 0.0442 q 0.40489,-0.61838 1.21467,-0.61838 0.76193,0 1.18523,0.55212 0.42697,0.55212 0.42697,1.54963 0,0.9975 -0.43433,1.55698 -0.43066,0.55949 -1.19259,0.55949 z m -0.20981,-3.51151 q -0.51531,0 -0.75456,0.30183 -0.23558,0.30183 -0.23558,0.96438 v 0.12883 q 0,0.74352 0.23558,1.07848 0.23557,0.33127 0.76929,0.33127 0.44906,0 0.69199,-0.36808 0.24293,-0.36808 0.24293,-1.04904 0,-0.68463 -0.24293,-1.03431 -0.23925,-0.35336 -0.70672,-0.35336 z"
209
     style="stroke-width:1.07690251"
210
     id="path993"
211
     inkscape:connector-curvature="0" /><path
212
     d="m 292.02308,-398.02045 q 0,0.9975 -0.51163,1.55698 -0.51163,0.55949 -1.42448,0.55949 -0.57052,0 -1.00854,-0.25766 -0.43802,-0.25766 -0.67359,-0.73985 -0.23557,-0.48218 -0.23557,-1.11896 0,-0.99015 0.50795,-1.54595 0.50795,-0.5558 1.43184,-0.5558 0.8834,0 1.39871,0.57052 0.51531,0.56685 0.51531,1.53123 z m -2.96305,0 q 0,1.40975 1.04167,1.40975 1.03063,0 1.03063,-1.40975 0,-1.39504 -1.03799,-1.39504 -0.54477,0 -0.79138,0.36073 -0.24293,0.36072 -0.24293,1.03431 z"
213
     style="stroke-width:1.07690251"
214
     id="path995"
215
     inkscape:connector-curvature="0" /><path
216
     d="m 295.88917,-395.9776 -0.12147,-0.53372 h -0.0442 q -0.18036,0.28342 -0.51532,0.44538 -0.33127,0.16196 -0.75824,0.16196 -0.73985,0 -1.10425,-0.36809 -0.3644,-0.36808 -0.3644,-1.11528 v -2.66124 h 0.87235 v 2.51032 q 0,0.46747 0.19141,0.70304 0.1914,0.23189 0.59997,0.23189 0.54476,0 0.79874,-0.32391 0.25765,-0.32759 0.25765,-1.0932 v -2.02814 h 0.86868 v 4.07099 z"
217
     style="stroke-width:1.07690251"
218
     id="path997"
219
     inkscape:connector-curvature="0" /><path
220
     d="m 299.8699,-400.1222 q 0.26134,0 0.43066,0.0368 l -0.0847,0.8061 q -0.18404,-0.0442 -0.38281,-0.0442 -0.51899,0 -0.8429,0.33863 -0.32024,0.33864 -0.32024,0.87972 v 2.12751 h -0.86499 v -4.07099 h 0.67727 l 0.11411,0.71776 h 0.0442 q 0.20244,-0.3644 0.52636,-0.57788 0.32759,-0.21349 0.70303,-0.21349 z"
221
     style="stroke-width:1.07690251"
222
     id="path999"
223
     inkscape:connector-curvature="0" /><path
224
     d="m 303.87894,-395.9776 h -0.86499 v -5.72735 h 0.86499 z"
225
     style="stroke-width:1.07690251"
226
     id="path1001"
227
     inkscape:connector-curvature="0" /><path
228
     d="m 305.80912,-401.35896 0.0552,0.081 q -0.19508,0.76929 -0.64782,1.76311 h -0.62574 q 0.25398,-1.06375 0.36808,-1.84409 z"
229
     style="stroke-width:1.07690251"
230
     id="path1003"
231
     inkscape:connector-curvature="0" /><path
232
     d="m 308.34986,-395.90398 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36558,-0.57052 0.8061,0 1.27357,0.48955 0.46746,0.48955 0.46746,1.34718 v 0.46746 h -2.71276 q 0.0184,0.59261 0.32023,0.91284 0.30182,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31286,-0.0699 0.6699,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32391,0.0626 -0.73984,0.0626 z m -0.15828,-3.56304 q -0.41225,0 -0.66255,0.26134 -0.24661,0.26134 -0.29446,0.76193 h 1.84777 q -0.007,-0.50427 -0.24293,-0.76193 -0.23558,-0.26134 -0.64783,-0.26134 z"
233
     style="stroke-width:1.07690251"
234
     id="path1005"
235
     inkscape:connector-curvature="0" /><path
236
     d="m 314.49553,-395.9776 h -0.86867 v -2.50296 q 0,-0.47114 -0.19141,-0.70303 -0.18772,-0.2319 -0.59997,-0.2319 -0.54844,0 -0.80242,0.32392 -0.25397,0.32391 -0.25397,1.08584 v 2.02813 h -0.865 v -4.07099 h 0.67727 l 0.12147,0.53372 h 0.0442 q 0.18404,-0.29078 0.52268,-0.44906 0.33863,-0.15827 0.75088,-0.15827 1.46497,0 1.46497,1.49073 z"
237
     style="stroke-width:1.07690251"
238
     id="path1007"
239
     inkscape:connector-curvature="0" /><path
240
     d="m 318.4305,-397.13706 q 0,0.59629 -0.43434,0.91653 -0.43434,0.31655 -1.24412,0.31655 -0.81346,0 -1.30669,-0.24662 v -0.7472 q 0.71776,0.33127 1.33614,0.33127 0.79874,0 0.79874,-0.48219 0,-0.15459 -0.0883,-0.25766 -0.0883,-0.10306 -0.29079,-0.21348 -0.20244,-0.11043 -0.56316,-0.2503 -0.70304,-0.27238 -0.95333,-0.54476 -0.24662,-0.27238 -0.24662,-0.70672 0,-0.52267 0.41961,-0.80978 0.4233,-0.29078 1.14842,-0.29078 0.71776,0 1.35822,0.29078 l -0.27974,0.65151 q -0.65887,-0.27238 -1.10793,-0.27238 -0.68463,0 -0.68463,0.39016 0,0.19141 0.17668,0.32392 0.18036,0.13251 0.78033,0.3644 0.50428,0.19508 0.73249,0.35704 0.22821,0.16195 0.33863,0.37544 0.11043,0.20981 0.11043,0.50427 z"
241
     style="stroke-width:1.07690251"
242
     id="path1009"
243
     inkscape:connector-curvature="0" /><path
244
     d="m 321.14466,-395.90398 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36558,-0.57052 0.8061,0 1.27357,0.48955 0.46746,0.48955 0.46746,1.34718 v 0.46746 h -2.71276 q 0.0184,0.59261 0.32023,0.91284 0.30182,0.31655 0.85027,0.31655 0.36072,0 0.6699,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32391,0.0626 -0.73984,0.0626 z m -0.15828,-3.56304 q -0.41225,0 -0.66255,0.26134 -0.24661,0.26134 -0.29446,0.76193 h 1.84777 q -0.007,-0.50427 -0.24293,-0.76193 -0.23558,-0.26134 -0.64783,-0.26134 z"
245
     style="stroke-width:1.07690251"
246
     id="path1011"
247
     inkscape:connector-curvature="0" /><path
248
     d="m 324.57389,-395.9776 h -0.865 v -4.07099 h 0.865 z m -0.91653,-5.14947 q 0,-0.23189 0.12515,-0.35704 0.12883,-0.12514 0.3644,-0.12514 0.22821,0 0.35336,0.12514 0.12883,0.12515 0.12883,0.35704 0,0.22085 -0.12883,0.34968 -0.12515,0.12515 -0.35336,0.12515 -0.23557,0 -0.3644,-0.12515 -0.12515,-0.12883 -0.12515,-0.34968 z"
249
     style="stroke-width:1.07690251"
250
     id="path1013"
251
     inkscape:connector-curvature="0" /><path
252
     d="m 329.24996,-400.04859 v 0.47483 l -0.69568,0.12883 q 0.0957,0.12883 0.15828,0.31655 0.0626,0.18772 0.0626,0.39753 0,0.62942 -0.43433,0.99014 -0.43434,0.36072 -1.19627,0.36072 -0.19508,0 -0.35336,-0.0294 -0.27974,0.173 -0.27974,0.40489 0,0.13987 0.12883,0.20981 0.13251,0.0699 0.48218,0.0699 h 0.7104 q 0.67359,0 1.02327,0.28711 0.34968,0.2871 0.34968,0.82818 0,0.692 -0.57053,1.06744 -0.57053,0.37544 -1.64901,0.37544 -0.83186,0 -1.26988,-0.29446 -0.43802,-0.29447 -0.43802,-0.83923 0,-0.37544 0.23558,-0.6331 0.23925,-0.25398 0.66622,-0.35336 -0.17299,-0.0736 -0.2871,-0.23557 -0.11042,-0.16564 -0.11042,-0.346 0,-0.22821 0.12882,-0.38648 0.12883,-0.15828 0.38281,-0.31287 -0.31655,-0.13619 -0.51531,-0.4417 -0.19509,-0.30919 -0.19509,-0.72144 0,-0.66255 0.41593,-1.02695 0.41962,-0.3644 1.19259,-0.3644 0.173,0 0.36072,0.0258 0.1914,0.0221 0.2871,0.0478 z m -3.19863,4.70409 q 0,0.27974 0.25029,0.43066 0.25398,0.15091 0.7104,0.15091 0.70672,0 1.05271,-0.20244 0.346,-0.20245 0.346,-0.5374 0,-0.26502 -0.1914,-0.37913 -0.18772,-0.11042 -0.70304,-0.11042 h -0.65518 q -0.37177,0 -0.59262,0.173 -0.21716,0.17667 -0.21716,0.47482 z m 0.37176,-3.38635 q 0,0.3828 0.19508,0.58893 0.19877,0.20612 0.56685,0.20612 0.75089,0 0.75089,-0.80241 0,-0.39753 -0.18773,-0.61102 -0.18404,-0.21717 -0.56316,-0.21717 -0.37545,0 -0.57053,0.21349 -0.1914,0.21349 -0.1914,0.62206 z"
253
     style="stroke-width:1.07690251"
254
     id="path1015"
255
     inkscape:connector-curvature="0" /><path
256
     d="m 333.58482,-395.9776 h -0.86867 v -2.50296 q 0,-0.47114 -0.1914,-0.70303 -0.18772,-0.2319 -0.59998,-0.2319 -0.54844,0 -0.80241,0.32392 -0.25398,0.32391 -0.25398,1.08584 v 2.02813 h -0.86499 v -4.07099 h 0.67727 l 0.12147,0.53372 h 0.0442 q 0.18405,-0.29078 0.52268,-0.44906 0.33864,-0.15827 0.75089,-0.15827 1.46496,0 1.46496,1.49073 z"
257
     style="stroke-width:1.07690251"
258
     id="path1017"
259
     inkscape:connector-curvature="0" /><path
260
     d="m 336.56806,-395.90398 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36558,-0.57052 0.8061,0 1.27357,0.48955 0.46746,0.48955 0.46746,1.34718 v 0.46746 h -2.71276 q 0.0184,0.59261 0.32023,0.91284 0.30182,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31287,-0.0699 0.6699,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32391,0.0626 -0.73984,0.0626 z m -0.15828,-3.56304 q -0.41225,0 -0.66254,0.26134 -0.24662,0.26134 -0.29447,0.76193 h 1.84777 q -0.007,-0.50427 -0.24293,-0.76193 -0.23558,-0.26134 -0.64783,-0.26134 z"
261
     style="stroke-width:1.07690251"
262
     id="path1019"
263
     inkscape:connector-curvature="0" /><path
264
     d="m 342.56279,-395.9776 h -0.86868 v -2.51032 q 0,-0.46746 -0.17668,-0.69567 -0.17668,-0.2319 -0.55212,-0.2319 -0.50059,0 -0.73616,0.3276 -0.23189,0.32391 -0.23189,1.08216 v 2.02813 h -0.865 v -4.07099 h 0.67727 l 0.12147,0.53372 h 0.0442 q 0.16932,-0.29078 0.48955,-0.44906 0.32391,-0.15827 0.7104,-0.15827 0.93861,0 1.24411,0.64046 h 0.0589 q 0.18036,-0.30183 0.50795,-0.47114 0.32759,-0.16932 0.75089,-0.16932 0.7288,0 1.06007,0.36808 0.33496,0.36808 0.33496,1.12265 v 2.65387 h -0.86499 v -2.51032 q 0,-0.46746 -0.18036,-0.69567 -0.17668,-0.2319 -0.55213,-0.2319 -0.50427,0 -0.73984,0.31656 -0.23189,0.31286 -0.23189,0.96437 z"
265
     style="stroke-width:1.07690251"
266
     id="path1021"
267
     inkscape:connector-curvature="0" /><path
268
     d="m 348.11673,-395.90398 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36559,-0.57052 0.8061,0 1.27356,0.48955 0.46747,0.48955 0.46747,1.34718 v 0.46746 h -2.71277 q 0.0184,0.59261 0.32023,0.91284 0.30183,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32391,0.0626 -0.73985,0.0626 z m -0.15827,-3.56304 q -0.41225,0 -0.66255,0.26134 -0.24661,0.26134 -0.29446,0.76193 h 1.84777 q -0.007,-0.50427 -0.24294,-0.76193 -0.23557,-0.26134 -0.64782,-0.26134 z"
269
     style="stroke-width:1.07690251"
270
     id="path1023"
271
     inkscape:connector-curvature="0" /><path
272
     d="m 354.26241,-395.9776 h -0.86868 v -2.50296 q 0,-0.47114 -0.1914,-0.70303 -0.18772,-0.2319 -0.59997,-0.2319 -0.54845,0 -0.80242,0.32392 -0.25398,0.32391 -0.25398,1.08584 v 2.02813 h -0.86499 v -4.07099 h 0.67727 l 0.12147,0.53372 h 0.0442 q 0.18404,-0.29078 0.52267,-0.44906 0.33864,-0.15827 0.75089,-0.15827 1.46497,0 1.46497,1.49073 z"
273
     style="stroke-width:1.07690251"
274
     id="path1025"
275
     inkscape:connector-curvature="0" /><path
276
     d="m 356.9843,-396.60334 q 0.31655,0 0.6331,-0.0994 v 0.6515 q -0.14355,0.0626 -0.37176,0.10307 -0.22453,0.0442 -0.46746,0.0442 -1.2294,0 -1.2294,-1.29565 v -2.19377 h -0.5558 v -0.38281 l 0.59629,-0.31655 0.29447,-0.86131 h 0.53372 v 0.90548 h 1.15945 v 0.65519 h -1.15945 v 2.17904 q 0,0.31287 0.15459,0.46379 0.15827,0.14723 0.41225,0.14723 z"
277
     style="stroke-width:1.07690251"
278
     id="path1027"
279
     inkscape:connector-curvature="0" /><path
280
     d="m 363.12517,-397.13706 q 0,0.59629 -0.43434,0.91653 -0.43433,0.31655 -1.24412,0.31655 -0.81346,0 -1.30669,-0.24662 v -0.7472 q 0.71776,0.33127 1.33614,0.33127 0.79874,0 0.79874,-0.48219 0,-0.15459 -0.0883,-0.25766 -0.0883,-0.10306 -0.29079,-0.21348 -0.20244,-0.11043 -0.56316,-0.2503 -0.70304,-0.27238 -0.95333,-0.54476 -0.24662,-0.27238 -0.24662,-0.70672 0,-0.52267 0.41962,-0.80978 0.42329,-0.29078 1.14841,-0.29078 0.71776,0 1.35822,0.29078 l -0.27974,0.65151 q -0.65887,-0.27238 -1.10793,-0.27238 -0.68463,0 -0.68463,0.39016 0,0.19141 0.17668,0.32392 0.18036,0.13251 0.78034,0.3644 0.50427,0.19508 0.73248,0.35704 0.22821,0.16195 0.33863,0.37544 0.11043,0.20981 0.11043,0.50427 z"
281
     style="stroke-width:1.07690251"
282
     id="path1029"
283
     inkscape:connector-curvature="0" /><path
284
     d="m 366.93253,-395.9776 -0.12147,-0.53372 h -0.0442 q -0.18036,0.28342 -0.51531,0.44538 -0.33127,0.16196 -0.75825,0.16196 -0.73984,0 -1.10424,-0.36809 -0.36441,-0.36808 -0.36441,-1.11528 v -2.66124 h 0.87236 v 2.51032 q 0,0.46747 0.1914,0.70304 0.1914,0.23189 0.59997,0.23189 0.54477,0 0.79874,-0.32391 0.25766,-0.32759 0.25766,-1.0932 v -2.02814 h 0.86867 v 4.07099 z"
285
     style="stroke-width:1.07690251"
286
     id="path1031"
287
     inkscape:connector-curvature="0" /><path
288
     d="m 370.91327,-395.90398 q -0.77297,0 -1.19995,-0.55581 h -0.0515 q 0.0515,0.51532 0.0515,0.62574 v 1.66741 h -0.86499 v -5.88195 h 0.69935 q 0.0294,0.11411 0.12147,0.54477 h 0.0442 q 0.40489,-0.61838 1.21467,-0.61838 0.76193,0 1.18522,0.55212 0.42698,0.55212 0.42698,1.54963 0,0.9975 -0.43434,1.55698 -0.43065,0.55949 -1.19258,0.55949 z m -0.20981,-3.51151 q -0.51531,0 -0.75457,0.30183 -0.23557,0.30183 -0.23557,0.96438 v 0.12883 q 0,0.74352 0.23557,1.07848 0.23557,0.33127 0.76929,0.33127 0.44906,0 0.692,-0.36808 0.24293,-0.36808 0.24293,-1.04904 0,-0.68463 -0.24293,-1.03431 -0.23926,-0.35336 -0.70672,-0.35336 z"
289
     style="stroke-width:1.07690251"
290
     id="path1033"
291
     inkscape:connector-curvature="0" /><path
292
     d="m 375.32254,-395.90398 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49692,-0.57052 1.36559,-0.57052 0.8061,0 1.27356,0.48955 0.46747,0.48955 0.46747,1.34718 v 0.46746 h -2.71277 q 0.0184,0.59261 0.32023,0.91284 0.30183,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32391,0.0626 -0.73985,0.0626 z m -0.15827,-3.56304 q -0.41225,0 -0.66255,0.26134 -0.24661,0.26134 -0.29446,0.76193 h 1.84777 q -0.007,-0.50427 -0.24294,-0.76193 -0.23557,-0.26134 -0.64782,-0.26134 z m -0.55212,-1.07848 v -0.092 q 0.2098,-0.25765 0.43065,-0.5742 0.22453,-0.31656 0.35336,-0.54109 h 1.00486 v 0.0773 q -0.1914,0.22453 -0.5742,0.58157 -0.37913,0.35336 -0.64047,0.54844 z"
293
     style="stroke-width:1.07690251"
294
     id="path1035"
295
     inkscape:connector-curvature="0" /><path
296
     d="m 379.95172,-400.1222 q 0.26134,0 0.43066,0.0368 l -0.0847,0.8061 q -0.18404,-0.0442 -0.38281,-0.0442 -0.51899,0 -0.84291,0.33863 -0.32023,0.33864 -0.32023,0.87972 v 2.12751 h -0.86499 v -4.07099 h 0.67727 l 0.11411,0.71776 h 0.0442 q 0.20244,-0.3644 0.52635,-0.57788 0.3276,-0.21349 0.70304,-0.21349 z"
297
     style="stroke-width:1.07690251"
298
     id="path1037"
299
     inkscape:connector-curvature="0" /><path
300
     d="m 382.00077,-395.9776 h -0.865 v -4.07099 h 0.865 z m -0.91653,-5.14947 q 0,-0.23189 0.12515,-0.35704 0.12883,-0.12514 0.3644,-0.12514 0.22821,0 0.35336,0.12514 0.12883,0.12515 0.12883,0.35704 0,0.22085 -0.12883,0.34968 -0.12515,0.12515 -0.35336,0.12515 -0.23557,0 -0.3644,-0.12515 -0.12515,-0.12883 -0.12515,-0.34968 z"
301
     style="stroke-width:1.07690251"
302
     id="path1039"
303
     inkscape:connector-curvature="0" /><path
304
     d="m 385.01682,-395.90398 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36558,-0.57052 0.8061,0 1.27357,0.48955 0.46746,0.48955 0.46746,1.34718 v 0.46746 h -2.71276 q 0.0184,0.59261 0.32023,0.91284 0.30183,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64047,0.21349 -0.32391,0.0626 -0.73984,0.0626 z m -0.15828,-3.56304 q -0.41225,0 -0.66254,0.26134 -0.24662,0.26134 -0.29447,0.76193 h 1.84777 q -0.007,-0.50427 -0.24293,-0.76193 -0.23557,-0.26134 -0.64783,-0.26134 z"
305
     style="stroke-width:1.07690251"
306
     id="path1041"
307
     inkscape:connector-curvature="0" /><path
308
     d="m 390.45209,-395.9776 -0.12146,-0.53372 h -0.0442 q -0.18036,0.28342 -0.51532,0.44538 -0.33127,0.16196 -0.75825,0.16196 -0.73984,0 -1.10424,-0.36809 -0.3644,-0.36808 -0.3644,-1.11528 v -2.66124 h 0.87235 v 2.51032 q 0,0.46747 0.1914,0.70304 0.19141,0.23189 0.59998,0.23189 0.54476,0 0.79873,-0.32391 0.25766,-0.32759 0.25766,-1.0932 v -2.02814 h 0.86868 v 4.07099 z"
309
     style="stroke-width:1.07690251"
310
     id="path1043"
311
     inkscape:connector-curvature="0" /><path
312
     d="m 394.4328,-400.1222 q 0.26134,0 0.43065,0.0368 l -0.0847,0.8061 q -0.18405,-0.0442 -0.38281,-0.0442 -0.519,0 -0.84291,0.33863 -0.32023,0.33864 -0.32023,0.87972 v 2.12751 h -0.86499 v -4.07099 h 0.67727 l 0.1141,0.71776 h 0.0442 q 0.20245,-0.3644 0.52636,-0.57788 0.32759,-0.21349 0.70304,-0.21349 z"
313
     style="stroke-width:1.07690251"
314
     id="path1045"
315
     inkscape:connector-curvature="0" /><path
316
     d="m 285.49369,-386.85799 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36558,-0.57052 0.8061,0 1.27356,0.48955 0.46747,0.48955 0.46747,1.34718 v 0.46746 h -2.71277 q 0.0184,0.59261 0.32024,0.91284 0.30182,0.31655 0.85027,0.31655 0.36072,0 0.6699,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32391,0.0626 -0.73984,0.0626 z m -0.15828,-3.56304 q -0.41225,0 -0.66255,0.26134 -0.24661,0.26134 -0.29446,0.76193 h 1.84777 q -0.007,-0.50427 -0.24293,-0.76193 -0.23558,-0.26134 -0.64783,-0.26134 z"
317
     style="stroke-width:1.07690251"
318
     id="path1047"
319
     inkscape:connector-curvature="0" /><path
320
     d="m 289.57442,-387.55735 q 0.31655,0 0.6331,-0.0994 v 0.6515 q -0.14355,0.0626 -0.37176,0.10307 -0.22453,0.0442 -0.46747,0.0442 -1.22939,0 -1.22939,-1.29565 v -2.19377 h -0.5558 v -0.38281 l 0.59629,-0.31655 0.29446,-0.86131 h 0.53372 v 0.90548 h 1.15946 v 0.65519 h -1.15946 v 2.17904 q 0,0.31287 0.1546,0.46379 0.15827,0.14723 0.41225,0.14723 z"
321
     style="stroke-width:1.07690251"
322
     id="path1049"
323
     inkscape:connector-curvature="0" /><path
324
     d="m 293.84543,-386.93161 h -0.86499 v -5.72735 h 0.86499 z"
325
     style="stroke-width:1.07690251"
326
     id="path1051"
327
     inkscape:connector-curvature="0" /><path
328
     d="m 297.63074,-386.93161 -0.17299,-0.56685 h -0.0294 q -0.29447,0.37177 -0.59261,0.50796 -0.29815,0.13251 -0.76561,0.13251 -0.59998,0 -0.93861,-0.32392 -0.33496,-0.32391 -0.33496,-0.91652 0,-0.62942 0.46747,-0.94965 0.46746,-0.32023 1.42448,-0.34968 l 0.70303,-0.0221 v -0.21717 q 0,-0.39017 -0.18404,-0.58157 -0.18036,-0.19509 -0.56316,-0.19509 -0.31287,0 -0.59998,0.092 -0.2871,0.092 -0.55212,0.21716 l -0.27974,-0.61837 q 0.33127,-0.173 0.72512,-0.26134 0.39385,-0.092 0.74352,-0.092 0.77666,0 1.1705,0.33863 0.39753,0.33864 0.39753,1.06376 v 2.74221 z m -1.28828,-0.58893 q 0.47114,0 0.75457,-0.26134 0.2871,-0.26502 0.2871,-0.73984 v -0.35336 l -0.52268,0.0221 q -0.61101,0.0221 -0.89075,0.20613 -0.27607,0.18036 -0.27607,0.5558 0,0.27238 0.16196,0.4233 0.16196,0.14723 0.48587,0.14723 z"
329
     style="stroke-width:1.07690251"
330
     id="path1053"
331
     inkscape:connector-curvature="0" /><path
332
     d="m 303.48074,-391.07621 q 0.26134,0 0.43066,0.0368 l -0.0847,0.8061 q -0.18404,-0.0442 -0.38281,-0.0442 -0.51899,0 -0.8429,0.33863 -0.32024,0.33864 -0.32024,0.87972 v 2.12751 h -0.86499 v -4.07099 h 0.67727 l 0.11411,0.71776 h 0.0442 q 0.20244,-0.3644 0.52636,-0.57788 0.32759,-0.21349 0.70303,-0.21349 z"
333
     style="stroke-width:1.07690251"
334
     id="path1055"
335
     inkscape:connector-curvature="0" /><path
336
     d="m 306.44266,-386.85799 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36559,-0.57052 0.8061,0 1.27356,0.48955 0.46746,0.48955 0.46746,1.34718 v 0.46746 h -2.71276 q 0.0184,0.59261 0.32023,0.91284 0.30183,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32392,0.0626 -0.73985,0.0626 z m -0.15827,-3.56304 q -0.41226,0 -0.66255,0.26134 -0.24662,0.26134 -0.29447,0.76193 h 1.84777 q -0.007,-0.50427 -0.24293,-0.76193 -0.23557,-0.26134 -0.64782,-0.26134 z"
337
     style="stroke-width:1.07690251"
338
     id="path1057"
339
     inkscape:connector-curvature="0" /><path
340
     d="m 310.64854,-386.85799 q -0.92388,0 -1.40607,-0.5374 -0.47851,-0.54108 -0.47851,-1.54963 0,-1.02695 0.50059,-1.57907 0.50428,-0.55212 1.45393,-0.55212 0.64414,0 1.15946,0.23925 l -0.26134,0.69568 q -0.54844,-0.21349 -0.90548,-0.21349 -1.0564,0 -1.0564,1.40239 0,0.68463 0.26134,1.03063 0.26502,0.34232 0.77297,0.34232 0.57789,0 1.0932,-0.28711 v 0.75457 q -0.23189,0.13619 -0.49691,0.19508 -0.26133,0.0589 -0.63678,0.0589 z"
341
     style="stroke-width:1.07690251"
342
     id="path1059"
343
     inkscape:connector-curvature="0" /><path
344
     d="m 316.31981,-386.93161 h -0.86867 v -2.50296 q 0,-0.47114 -0.19141,-0.70303 -0.18772,-0.2319 -0.59997,-0.2319 -0.54476,0 -0.80242,0.3276 -0.25397,0.32391 -0.25397,1.08952 v 2.02077 h -0.865 v -5.72735 h 0.865 v 1.45392 q 0,0.34968 -0.0442,0.74721 h 0.0552 q 0.17668,-0.29447 0.48955,-0.45643 0.31655,-0.16195 0.73616,-0.16195 1.47969,0 1.47969,1.49073 z"
345
     style="stroke-width:1.07690251"
346
     id="path1061"
347
     inkscape:connector-curvature="0" /><path
348
     d="m 319.30304,-386.85799 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36559,-0.57052 0.8061,0 1.27356,0.48955 0.46747,0.48955 0.46747,1.34718 v 0.46746 h -2.71277 q 0.0184,0.59261 0.32023,0.91284 0.30183,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31655,0.15092 -0.64046,0.21349 -0.32391,0.0626 -0.73985,0.0626 z m -0.15827,-3.56304 q -0.41225,0 -0.66255,0.26134 -0.24661,0.26134 -0.29447,0.76193 h 1.84778 q -0.007,-0.50427 -0.24294,-0.76193 -0.23557,-0.26134 -0.64782,-0.26134 z"
349
     style="stroke-width:1.07690251"
350
     id="path1063"
351
     inkscape:connector-curvature="0" /><path
352
     d="m 323.93222,-391.07621 q 0.26134,0 0.43065,0.0368 l -0.0847,0.8061 q -0.18405,-0.0442 -0.38281,-0.0442 -0.519,0 -0.84291,0.33863 -0.32023,0.33864 -0.32023,0.87972 v 2.12751 h -0.86499 v -4.07099 h 0.67727 l 0.11411,0.71776 h 0.0442 q 0.20245,-0.3644 0.52636,-0.57788 0.32759,-0.21349 0.70304,-0.21349 z"
353
     style="stroke-width:1.07690251"
354
     id="path1065"
355
     inkscape:connector-curvature="0" /><path
356
     d="m 326.75792,-386.85799 q -0.92389,0 -1.40608,-0.5374 -0.4785,-0.54108 -0.4785,-1.54963 0,-1.02695 0.50059,-1.57907 0.50427,-0.55212 1.45392,-0.55212 0.64415,0 1.15946,0.23925 l -0.26134,0.69568 q -0.54844,-0.21349 -0.90548,-0.21349 -1.05639,0 -1.05639,1.40239 0,0.68463 0.26133,1.03063 0.26502,0.34232 0.77298,0.34232 0.57788,0 1.0932,-0.28711 v 0.75457 q -0.23189,0.13619 -0.49691,0.19508 -0.26134,0.0589 -0.63678,0.0589 z"
357
     style="stroke-width:1.07690251"
358
     id="path1067"
359
     inkscape:connector-curvature="0" /><path
360
     d="m 332.42918,-386.93161 h -0.86867 v -2.50296 q 0,-0.47114 -0.1914,-0.70303 -0.18772,-0.2319 -0.59997,-0.2319 -0.54477,0 -0.80242,0.3276 -0.25398,0.32391 -0.25398,1.08952 v 2.02077 h -0.86499 v -5.72735 h 0.86499 v 1.45392 q 0,0.34968 -0.0442,0.74721 h 0.0552 q 0.17668,-0.29447 0.48955,-0.45643 0.31655,-0.16195 0.73617,-0.16195 1.47968,0 1.47968,1.49073 z"
361
     style="stroke-width:1.07690251"
362
     id="path1069"
363
     inkscape:connector-curvature="0" /><path
364
     d="m 335.41242,-386.85799 q -0.94965,0 -1.48705,-0.55213 -0.53372,-0.5558 -0.53372,-1.52754 0,-0.9975 0.49691,-1.56803 0.49691,-0.57052 1.36558,-0.57052 0.8061,0 1.27357,0.48955 0.46746,0.48955 0.46746,1.34718 v 0.46746 h -2.71276 q 0.0184,0.59261 0.32023,0.91284 0.30183,0.31655 0.85027,0.31655 0.36072,0 0.66991,-0.0663 0.31287,-0.0699 0.66991,-0.22821 v 0.70303 q -0.31656,0.15092 -0.64047,0.21349 -0.32391,0.0626 -0.73984,0.0626 z m -0.15828,-3.56304 q -0.41225,0 -0.66254,0.26134 -0.24662,0.26134 -0.29447,0.76193 h 1.84777 q -0.007,-0.50427 -0.24293,-0.76193 -0.23558,-0.26134 -0.64783,-0.26134 z"
365
     style="stroke-width:1.07690251"
366
     id="path1071"
367
     inkscape:connector-curvature="0" /></g>
368
<path
369
   style="opacity:1;fill:#2c3792;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.32834244;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.46666667"
370
   d="m 283.86396,461.35019 h 10.1891 l -3.12938,-1.38541 -0.54494,-38.93555 3.67553,-1.39979 h -10.07 l 3.23134,1.43187 -0.30999,39.05632 z"
371
   id="rect5198"
372
   inkscape:connector-curvature="0"
373
   sodipodi:nodetypes="ccccccccc" /><path
374
   d="m 177.73656,436.84503 h -18.18889 v 24.0574 h 18.18889 z"
375
   style="fill:#2c3792;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.61508262"
376
   id="path4497-5-1-6-9-1-5"
377
   inkscape:connector-curvature="0"
378
   inkscape:export-filename="C:\Users\arnaud\Documents\logos\triple store\logo-idref-blanc-361x76.png"
379
   inkscape:export-xdpi="150"
380
   inkscape:export-ydpi="150" /><path
381
   d="M 177.68307,387.17725 H 159.6164 v 24.14683 h 18.06667 z"
382
   style="fill:#2c3792;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.61415285"
383
   id="path4497-5-1-6-6-3-8-7"
384
   inkscape:connector-curvature="0"
385
   inkscape:export-filename="C:\Users\arnaud\Documents\logos\triple store\logo-idref-blanc-361x76.png"
386
   inkscape:export-xdpi="150"
387
   inkscape:export-ydpi="150" /><path
388
   style="fill:#2c3792;fill-opacity:1;stroke:none;stroke-width:1.60573208px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
389
   d="m 192.10386,436.76053 -0.0294,24.93148 44.70657,-0.14772 c 0,0 34.56676,-0.78356 34.53088,-37.11613 -0.0351,-35.62379 -33.19517,-37.73615 -33.19517,-37.73615 l -45.97053,0.0152 -0.11644,24.44844 19.24202,-0.0491 0.0119,-5.11486 24.28993,-0.15848 c 0,0 16.15001,2.32384 16.57205,18.20005 -0.26549,17.25517 -16.72169,18.10516 -16.72169,18.10516 l -24.18061,-0.15197 0.0215,-5.16156 z"
390
   id="path5476-8-6-6"
391
   inkscape:connector-curvature="0"
392
   sodipodi:nodetypes="cccsccccccccccc"
393
   inkscape:export-filename="C:\Users\arnaud\Documents\logos\triple store\logo-idref-blanc-361x76.png"
394
   inkscape:export-xdpi="150"
395
   inkscape:export-ydpi="150" /><rect
396
   style="opacity:1;fill:#da1259;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:4.46608543;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:0.46666667"
397
   id="rect6433-1"
398
   width="76.93605"
399
   height="14.257346"
400
   x="146.94911"
401
   y="-431.19016"
402
   ry="7.1286731"
403
   transform="scale(1,-1)" /></g></svg>
(-)a/koha-tmpl/opac-tmpl/bootstrap/js/idref.js (+83 lines)
Line 0 Link Here
1
if (KOHA === undefined || !KOHA) { var KOHA = {}; }
2
3
4
/**
5
 * A namespace for idref
6
 */
7
KOHA.idref = {
8
9
    /**
10
     * Set a click handler for all anchors <a class="idref-link">.
11
     */
12
    init: function() {
13
        $("a[class='idref-link']").click(this.click);
14
    },
15
16
    /**
17
     * Get the publications from author identified by its ppn, using Koha svc
18
     * webservice. Display the result in a new tab of the holdings table.
19
     */
20
    click: function(e) {
21
        const ppn = $(this).attr("ppn");
22
        const url = '/cgi-bin/koha/svc/idref?ppn=' + ppn;
23
        $.getJSON(url, function(publications) {
24
            let html;
25
            if (publications.name === '') {
26
                html = __('Author not found in IdRef');
27
            } else {
28
                const navig = publications.roles.map(role => '<a href="#idref-role-' + role.code + '" style="font-size: 90%;">' + role.label + ' (' + role.docs.length + ')</a>');
29
                html =
30
                    "<h2>" + publications.name + " / <small>" +
31
                    "<a href=\"https://www.idref.fr/" + publications.ppn + "\" target=\"_blank\">" +
32
                    publications.ppn + "</a></small></h2>" +
33
                    "<div><div style=\"margin-bottom: 5px;\"> " + navig.join(' • ') + "</div>";
34
                publications.roles.forEach((role) => {
35
                    html +=
36
                        "<h3 id=\"idref-role-" + role.code + "\">" + role.label + "</h3>" +
37
                        "<table class=\"table table-striped table-hover table-sm\"><tbody>";
38
                    role.docs.forEach((doc) => {
39
                        html +=
40
                            "<tr><td>" +
41
                            "<a href=\"https://www.sudoc.fr/" + doc.ppn + " target=\"_blank\" rel=\"noreferrer\">" +
42
                            "<img title=\"" +
43
                            __('Publication In Sudoc Catalog') +
44
                            "\" src=\"/opac-tmpl/bootstrap/images/sudoc.png\" />" +
45
                            "</a>";
46
                        if (doc.bib) {
47
                            html +=
48
                                "<a href=\"/cgi-bin/koha/opac-detail.pl?biblionumber=" + doc.bib + " target=\"_blank\">" +
49
                                "<img title=\"" +
50
                                __('Publication In Local Catalog') +
51
                                "\" src=\"/opac-tmpl/bootstrap/images/favicon.ico\" />" +
52
                                "</a>";
53
                        }
54
                        html += "</td><td>" + doc.citation + "</td></tr>";
55
                    });
56
                    html += '</tbody></table>';
57
                });
58
                html += '</div>';
59
            }
60
            const idrefDiv = $('#idref-publications');
61
            if (idrefDiv.length) {
62
                idrefDiv.html(html);
63
            } else {
64
                html = "<div id=\"idref-publications\">" + html + "</div>";
65
                const tabMenu =
66
                    '<li id="tab_idref_publications" class="nav-item" role="presentation">' +
67
                    '<a href="#idref-publications" class="nav-link" id="idref-publications-tab" data-toggle="tab" role="tab" aria-selected="false">' +
68
                    '<img src="/opac-tmpl/bootstrap/images/idref.svg" style="height: 20px;"/>' +
69
                    '</a></li>';
70
                const tabs = $('#bibliodescriptions');
71
                const ul = tabs.find("ul");
72
                $(ul).append(tabMenu);
73
                $('.tab-content').append(html);
74
                showBsTab("bibliodescriptions", "idref-publications");
75
            }
76
            $('a[href="#idref-publications"]').click();
77
            $([document.documentElement, document.body]).animate({
78
                scrollTop: $("#idref-publications").offset().top
79
            }, 2000);
80
        });
81
    }
82
83
};
(-)a/opac/opac-idref.pl (-91 lines)
Lines 1-91 Link Here
1
#!/usr/bin/perl
2
3
# This file is part of Koha.
4
#
5
# Copyright (C) 2014 BibLibre
6
#
7
# Koha is free software; you can redistribute it and/or modify it
8
# under the terms of the GNU General Public License as published by
9
# the Free Software Foundation; either version 3 of the License, or
10
# (at your option) any later version.
11
#
12
# Koha is distributed in the hope that it will be useful, but
13
# WITHOUT ANY WARRANTY; without even the implied warranty of
14
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
# GNU General Public License for more details.
16
#
17
# You should have received a copy of the GNU General Public License
18
# along with Koha; if not, see <http://www.gnu.org/licenses>.
19
20
use Modern::Perl;
21
22
use CGI;
23
use LWP::UserAgent;
24
use JSON qw( from_json );
25
use Encode;
26
27
use C4::Auth qw( get_template_and_user );
28
use C4::Context;
29
use C4::Search;
30
use C4::Output qw( output_html_with_http_headers );
31
32
my $cgi = CGI->new;
33
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
34
    {
35
        template_name   => "opac-idref.tt",
36
        query           => $cgi,
37
        type            => "opac",
38
        authnotrequired => ( C4::Context->preference("OpacPublic") ? 1 : 0 ),
39
    }
40
);
41
42
my $ua = LWP::UserAgent->new;
43
44
# See http://documentation.abes.fr/aideidrefdeveloppeur/index.html#MicroWebBiblio
45
my $base = 'http://www.idref.fr/services/biblio/';
46
my $unimarc3 = $cgi->param('unimarc3');
47
48
my $request = HTTP::Request->new(
49
    'GET',
50
    $base . $unimarc3 . ".json",
51
);
52
$request->protocol('HTTP/1.1');
53
my $response = $ua->request($request);
54
if ( not $response->is_success) {
55
    $template->param(error => $base.$unimarc3.'.json');
56
    output_html_with_http_headers $cgi, $cookie, $template->output;
57
    exit;
58
}
59
60
my $content = Encode::decode("utf8", $response->content);
61
my $json = from_json( $content );
62
my $r;
63
my @results = ref $json->{sudoc}{result} eq "ARRAY"
64
            ? @{ $json->{sudoc}{result} }
65
            : ($json->{sudoc}{result});
66
67
for my $result (@results) {
68
    my $role_node = $result->{'role'};
69
    my @roles =
70
      ref $role_node eq "ARRAY"
71
      ? @$role_node
72
      : ($role_node);
73
    for my $role (@roles) {
74
        my @docs = ref $role->{doc} eq "ARRAY"
75
            ? @{ $role->{doc} }
76
            : $role->{doc};
77
        push @$r,
78
          {
79
            role_name => $role->{roleName},
80
            count     => $role->{count},
81
            docs      => \@docs,
82
          };
83
    }
84
}
85
86
$template->param(
87
    content => $r,
88
    unimarc3 => $unimarc3,
89
);
90
91
output_html_with_http_headers $cgi, $cookie, $template->output;
(-)a/opac/svc/idref (-1 / +107 lines)
Line 0 Link Here
0
- 
1
#!/usr/bin/perl
2
3
# This file is part of Koha.
4
#
5
# Koha is free software; you can redistribute it and/or modify it
6
# under the terms of the GNU General Public License as published by
7
# the Free Software Foundation; either version 3 of the License, or
8
# (at your option) any later version.
9
#
10
# Koha is distributed in the hope that it will be useful, but
11
# WITHOUT ANY WARRANTY; without even the implied warranty of
12
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
# GNU General Public License for more details.
14
#
15
# You should have received a copy of the GNU General Public License
16
# along with Koha; if not, see <http://www.gnu.org/licenses>.
17
18
use Modern::Perl;
19
20
use CGI;
21
use LWP::UserAgent;
22
use JSON qw( from_json to_json );
23
use Encode;
24
use C4::Context;
25
use C4::Output qw( output_with_http_headers );
26
use Search::Elasticsearch;
27
28
29
my $cgi = CGI->new;
30
31
# See http://documentation.abes.fr/aideidrefdeveloppeur/index.html#MicroWebBiblio
32
my $base = 'http://www.idref.fr/services/biblio/';
33
my $unimarc3 = $cgi->param('ppn');
34
35
my $publications = { name => '', ppn => $unimarc3, roles => [] };
36
my $send_result = sub {
37
    my $json = to_json($publications);
38
    utf8::encode($json);
39
    output_with_http_headers($cgi, undef, $json, 'json');
40
    exit;
41
};
42
43
my $ua = LWP::UserAgent->new;
44
my $request = HTTP::Request->new(
45
    'GET',
46
    $base . $unimarc3 . ".json",
47
);
48
$request->protocol('HTTP/1.1');
49
my $response = $ua->request($request);
50
$send_result->() if not $response->is_success;
51
52
my $content = Encode::decode("utf8", $response->content);
53
my $json = from_json($content);
54
my $result = $json->{sudoc}->{result};
55
$send_result->() if $result->{countRoles} == 0;
56
57
$publications->{name} = $result->{name};
58
$result->{role} = [ $result->{role} ] if ref($result->{role}) ne 'ARRAY';
59
my $ppn;
60
for my $r (@{$result->{role}}) {
61
    my $role = {
62
        code => $r->{unimarcCode},
63
        label => $r->{roleName},
64
        docs => [],
65
    };
66
    $r->{doc} = [ $r->{doc} ] if ref $r->{doc} ne 'ARRAY';
67
    for my $doc ( @{$r->{doc}} ) {
68
        push @{$role->{docs}}, {
69
            ppn => $doc->{ppn},
70
            citation => $doc->{citation},
71
        };
72
        push @$ppn, $doc->{ppn};
73
    }
74
    push @{$publications->{roles}}, $role;
75
}
76
77
my $ec = C4::Context->config('elasticsearch');
78
my $e = Search::Elasticsearch->new( nodes => $ec->{server} );
79
my $query = {
80
    index => $ec->{index_name} . '_biblios',
81
    body => {
82
        _source => ["ppn"],
83
        size => '10000',
84
        query => { terms => { ppn => $ppn } }
85
    }
86
};
87
my $res = $e->search($query);
88
my $hits = $res->{hits}->{hits};
89
my $ppn_to_bib;
90
for my $hit (@$hits) {
91
    my $ppn = $hit->{_source}->{ppn}->[0];
92
    $ppn_to_bib->{$ppn} = $hit->{_id};
93
}
94
for my $role (@{$publications->{roles}}) {
95
    my @docs = @{$role->{docs}};
96
    for my $d (@docs) {
97
        my $bib = $ppn_to_bib->{ $d->{ppn} };
98
        $d->{bib} = $bib if $bib;
99
    }
100
    my $key = sub {
101
        my $doc = shift;
102
        ($doc->{bib} ? 'a' : 'b') . $doc->{citation};
103
    };
104
    @docs = sort { $key->($a) cmp $key->($b) } @docs;
105
    $role->{docs} = \@docs;
106
}
107
$send_result->();

Return to bug 32333