This commit is contained in:
Ross
2021-11-25 17:57:30 +00:00
parent d36395f31f
commit 72ad06f61c
2 changed files with 4 additions and 4 deletions
@@ -14,7 +14,7 @@
<span class="series-block"> <span class="series-block">
<span> <span>
Series {{ forloop.counter }}: Series {{ forloop.counter }}:
<a href="{% url 'atlas:atlas_series_detail' pk=series.pk %}"> <a href="{% url 'atlas:series_detail' pk=series.pk %}">
{{series.get_block}} {{series.get_block}}
</a> </a>
@@ -23,14 +23,14 @@
</span> </span>
</span> </span>
{% endfor %} {% endfor %}
<a href="{% url 'atlas:atlas_series_id_create' pk=case.pk %}">Add new series</a><br /> <a href="{% url 'atlas:series_id_create' pk=case.pk %}">Add new series</a><br />
</div> </div>
<p><b>Author(s):</b> {% for author in case.author.all %} <a <p><b>Author(s):</b> {% for author in case.author.all %} <a
href="{% url 'atlas:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p> href="{% url 'atlas:author_detail' pk=author.pk %}">{{author}}</a>, {% endfor %}</p>
<p><b>Checked by:</b> {% for verified in case.verified.all %} <a <p><b>Checked by:</b> {% for verified in case.verified.all %} <a
href="{% url 'atlas:verified_detail' pk=verified.pk %}">{{verified}}</a>, {% endfor %}</p> href="{% url 'atlas:verified_detail' pk=verified.pk %}">{{verified}}</a>, {% endfor %}</p>
{% comment %} <p><b>Scrapped:</b> {{ case.scrapped }} <a {% comment %} <p><b>Scrapped:</b> {{ case.scrapped }} <a
href="{% url 'atlas:atlas_scrap' pk=case.pk %}">(toggle)</a> {% endcomment %} href="{% url 'atlas:case_scrap' pk=case.pk %}">(toggle)</a> {% endcomment %}
<div class="atlas-answer"> <div class="atlas-answer">
<p class="pre-whitespace"> <p class="pre-whitespace">
+1 -1
View File
@@ -46,7 +46,7 @@ urlpatterns = [
path("question/<int:pk>/clone", views.AtlasClone.as_view(), name="case_clone"), path("question/<int:pk>/clone", views.AtlasClone.as_view(), name="case_clone"),
# path("verified/", views.verified, name="verified"), # path("verified/", views.verified, name="verified"),
# path("all_questions/", views.all_questions, name="all_questions"), # path("all_questions/", views.all_questions, name="all_questions"),
path("question/<int:pk>/scrap", views.atlas_scrap, name="atlas_scrap"), path("question/<int:pk>/scrap", views.atlas_scrap, name="case_scrap"),
path("question/<int:pk>/delete", views.AtlasDelete.as_view(), name="case_delete"), path("question/<int:pk>/delete", views.AtlasDelete.as_view(), name="case_delete"),
path("create/", views.AtlasCreate.as_view(), name="create"), path("create/", views.AtlasCreate.as_view(), name="create"),
path("create/series", views.SeriesCreate.as_view(), name="series_create"), path("create/series", views.SeriesCreate.as_view(), name="series_create"),