Skip to content

Restructure templates to idiomatic Jinja #7786

@TimDumol

Description

@TimDumol
mannequin

By idiomatic Jinja, I mean

  • Inheritance instead of inclusion

  • Arguments required are only the needed models to produce the required view [1]

This will make editing the templates easier, and will allow for a more consistent interface (by specifying base templates for each section).

[1] Model-View-Controller

CC: @qed777 @williamstein

Component: notebook

Author: Tim Dumol, Mitesh Patel

Reviewer: Mitesh Patel

Merged: sagenb-0.6

Issue created by migration from https://trac.sagemath.org/ticket/7786

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions