Add UI for action bar
This commit is contained in:
parent
f9e9df6056
commit
b75a52fe74
22 changed files with 543 additions and 333 deletions
|
@ -82,6 +82,8 @@ from judge.utils.views import (
|
|||
generic_message,
|
||||
)
|
||||
from judge.widgets import HeavyPreviewPageDownWidget
|
||||
from judge.views.pagevote import PageVoteDetailView
|
||||
|
||||
|
||||
__all__ = [
|
||||
"ContestList",
|
||||
|
@ -380,7 +382,7 @@ class ContestMixin(object):
|
|||
)
|
||||
|
||||
|
||||
class ContestDetail(ContestMixin, TitleMixin, CommentedDetailView):
|
||||
class ContestDetail(ContestMixin, TitleMixin, CommentedDetailView, PageVoteDetailView):
|
||||
template_name = "contest/contest.html"
|
||||
|
||||
def get_comment_page(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue