Changeset View
Changeset View
Standalone View
Standalone View
swh/web/browse/views/revision.py
Show First 20 Lines • Show All 293 Lines • ▼ Show 20 Lines | return render( | ||||
"revision_log": revision_log_data, | "revision_log": revision_log_data, | ||||
"revs_ordering": revs_ordering, | "revs_ordering": revs_ordering, | ||||
"next_log_url": next_log_url, | "next_log_url": next_log_url, | ||||
"prev_log_url": prev_log_url, | "prev_log_url": prev_log_url, | ||||
"breadcrumbs": None, | "breadcrumbs": None, | ||||
"top_right_link": None, | "top_right_link": None, | ||||
"snapshot_context": snapshot_context, | "snapshot_context": snapshot_context, | ||||
"vault_cooking": None, | "vault_cooking": None, | ||||
"show_actions_menu": True, | "show_actions": True, | ||||
"swhids_info": None, | "swhids_info": None, | ||||
}, | }, | ||||
) | ) | ||||
@browse_route( | @browse_route( | ||||
r"revision/(?P<sha1_git>[0-9a-f]+)/", | r"revision/(?P<sha1_git>[0-9a-f]+)/", | ||||
view_name="browse-revision", | view_name="browse-revision", | ||||
▲ Show 20 Lines • Show All 281 Lines • ▼ Show 20 Lines | return render( | ||||
"language": language, | "language": language, | ||||
"readme_name": readme_name, | "readme_name": readme_name, | ||||
"readme_url": readme_url, | "readme_url": readme_url, | ||||
"readme_html": readme_html, | "readme_html": readme_html, | ||||
"breadcrumbs": breadcrumbs, | "breadcrumbs": breadcrumbs, | ||||
"top_right_link": top_right_link, | "top_right_link": top_right_link, | ||||
"vault_cooking": vault_cooking, | "vault_cooking": vault_cooking, | ||||
"diff_revision_url": diff_revision_url, | "diff_revision_url": diff_revision_url, | ||||
"show_actions_menu": True, | "show_actions": True, | ||||
"swhids_info": swhids_info, | "swhids_info": swhids_info, | ||||
"error_code": error_code, | "error_code": error_code, | ||||
"error_message": error_message, | "error_message": error_message, | ||||
"error_description": error_description, | "error_description": error_description, | ||||
}, | }, | ||||
status=error_code, | status=error_code, | ||||
) | ) |