pyohio/symposion-bootstrap-templates

Name: symposion-bootstrap-templates

Owner: PyOhio

Description: Provides some basic templates for things in Registrasion, so that you get basic behaviour automatically.

Created: 2018-02-21 01:12:24.0

Updated: 2018-05-15 20:27:10.0

Pushed: 2018-05-15 20:27:09.0

Homepage: null

Size: 65

Language: HTML

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

symposion-bootstrap-templates

Provides some customisable bootstrap templates for things in Symposion, so that you get basic behaviour automatically.

What is the point of this?

symposion provides a bunch of django views that make the app tick, however, it does not include any templates, which means that as new features are added, things do not work automagically

How does it work

For each template required by symposion, symposion_templates provides two templates. Say the template used by the view is called view.html. We provide:

So you can either override view_.html if you're happy with the text and markup that view.html provides, or you can override view.html if you want to change the entire thing. Your choice!

Installation

Ensure that APP_DIRS is switched on in your settings, like so:

LATES = [{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'APP_DIRS': True,

Then add symposion_templates to your INSTALLED_APPS:

ALLED_APPS = [
.
ymposion_templates",
.

Overriding our defaults:
Using the templates

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.