blob: 388547a574e40b7b0d05ff5a4f7959f8048830ee (
about) (
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
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
|
{%extends "publications/base.html"%}
{%from "flash_messages.html" import flash_all_messages%}
{%block title%}View Publication{%endblock%}
{%block pagetitle%}View Publication{%endblock%}
{%block contents%}
{{flash_all_messages()}}
<div class="row">
<table class="table">
<tr>
<th>PubMed</th>
<td>
{%if publication.PubMed_ID%}
<a href="https://pubmed.ncbi.nlm.nih.gov/{{publication.PubMed_ID}}/"
target="_blank">{{publication.PubMed_ID}}</a>
{%else%}
—
{%endif%}
</td>
</tr>
<tr>
<th>Title</th>
<td>{{publication.Title or "—"}}</td>
</tr>
<tr>
<th>Authors</th>
<td>{{publication.Authors or "—"}}</td>
</tr>
<tr>
<th>Journal</th>
<td>{{publication.Journal or "—"}}</td>
</tr>
<tr>
<th>Published</th>
<td>{{publication.Month or ""}} {{publication.Year or "—"}}</td>
</tr>
<tr>
<th>Volume</th>
<td>{{publication.Volume or "—"}}</td>
</tr>
<tr>
<th>Pages</th>
<td>{{publication.Pages or "—"}}</td>
</tr>
<tr>
<th>Abstract</th>
<td>
{%for line in (publication.Abstract or "—").replace("\r\n", "<br />").replace("\n", "<br />").split("<br />")%}
<p>{{line}}</p>
{%endfor%}
</td>
</tr>
</table>
</div>
<div class="row">
<form id="frm-edit-delete-publication" method="POST" action="#">
<input type="hidden" name="publication_id" value="{{publication.Id}}" />
<div class="form-group">
<input type="submit" value="edit" class="btn btn-primary not-implemented" />
{%if linked_phenotypes | length == 0%}
<input type="submit" value="delete" class="btn btn-danger not-implemented" />
{%endif%}
</div>
</form>
</div>
{%endblock%}
{%block javascript%}
<script type="text/javascript">
$(function() {});
</script>
{%endblock%}
|