-
Notifications
You must be signed in to change notification settings - Fork 3
/
show.html
executable file
·38 lines (31 loc) · 1.34 KB
/
show.html
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
{% extends layout %}
{% load item_tags %}
{% block content %}
<div style="font-size: larger; margin-left: 55% ">Members</div>
<div style = "float: left; width: 50%; margin-bottom;">
{% if item.image %}
{% ifagentcan 'view Group.image' item %}
{% ifagentcan 'view FileDocument.datafile' item.image %}
<img src="{{ item.image.datafile.url }}" style="max-width: 200px; max-height: 200px;" />
{% endifagentcan %}
{% endifagentcan %}
{% endif %}
<p style="color: blue; margin-top:.5em;"> Group Image </p>
{% ifagentcan 'view Item.description' item %}
<p style="font-size: 15px; margin-bottom:.5em;">{{ item.description }}</p>
{% else %}
<p style="font-size: 15px; margin-bottom:.5em;">YOU CANNOT VIEW THIS FIELD</p>
{% endifagentcan %}
<p style="color: blue; margin-top:.5em;"> Group Description </p>
</div>
<div style="padding: 10px; border: 2px solid #aaa; max-width:50%; margin-left: 55%">
{% embed 'collection' item %}
</div>
<div style="font-size: larger; margin-left: 58% "><a>All</a><a style="margin-left:1em">Individuals only</a> <a style="margin-left:1em;">Subgroups only</a></div>
{% if folio %}
<div style="font-size: larger; margin: 10px 0 10px 0;"><a href="{{ folio.get_absolute_url }}">Folio for this group</a></div>
<div style="padding: 10px; border: 2px solid #aaa;">
{% embed 'folio' folio %}
</div>
{% endif %}
{% endblock content %}