reviewboard.reviews.views.review_request_infobox¶
View for rendering the review request infobox.
- class ReviewRequestInfoboxView(**kwargs)¶
Bases:
ReviewRequestViewMixin
,TemplateView
Display a review request info popup.
This produces the information needed to be displayed in a summarized information box upon hovering over a link to a review request.
This is meant to be embedded in other pages, rather than being a standalone page.
- template_name = 'reviews/review_request_infobox.html'¶
- MAX_REVIEWS = 3¶
- get_context_data(**kwargs) Dict[str, Any] ¶
Handle HTTP GET requests for this view.
- Parameters:
request (
django.http.HttpRequest
) – The HTTP request from the client.*args (
tuple
) – Positional arguments passed to the handler.**kwargs (
dict
) – Keyword arguments passed to the handler.
- Returns:
The HTTP response containing the infobox, or an error if the infobox could not be provided.
- Return type:
- __annotations__ = {}¶