{{ config["NOTEBOOK_NAME"] }} lab notebook

Created on: {{ create_date }}

Author: {{ config["LAB_AUTHOR"] or "" }}

{% set ns = namespace(last_date = None) %}
{% for commit in commits %} {% if commit['date'] != ns.last_date %}

{{ commit.get('date') }}

{% set ns.last_date = commit.get('date') %} {% endif %}

{% for tag in commit.tags %}{{ tag }} {% endfor %}{{ commit.title }}

{{ commit.get('message') }}

Author: {{ commit.get('author') }}

sha: {% if remote_url %}{{ commit.short_sha }}{% else %}{{ commit.short_sha }}{% endif %}

{% if config.get('SHOW_ANALYSIS_FILES', True) == False %} {% elif commit.get('analysis_files')|length == 0 %}
Analysis file/s: none
{% else %}
Analysis file/s:
    {% for analysis_file in commit.analysis_files %} {% if link %}
  • {{ analysis_file.path }}{% if analysis_file.changed_later %} (changed in a later commit{% if remote_url %}, version of this commit{% endif %}){% endif %}
  • {% else %}
  • {{ analysis_file.path }}
  • {% endif %} {% endfor %}
{% endif %} {% if link and commit.images %}
{% for image in commit.images %} {{ image.path }} {% endfor %}
{% endif %}
Changed files:
    {% for changed_file in commit.changed_files %}
  • {{ changed_file.status }} {% if changed_file.old_path %}{{ changed_file.old_path }} → {% endif %}{{ changed_file.path }}
  • {% endfor %}
{% endfor %}