diff --git a/lmfdb/elliptic_curves/elliptic_curve.py b/lmfdb/elliptic_curves/elliptic_curve.py index 14eb87b237..5037fb97ae 100644 --- a/lmfdb/elliptic_curves/elliptic_curve.py +++ b/lmfdb/elliptic_curves/elliptic_curve.py @@ -764,21 +764,22 @@ def render_curve_webpage_by_label(label): code = data.code() code['show'] = {'magma':'','pari':'','sage':'','oscar':''} # use default show names learnmore_curve_picture = ('Picture description', url_for(".curve_picture_page")) - T = render_template("ec-curve.html", - properties=data.properties, - data=data, - # set default show names but actually code snippets are filled in only when needed - code=code, - bread=data.bread, title=data.title, - friends=data.friends, - downloads=data.downloads, - KNOWL_ID="ec.q.%s"%lmfdb_label, - BACKUP_KNOWL_ID="ec.q.%s"%data.lmfdb_iso, - learnmore=learnmore_list_add(*learnmore_curve_picture)) + T = render_template("ec-curve.html", + properties=data.properties, + data=data, + # set default show names but actually code snippets are filled in only when needed + code=code, + bread=data.bread, title=data.title, + friends=data.friends, + downloads=data.downloads, + KNOWL_ID="ec.q.%s"%lmfdb_label, + BACKUP_KNOWL_ID="ec.q.%s"%data.lmfdb_iso, + learnmore=learnmore_list_add(*learnmore_curve_picture)) ec_logger.debug("Total walltime: %ss"%(time.time() - t0)) ec_logger.debug("Total cputime: %ss"%(cputime(cpt0))) return T + @ec_page.route("/data/