|
@@ -4,7 +4,7 @@
|
4
|
4
|
{% set objects = my_classes.Issue.get(('%s = %s') % (uidfield, lodel_id)) %}
|
5
|
5
|
{% set person_class = leapi.name2class('Person') %}
|
6
|
6
|
{% set obj = objects.pop() %}
|
7
|
|
-{% block content %}
|
|
7
|
+{% block content %}
|
8
|
8
|
<ol class="breadcrumb">
|
9
|
9
|
<li><a href="/{{ root_url }}/">Home</a></li>
|
10
|
10
|
<li><a href="/{{ root_url }}/collection">Collections</a></li>
|
|
@@ -13,14 +13,14 @@
|
13
|
13
|
<h1 class="h1_lodel">Issue {{ obj.data('title') }} </h1>
|
14
|
14
|
<h2>{{ obj.data('subtitle') }}</h2>
|
15
|
15
|
{% set directors=person_class.get(("%s in (%s)") % (person_class.uid_fieldname()[0], obj.data('linked_directors')|join(','))) %}
|
16
|
|
-<p><strong>Directors : </strong>{% for director in directors %} <a href="/{{ root_url }}/show_object?classname=Person&lodel_id={{ director.uid() }} " target="_blank" >{{ director.data('firstname')}} {{ director.data('lastname')}}</a> ; {% endfor %}</p>
|
|
16
|
+<p><strong>Directors : </strong>{% for director in directors %} <a href="/{{ root_url }}/show_object?classname=Person&lodel_id={{ director.uid() }} " >{{ director.data('firstname')}} {{ director.data('lastname')}}</a> ; {% endfor %}</p>
|
17
|
17
|
{% set texts=my_classes.Text.get(("%s in (%s)") % (my_classes.Text.uid_fieldname()[0], obj.data('linked_texts')|join(','))) %}
|
18
|
18
|
{% set parts=my_classes.Part.get(("%s in (%s)") % (my_classes.Part.uid_fieldname()[0], obj.data('linked_parts')|join(','))) %}
|
19
|
19
|
{% if texts is not none: %}
|
20
|
20
|
<ul>
|
21
|
21
|
{% for text in texts %}
|
22
|
22
|
<li>
|
23
|
|
- <h3><a href="/{{ root_url }}/show_object?classname={{ text.data('classname') }}&lodel_id={{ text.uid() }}" target="_blank" > {{ text.data('title') }}</a></h3>
|
|
23
|
+ <h3><a href="/{{ root_url }}/show_object?classname={{ text.data('classname') }}&lodel_id={{ text.uid() }}" > {{ text.data('title') }}</a></h3>
|
24
|
24
|
<h4>{{ text.data('subtitle') }}</h4>
|
25
|
25
|
{% set authors = my_classes.Person.get(("%s in (%s)") % (person_class.uid_fieldname()[0], text.data('linked_persons')|join(','))) %}
|
26
|
26
|
<p>Authors : {% for author in authors %} {{ author.data('firstname')}} {{ author.data('lastname')}} ; {% endfor %} </p>
|
|
@@ -34,7 +34,7 @@
|
34
|
34
|
<ul>
|
35
|
35
|
{% for part in parts %}
|
36
|
36
|
<li>
|
37
|
|
- <h3><a href="/{{ root_url }}/show_object?classname={{ part.data('classname') }}&lodel_id={{ part.uid() }}" target="_blank"> {{ part.data('title') }}</a></h3>
|
|
37
|
+ <h3><a href="/{{ root_url }}/show_object?classname={{ part.data('classname') }}&lodel_id={{ part.uid() }}"> {{ part.data('title') }}</a></h3>
|
38
|
38
|
<h4>{{ part.data('subtitle') }}</h4>
|
39
|
39
|
{% set directors = my_classes.Person.get(("%s in (%s)") % (person_class.uid_fieldname()[0], part.data('linked_directors')|join(','))) %}
|
40
|
40
|
<p>Directors : {% for director in directors %} {{ director.data('firstname')}} {{ director.data('lastname')}} ; {% endfor %} </p>
|
|
@@ -43,7 +43,7 @@
|
43
|
43
|
<ul style="margin-left:20px">
|
44
|
44
|
{% for text in p_texts %}
|
45
|
45
|
<li>
|
46
|
|
- <h3><a href="/{{ root_url }}/show_object?classname={{ text.data('classname') }}&lodel_id={{ text.uid() }}" target="_blank"> {{ text.data('title') }}</a></h3>
|
|
46
|
+ <h3><a href="/{{ root_url }}/show_object?classname={{ text.data('classname') }}&lodel_id={{ text.uid() }}" > {{ text.data('title') }}</a></h3>
|
47
|
47
|
<h4>{{ text.data('subtitle') }}</h4>
|
48
|
48
|
{% set authors = my_classes.Person.get(("%s in (%s)") % (person_class.uid_fieldname()[0], text.data('linked_persons')|join(','))) %}
|
49
|
49
|
<p>Authors : {% for author in authors %} {{ author.data('firstname')}} {{ author.data('lastname')}} ; {% endfor %} </p>
|
|
@@ -57,7 +57,7 @@
|
57
|
57
|
<ul>
|
58
|
58
|
{% for part in ss_parts %}
|
59
|
59
|
<li>
|
60
|
|
- <h3><a href="/{{ root_url }}/show_object?classname={{ part.data('classname') }}&lodel_id={{ part.uid() }}" target="_blank"> {{ part.data('title') }}</a></h3>
|
|
60
|
+ <h3><a href="/{{ root_url }}/show_object?classname={{ part.data('classname') }}&lodel_id={{ part.uid() }}" > {{ part.data('title') }}</a></h3>
|
61
|
61
|
<h4>{{ part.data('subtitle') }}</h4>
|
62
|
62
|
{% set directors = my_classes.Person.get(("%s in (%s)") % (person_class.uid_fieldname()[0], part.data('linked_directors')|join(','))) %}
|
63
|
63
|
<p>Directors : {% for director in directors %} {{ director.data('firstname')}} {{ director.data('lastname')}} ; {% endfor %} </p>
|
|
@@ -66,7 +66,7 @@
|
66
|
66
|
<ul style="margin-left:20px">
|
67
|
67
|
{% for text in sp_texts %}
|
68
|
68
|
<li>
|
69
|
|
- <h3><a href="/{{ root_url }}/show_object?classname={{ text.data('classname') }}&lodel_id={{ text.uid() }}" target="_blank"> {{ text.data('title') }}</a></h3>
|
|
69
|
+ <h3><a href="/{{ root_url }}/show_object?classname={{ text.data('classname') }}&lodel_id={{ text.uid() }}" > {{ text.data('title') }}</a></h3>
|
70
|
70
|
<h4>{{ text.data('subtitle') }}</h4>
|
71
|
71
|
{% set authors = my_classes.Person.get(("%s in (%s)") % (person_class.uid_fieldname()[0], text.data('linked_persons')|join(','))) %}
|
72
|
72
|
<p>Authors : {% for author in authors %} {{ author.data('firstname')}} {{ author.data('lastname')}} ; {% endfor %} </p>
|
|
@@ -84,4 +84,4 @@
|
84
|
84
|
{% endif %}
|
85
|
85
|
</div>
|
86
|
86
|
|
87
|
|
-{% endblock %}
|
|
87
|
+{% endblock %}
|