X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=templates%2Fprocess_descriptions.html;h=15899b1e7f1509f5b3c2fe0fc7967c9f50e83b96;hb=77e9d9dfa5681bc32e8aec8558d0fa449805e3ac;hp=f1b93cbd95148b137d539808e42322fd4c7a840c;hpb=29969c2d0fb6c464662737df1da94f76dc2c0982;p=plomtask diff --git a/templates/process_descriptions.html b/templates/process_descriptions.html index f1b93cb..15899b1 100644 --- a/templates/process_descriptions.html +++ b/templates/process_descriptions.html @@ -1,23 +1,9 @@ {% extends '_base.html' %} +{% import '_macros.html' as macros %} {% block content %} -

process description history

- - - - - - - -{% for date in process.description.history.keys() | sort(reverse=True) %} - - - - -{% endfor %} - -
process{{process.title.newest|e}}
{{date | truncate(19, True, '') }}
{{process.description.history[date]}}
+{{ macros.history_page("process", process, "description", process.description, as_pre=true) }} {% endblock %}