templates/default_light/summary.html
{% extends "base.html" %}
{% block tab_summary_selected -%}selected{% endblock -%}
{% block content %}
Documentation:
{% if readme and readme.id in file_ids -%}
{{readme.name | default(value="[none]")}}
{% else -%}
{{readme.name | default(value="[none]")}}
{% endif -%}
Website:
{% if metadata.website -%}
{{metadata.website | default(value="[none]")}}
{% else -%}
{{metadata.website | default(value="[none]")}}
{% endif-%}
Clone URL:
{{metadata.clone | default(value="[none]")}}
Recent history
Commit
Message
Author
Date
Diff
Refs
{% for entry in history -%}
{% if loop.index0 < 10 -%}
{% if entry.full_hash in commit_ids -%} {{entry.short_hash}} {% else -%}{{entry.short_hash}}{% endif -%}
{{entry.summary}}
{{entry.author.name}}
{{ts_to_date(ts=entry.ts_utc, tz=entry.ts_offset)}}
{% if entry.stats -%}{{entry.stats.files}} (+{{entry.stats.additions}}/-{{entry.stats.deletions}}){% endif -%}
{%- for ref in entry.alt_refs -%}{%- if loop.index0 < 3 -%} {{ref}} {%- endif -%}{%- endfor -%}{% if entry.alt_refs | length > 3 -%} ... {% endif -%}
{% endif -%}
{% endfor -%}
Recent branches
Branch
Commit
Message
Author
Date
{% for entry in branches | sort(attribute="ts_utc") | reverse -%}
{% if loop.index0 < 10 -%}
{{entry.ref_name}}
{{entry.short_hash}}
{{entry.summary}}
{{entry.author.name}}
{{ts_to_date(ts=entry.ts_utc, tz=entry.ts_offset)}}
{% endif -%}
{% endfor -%}
Recent tags
Tag
Commit
Message
Author
Date
{% for entry in tags | sort(attribute="ts_utc") | reverse -%}
{% if loop.index0 < 10 -%}
{{entry.ref_name}}
{{entry.short_hash}}
{{entry.summary}}
{{entry.author.name}}
{{ts_to_date(ts=entry.ts_utc, tz=entry.ts_offset)}}
{% endif -%}
{% endfor -%}
File tree
File
Type
Mode
Size
{% for file in root_files -%}
{% if file.kind == "dir" -%}
{% set file_name = file.name ~ "/" -%}
{% else -%}
{% set file_name = file.name -%}
{% endif -%}
{% if file.id in file_ids -%} {{file_name}} {% else -%}{{file_name}}{% endif -%}
{{file.kind}}
{{file.mode | mask(mask="0xfff") | oct}}
{{file.size}}
{% endfor -%}
{% endblock content %}