Skip to content

Commit

Permalink
Merge pull request #758 from nationalarchives/fix/edit-link-in-homepa…
Browse files Browse the repository at this point in the history
…ge-list

Revert unwanted changes to judgments_list_item.html
  • Loading branch information
jacksonj04 authored Mar 9, 2023
2 parents 9a39110 + 366cdc2 commit 7f7afe9
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{% load waffle_tags %}
{% load static i18n %}

<li class="judgments-list__judgment">
Expand Down Expand Up @@ -54,7 +55,9 @@
</li>
<li>
<span class="judgments-list__judgment-details-meta-key">
{% flag "editor_priority_filter" %}
{% translate "judgments.editor_priority" %}

</span>
<span class="judgments-list__judgment-details-meta-value">
<form action="/prioritise" method="post">
Expand All @@ -68,6 +71,7 @@
<input type="submit" name="submit" value="set priority">
</form>
</span>
{% endflag %}
</li>
<li>
<span class="judgments-list__judgment-details-meta-key">
Expand All @@ -91,7 +95,7 @@
</span>
<span class="judgments-list__judgment-details-meta-value">
{% if item.meta.assigned_to %}
<a href="{% url 'edit' %}?judgment_uri={{item.uri}}#assigned_to">{{ item.meta.assigned_to }}</a>
<a href="{% url 'edit-judgment' item.uri%}#assigned_to">{{ item.meta.assigned_to }}</a>
{% else %}
<form action="/assign" method="post" class="judgments-list__judgment-assign-form">
{% csrf_token %}
Expand All @@ -110,7 +114,7 @@
</div>
<div class="judgments-list__judgment-assigned">
{% if item.meta.assigned_to %}
<a href="{% url 'edit' %}?judgment_uri={{item.uri}}#assigned_to">{{ item.meta.assigned_to }}</a>
<a href="{% url 'edit-judgment' item.uri %}#assigned_to">{{ item.meta.assigned_to }}</a>
{% else %}
<form action="/assign" method="post" class="judgments-list__judgment-assign-form">
{% csrf_token %}
Expand Down

0 comments on commit 7f7afe9

Please sign in to comment.