Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e2d7421
Add ProblemEditorial class like ProblemStatement class.
segir187 May 28, 2025
9266f73
Add initial, stupid editorial tab implementation.
segir187 May 28, 2025
af79e58
Abstract away query_statement contents into query_document and call i…
segir187 May 28, 2025
1d737b9
Move editorial tab closer to statement.
segir187 May 28, 2025
b5dd303
Partially-correct abstraction of problem_site_statement -> problem_si…
segir187 May 28, 2025
5e143a2
Better check_for_statement implementation.
segir187 May 28, 2025
b46875b
Add no-problem-editorial.html template.
segir187 May 28, 2025
b43e247
Load different page depending on document type.
segir187 May 28, 2025
e5a0afe
Generalise problem_site_statement_zip_view into problem_site_document…
segir187 May 28, 2025
9f0f531
statement -> document in query_zip.
segir187 May 28, 2025
24932ea
Rename from-zip-statemnt.html template to from-zip-document.html.
segir187 May 28, 2025
94ed2a0
Pass type argument to problem_site_document_zip_view in problem_site_…
segir187 May 28, 2025
bedd34c
Generalise problem_site_external_statement_view -> problem_site_exter…
segir187 May 28, 2025
520f687
Make problem_site_document_zip_view throw Http404 for unknown documen…
segir187 May 28, 2025
010e8fe
Correct document_url setting for external-statement.html page.
segir187 May 28, 2025
840d0dc
Rename external-statement.html -> external-document.html.
segir187 May 28, 2025
816fe54
Generalise external-document.html contents.
segir187 May 28, 2025
554d851
Wording change.
segir187 May 28, 2025
a623664
Consistent case ordering in problem_site_document.
segir187 May 28, 2025
6fda6e8
Problem statement views before editorial views.
segir187 May 28, 2025
1309e1d
Fix view for pattern problem_site_statement_zip.
segir187 May 28, 2025
25345cf
Merge branch 'sio2project:master' into Editorials
segir187 Jun 4, 2025
a2afaf4
Rename replace_problem_statement tab to replace_statement_or_editorial.
segir187 Jun 5, 2025
870d878
Update problem_site_replace_statement -> problem_site_replace_stateme…
segir187 Jun 10, 2025
ccc5ef6
replace-problem-statement.html with two identical forms, one for stat…
segir187 Jun 10, 2025
b19cf67
Restore replace-problem-statement.html to previous form.
segir187 Jun 10, 2025
2b0892e
Initial implementation of two forms via includes.
segir187 Jun 10, 2025
bd536c6
Merge branch 'sio2project:master' into Editorials
segir187 Jun 10, 2025
eb3fa8e
Migration to create ProblemEditorial model.
segir187 Jun 10, 2025
33410d3
Slightly better includes (still not working).
segir187 Jun 10, 2025
065130f
Restore original version of replace-problem-statement.html.
segir187 Jun 11, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Rename external-statement.html -> external-document.html.
  • Loading branch information
segir187 committed May 28, 2025
commit 840d0dc2a6588120c3651c69f31340014b2b6315
2 changes: 1 addition & 1 deletion oioioi/problems/problem_site.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def problem_site_document(request, problem, document, type):
raise Http404("Document not found")

document_html = render_to_string(
'problems/external-statement.html',
'problems/external-document.html',
{'problem': problem,
'statement_url': document_url,
'can_admin_problem': can_admin_problem(request, problem)},
Expand Down