File: record_metadata_dc.html

package info (click to toggle)
qgis 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 374,696 kB
  • ctags: 66,263
  • sloc: cpp: 396,139; ansic: 241,070; python: 130,609; xml: 14,884; perl: 1,290; sh: 1,287; sql: 500; yacc: 268; lex: 242; makefile: 168
file content (90 lines) | stat: -rw-r--r-- 3,285 bytes parent folder | download | duplicates (4)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!DOCTYPE html>
<html lang="{{ language }}">
    <head>
        <meta charset="utf-8"/>
        <title>{{ gettext('Record Metadata') }}</title>
        <style type="text/css">
            body, h3 {
                background-color: #ffffff;
                font-family: arial, verdana, sans-serif;
                text-align: left;
                float: left;
            }
            header {
                display: inline-block;
            }
        </style>
    </head>
    <body>
        <header>
            <h3>{{ gettext('Record Metadata') }} (<a href="{{ obj.xml_url }}">{{ gettext('View XML') }}</a>)</h3>
        </header>
        <section id="record-metadata">
            <table>
                <tr>
                    <td>{{ gettext('Identifier') }}</td>
                    <td>{{ obj.identifier }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Title') }}</td>
                    <td>{{ obj.title }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Abstract') }}</td>
                    <td>{{ obj.abstract }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Subjects') }}</td>
                    <td>{{ obj.subjects|join(',') }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Creator') }}</td>
                    <td>{{ obj.creator }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Contributor') }}</td>
                    <td>{{ obj.contributor}}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Publisher') }}</td>
                    <td>{{ obj.publisher}}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Contributor') }}</td>
                    <td>{{ obj.contributor}}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Modified') }}</td>
                    <td>{{ obj.modified }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Language') }}</td>
                    <td>{{ obj.language }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Format') }}</td>
                    <td>{{ obj.format }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Rights') }}</td>
                    <td>{{ obj.rights|join(',') }}</td>
                </tr>
                <tr>
                    <td>{{ gettext('Bounding Box') }}</td>
                    <td>{{ [obj.bbox.minx, obj.bbox.miny, obj.bbox.maxx, obj.bbox.maxy]|join(',') }}</td>
                </tr>
            </table>
        </section>
        <section id="links">
            <h4>Links</h4>
            <ul>
            {% for link in obj.references %}
                <li><a href="{{ link['url'] }}">{{ link['scheme'] if link['scheme'] not in [None, 'None', ''] else gettext('Access Link') }}</a></li>
            {% endfor %}
            {% for link in obj.uris %}
                <li><a href="{{ link['url'] }}">{{ link['protocol'] if link['protocol'] not in [None, 'None', ''] else gettext('Access Link') }}</a></li>
            {% endfor %}
            </ul>
        </section>
    </body>
</html>