aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/editgroup_view.html
blob: 2557b06091d3dc0a123a1fef922e9549eee95cb1 (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
{% extends "base.html" %}
{% block body %}

{# extended by changelog_entry #}
{% block editgroupheader %}
<h1 class="ui header">Edit Group
<div class="sub header"><code>editgroup {{ editgroup.editgroup_id }}</code></div></h1>
{% endblock %}

<b>Editor:</b> <a href="/editor/{{editgroup.editor_id}}">{{ editgroup.editor.username }}</a>
<br><b>Description:</b> {{ editgroup.description }}
<br><br>

<div class="ui accordion">
<div class="title">
  <i class="dropdown icon"></i>Work Edits ({{ editgroup.edits.works|count }})
</div><div class="content">
    Some content
</div>
</div>

<h3>Work Edits ({{ editgroup.edits.works|count }})</h3>
<ul>
{% for edit in editgroup.edits.works %}
  <li>Work edit #<a href="/work/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
      <a href="/work/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
{% endfor %}
</ul>

<h3>Release Edits ({{ editgroup.edits.releases|count }})</h3>
<ul>
{% for edit in editgroup.edits.releases %}
  <li>Release edit #<a href="/release/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
      <a href="/release/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
{% endfor %}
</ul>

<h3>Container Edits ({{ editgroup.edits.containers|count }})</h3>
<ul>
{% for edit in editgroup.edits.containers %}
  <li>Container edit #<a href="/container/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
      <a href="/container/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
{% endfor %}
</ul>

<h3>Creator Edits ({{ editgroup.edits.creators|count }})</h3>
<ul>
{% for edit in editgroup.edits.creators %}
  <li>Creator edit #<a href="/creator/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
      <a href="/creator/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
{% endfor %}
</ul>

<h3>File Edits ({{ editgroup.edits.files|count }})</h3>
<ul>
{% for edit in editgroup.edits.files %}
  <li>File edit #<a href="/file/edit/{{ edit.edit_id }}">{{ edit.edit_id }}</a>:
      <a href="/file/{{ edit.ident }}">{{ edit.ident }}</a> to rev {{ edit.revision }}
{% endfor %}
</ul>

<br>
<p><b>What is an editgroup?</b>
An editgroup is a set of entity edits, bundled together into a coherent,
reviewable bundle.

{% endblock %}