Remove spreadsheet example from breaking change

Since we’re only showing this page to team who are using the API we
don’t have to worry about explaining what’s going on in terms of the
spreadsheet any more.

This makes the page simpler.
This commit is contained in:
Chris Hill-Scott
2019-11-12 16:59:39 +00:00
parent dbc85fcc1f
commit fcadab3ce8
3 changed files with 3 additions and 39 deletions

View File

@@ -609,20 +609,11 @@ def edit_service_template(service_id, template_id):
not request.form.get('confirm') and
current_service.api_keys
):
example_column_headings = (
first_column_headings[new_template.template_type] + list(new_template.placeholders)
)
return render_template(
'views/templates/breaking-change.html',
template_change=template_change,
new_template=new_template,
column_headings=list(ascii_uppercase[:len(example_column_headings)]),
example_rows=[
example_column_headings,
get_example_csv_rows(new_template),
get_example_csv_rows(new_template)
],
form=form
form=form,
)
try:
service_api_client.update_service_template(