summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/editgroup_view.html
blob: 1b7a81d765e9adba13b5d7dc5b8af9c8caf4c9c6 (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
{% 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 %}

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

<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>

{% endblock %}