Commit 7ba49fdd authored by markus scheller's avatar markus scheller
Browse files

Add column 'latex_template' to ProtocolType to use in the compiling process...

Add column 'latex_template' to ProtocolType to use in the compiling process and the corresponding view

#170
parent d26fa6aa
......@@ -71,6 +71,7 @@ class ProtocolType(DatabaseModel):
calendar = db.Column(db.String)
restrict_networks = db.Column(db.Boolean)
allowed_networks = db.Column(db.String)
latex_template = db.Column(db.String)
protocols = relationship("Protocol", backref=backref("protocoltype"), cascade="all, delete-orphan", order_by="Protocol.id")
default_tops = relationship("DefaultTOP", backref=backref("protocoltype"), cascade="all, delete-orphan", order_by="DefaultTOP.number")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment