Skip to content

Commit

Permalink
Merge pull request #349 from knatten/preview-link
Browse files Browse the repository at this point in the history
Add link to preview directly in the question
  • Loading branch information
knatten authored Aug 1, 2024
2 parents d378ed8 + a23b217 commit d89e58b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/quiz/admin_link.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%if user.is_staff%}
<p>
Admins, <a href="/admin/quiz/question/{{question.id}}/">edit this question</a>
Admins, <a href="/admin/quiz/question/{{question.id}}/">edit</a> or <a href="/quiz/question/{{question.id}}?preview_key={{question.preview_key}}">preview</a> this question
</p>
{%endif%}

0 comments on commit d89e58b

Please sign in to comment.