SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 419a19c6 authored by Geert Kapteijns's avatar Geert Kapteijns
Browse files

Extract ThesisLink#header_as_table to partial template

Markup logic should be in templates, not in model layer.

Partial template is named _header_as_table to signal
that it is ment to be included into other templates
(analogous to the private method naming convention.)
The full text of several of the thesis link's fields
(domain, subject_area, etc.) are fetched from constant dicts
in custom filters defined in theses.templatetags.theses_extras.
parent 7c9d5de8
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment